EmbeddedRelated.com
Forums

gcc under uVision (Keil)

Started by "davidj.vpac" September 13, 2007
Trying to build a very basic LPC2119 project in UVision having set it
up for gcc compilation. When it compiles/links I get output such as :
=============Build target 'Target 1'
assembling Startup.s...
compiling main.c...
C:\Cygnus\Arm-Tools\Bin\arm-uclibc-gcc.exe: *** heap allocated but
not at 0x7A0000
3 [main] arm-uclibc-gcc 1996 sync_with_child: child 4880(0x140)
died before initialization with status code 0x1
33488 [main] arm-uclibc-gcc 1996 sync_with_child: *** child state
waiting for longjmp
C:\Cygnus\Arm-Tools\Bin\arm-uclibc-gcc.exe: *** heap allocated but
not at 0x7A0000
1128950 [main] arm-uclibc-gcc 1996 sync_with_child: child 680(0x148)
died before initialization with status code 0x1
1155857 [main] arm-uclibc-gcc 1996 sync_with_child: *** child state
waiting for longjmp
C:\Cygnus\Arm-Tools\Bin\arm-uclibc-gcc.exe: *** heap allocated but
not at 0x7A0000
3267270 [main] arm-uclibc-gcc 1996 sync_with_child: child 5408(0x158)
died before initialization with status code 0x1
3311604 [main] arm-uclibc-gcc 1996 sync_with_child: *** child state
waiting for longjmp
C:\Cygnus\Arm-Tools\Bin\arm-uclibc-gcc.exe: *** heap allocated but
not at 0x7A0000
7420887 [main] arm-uclibc-gcc 1996 sync_with_child: child 2388(0x170)
died before initialization with status code 0x1
7456438 [main] arm-uclibc-gcc 1996 sync_with_child: *** child state
waiting for longjmp
arm-uclibc-gcc: fork: Resource temporarily unavailable
linking...
c:\Cygnus\Arm-Tools\lib\gcc-lib\arm-thumb-elf\3.3.1\collect2.exe: ***
heap allocated but not at 0x970000
3 [main] collect2 4080 sync_with_child: child 5892(0x15C) died
before initialization with status code 0x1
37670 [main] collect2 4080 sync_with_child: *** child state waiting
for longjmp
c:\Cygnus\Arm-Tools\lib\gcc-lib\arm-thumb-elf\3.3.1\collect2.exe: ***
heap allocated but not at 0x970000
=============
Any ideas?
Have set prefix to arm-uclibc-

Sometimes it complets and produces the hex file, other time not.

Thx

An Engineer's Guide to the LPC2100 Series

It might be a Windows Vista thing.

Looking at the output it appears that it's the compiler/linking apps that
are having the problem.

Eg Forking

Could be how I've got it all configured.??

I tried it again on Windows XP (fresh install of gcc) and it works fine!