百问网Linux技术区调试工具(Eclipse+OpenOCD+OpenJTAG) Eclipse的leds工程时候出现Couldn't reserve space for cygwi...

1  /  1  页   1 跳转 查看:419

Eclipse的leds工程时候出现Couldn't reserve space for cygwi...

Eclipse的leds工程时候出现Couldn't reserve space for cygwi...

我用的是openjtag.
Eclipse中我编译leds工程出错,请问是什么问题:
C:\Program Files\openocd-r717\utils\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 487
 

回复:Eclipse的leds工程时候出现Couldn't reserve space for cygwi...

我用命令也试了,结果一样,我就是用的openjtag中的leds例子源码.
 

回复:Eclipse的leds工程时候出现Couldn't reserve space for cygwi...

**** Build of configuration Default for project leds ****

make all
arm-elf-gcc -Wall -Wstrict-prototypes -g -fomit-frame-pointer -ffreestanding -c -o crt0.o crt0.S
arm-elf-gcc -Wall -Wstrict-prototypes -g -fomit-frame-pointer -ffreestanding -c -o leds.o leds.c
arm-elf-ld -Tleds.lds  crt0.o leds.o -o leds_elf
arm-elf-objcopy -O binary -S leds_elf leds.bin
arm-elf-objdump -D -m arm  leds_elf > leds.dis
AllocationBase 0x0, BaseAddress 0x71590000, RegionSize 0x480000, State 0x10000
C:\Program Files\openocd-r717\utils\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 487
make: *** [all] Error 1
 

回复:Eclipse的leds工程时候出现Couldn't reserve space for cygwi...

CFLAGS     := -Wall -Wstrict-prototypes -g -fomit-frame-pointer -ffreestanding
all : crt0.S  leds.c
    arm-elf-gcc $(CFLAGS) -c -o crt0.o crt0.S
    arm-elf-gcc $(CFLAGS) -c -o leds.o leds.c
    arm-elf-ld -Tleds.lds  crt0.o leds.o -o leds_elf
    arm-elf-objcopy -O binary -S leds_elf leds.bin
    arm-elf-objdump -D -m arm  leds_elf > leds.dis
clean:
    rm -f  leds.dis leds.bin leds_elf *.o
 

回复:Eclipse的leds工程时候出现Couldn't reserve space for cygwi...

把这行去掉试试:
arm-elf-objdump -D -m arm  leds_elf > leds.dis
 

回复:Eclipse的leds工程时候出现Couldn't reserve space for cygwi...

谢谢.照您说的编译通过了!  ^_^
 
1  /  1  页   1 跳转

地址:广东省深圳市南山区南山大道3003号久商大厦C-1406;邮编:518052;电话:0755-86200561

粤ICP备09041549号, 版权所有 百问网   Sitemap

Powered by Discuz!NT 2.0.1214    Copyright © 2001-2010 Comsenz Inc.
Processed in 0.03125 second(s) , 3 queries.
返顶部