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] |
../../../gcc-20030331/libiberty/hashtab.c:204: error: `free' undeclared ...
Look at the hashtab.c part of the patch in:
http://gcc.gnu.org/ml/gcc-patches/2003-04/msg00726.html
I ran into this for m68k-elf, and this patch worked for me.
Digging around a bit more, the problem seems to be that gcc-3.3 generates 'fixed' includes in build-gcc/gcc/include, but gcc-3.2.3 doesn't. These include files interfere with the build (at least the way Bill's scripts are configured -- perhaps something needs to change there). In fact, if you remove build-gcc/gcc/include/stdlib.h, then rerun 'make all install' in build-gcc, xgcc finds the correct stdlib.h, and the build succeeds (or at least runs well past that problem - it's still running here).
Anyone have any idea why gcc-3.3 is fixing includes more vigorously? - Dan
-- Dan Kegel http://www.kegel.com http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045
------ 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] |