zoukankan      html  css  js  c++  java
  • Win7下NIOS编译问题解决方法

    最近用Win7开发NIOS,发现了一些编译问题,出现了如下提示

    make -s all includes
    3 [main] ? (3732) c:\altera\90\quartus\bin\cygwin\bin\make.exe: ***fatal error - couldn't allocate heap, Win32 error487, base 0x9E0000, top 0xB30000, reserve_size 1372160, allocsize 1376256, page_const 4096
    2 [main] make 7588 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11
    make: vfork: Resource temporarily unavailable

    去网上搜了一下,有解决方法,如下

      Under your Quartus II folder, go to “bin->cygwin->bin” folder, select the following files in the list below and then right-click and choose Properties. Under the Compatibility tab, check “Run this program in compatibility mode for:” and choose “Windows XP (Service Pack 2)”. Check “Run this program as an administrator”, as well.
        Here is the list of files that you can select to change their compatibility mode under the Quartus II->bin->cygwin->bin folder:
        1. Make.exe
        2. Sh.exe
        3. Echo.exe
        4. Cygstart.exe
        5. MakeInfo.exe
        6. Perl.exe
        7. Collect2.exe (under nios2eds\bin\nios2-gnutools\ H-i686-pc-cygwin\libexec\gcc\nios2-elf\3.4.6)
        8. Nios2-elf-g++.exe (under nios2eds\bin\nios2-gnutools\ H-i686-pc-cygwin\bin)

    方法就是将上面8个.exe文件改成XP兼容模式,看来Quartus/NIOS跟WIN7配合的还不是很好,哈哈!

  • 相关阅读:
    [Project Euler] 来做欧拉项目练习题吧: 题目002(转)
    [Project Euler] 欧拉项目练习题001(转)
    Linux wc 结合cat命令统计代码行数
    mysql:主键和索引的区别
    一些常用的SQL语句
    mysql 性能优化方案
    修改mysql用户密码
    Ruby on Rails,创建开发用的MYSQL数据库
    mysql数据库中分区的概念
    Rails 数据库操作
  • 原文地址:https://www.cnblogs.com/kingst/p/1774731.html
Copyright © 2011-2022 走看看