This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Luis Villa wrote: > What I'm trying to do is build egcs-1.1.2 to compile to a hitachi h8300 > target from a linux(i586) host. > I've compiled the latest binutils with no problem (using the proper > --target and --prefix commands) but am having problems with egcs. > Following the instructions at > http://www.zanshinsys.com/linux-h8300/linuxgcc-h8300-HOWTO.txt, > (ignoring the newlib issues, as that is an experiment I'll only try > later...) yielded what appears to be a serious problem: So you haven't a C-library yet? > While doing a "make cross LANGUAGES "c c++", I got this message: > --- > checking whether the C compiler > (/home/louie/projects/legos/tars/build-egcs/gcc/xgcc > -B/home/louie/projects/legos/tars/build-egcs/gcc/ -g -Os ) works... no > configure: error: installation or configuration problem: C compiler > cannot create executables. A question : What one needs for making executables? (This should have been told in every C-language course...) A hint: Having the compiler, assembler and linker is not enough, something else is also needed... Ok, it is the C-library (libc.a) with the startup routine (crt0.o) and perhaps yet something else. No library and startup files -- no executables... > So- does anyone here have any clue as to what the problem is? Is it more > serious than it appears? Most importantly, is there a way to fix it? Just build newlib, install it, and continue with egcs to build 'libiberty.a' and 'libstdc++.a' (you must fix configure to get this)... Or be happy after getting the C-library and try GDB with its h8300-simulator next... The GNU libstdc++ can be too big for even the H8/300H and H8S variants, and the egcs build don't even try to build it... Cheers, Kai PS. Has somebody looked at the H8/300 changes in the egcs-snapshots? I checked the diffs between the current snapshots and the egcs-1.1.2 release, and found even a plain vanilla typo in the egcs-1.1.2 sources (a '&' instead of '&&') fixed... _______________________________________________ New CrossGCC FAQ: http://www.objsw.com/CrossGCC _______________________________________________ To remove yourself from the crossgcc list, send mail to crossgcc-request@cygnus.com with the text 'unsubscribe' (without the quotes) in the body of the message.