Problems on arm-elf-gcc version 4.1.0/4.1.1

Hello everybody,

i’m compiling a source code with 3 different arm-elf-gcc.exe compiler and i’m receiving a strange error:

D:\DOCUME~1\qqqq\IMPOST~1\Temp/ccMraaaa.s: Assembler messages:

D:\DOCUME~1\qqqq\IMPOST~1\Temp/ccMraaaa.s:650: Error: can’t resolve main' {.text section} - main’ {.text section}

make: *** [src/main.o] Error 1

ver.4.1.0, cygwin needed, from GNUArm, no error

ver.4.1.1, cygwin needed, from GNUArm, error !

ver.4.1.1, cygwin NO needed, from Yagarto, error !

Is there any problem in version 4.1.1 ?

Could you please try with our sdk4arm GAT module including ver 4.1.0 CYGWIN NO needed from

http://www2.amontec.com/sdk4arm/win32/a … 29-rc1.exe

Here is the content of the amontec-sdk4arm-gat-20060729-rc1.exe :

http://www2.amontec.com/sdk4arm/win32/a … 29-rc1.pdf

We already saw some difficulties with the 4.1.1. For us, the ver4.1.0 is more stable. This is why we are waiting for updating to 4.1.x.

Regards,

Laurent

Solved !!

I solved my problems: i took other project and that was compilable without problems.

So i compare Makefiles: i discovered a little number of differences but the most important one is the -g option that, in the good project was equal to ‘dwarf-2’, on the bad project ‘stabs’.

I think there should be some differences for 4.1.1 version of arm-elf-gcc …

Now i can compile with both 4.1.0 and 4.1.1

Thanks !