This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cross-Compiling gcc 3.2.3 for arm-elf


Hello to you all!

I have problems building gcc 3.2.3 for target arm-elf under cygwin (2.340.2.5 
is the installer version).
I follow the steps :
1.Building binutils 2.13 with the native compiler gcc 3.2 20020927. That works 
fine.
2. I then build the "bare" compiler using make all-gcc and make install-gcc
3. The newlib runtime build is ok, finding arm-elf-BINUTILS
4. The complete build of gcc fails with an error saying
[lots of derefencing warning snipped]

../../../gcc-3.2.3/libiberty/regex.c:8296: dereferencing pointer to incomplete 
type
../../../gcc-3.2.3/libiberty/regex.c: At top level:
../../../gcc-3.2.3/libiberty/regex.c:7959: storage size of `re_comp_buf' isn't 
known
make[1]: *** [regex.o] Error 1
make[1]: Leaving directory `/cygdrive/c/GNU/build-gcc/arm-elf/libiberty'

I also modified the source to correct the __mempcpy bug mentioned here (bare 
build wouldn't work otherwise) :
http://gcc.gnu.org/ml/gcc/2003-04/msg00538.html

It seems that some people already experienced this pb with gcc 3.2 but I 
coulnd't find any replies to their questions...

Thanks a lot for your help.

Vincent

PS: what are the difference btw make all-gcc/make install-gcc and make (as 
described in the FAQ)?

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]