This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more infromation.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Thanks for the answer, William, Do you mean I need to install newlib before I compile the cross-gcc, or I just simply use the include files from newlib? In CrossGCC FAQ is says the order should be: binutils-gcc-newlib-gdb. William Gatliff wrote: > Jiu: > > Had the same exact problem the other day... turned out to be a typo on my part. > Here's what works for me: > > tar xzvf egcs-1_1_2.tar.gz > tar xzvf newlib-1_8_1.tar.gz > cd egcs-1.1.2 > rm -rf libf2c > ln -s ../newlib-1.8.1/newlib newlib > configure --target=sh-hitachi-hms --with-newlib > --with-headers=<...>/newlib-1.8.1/newlib/libc/include > > I was linking the wrong newlib directory into the egcs tree (I had left out the > "/newlib"), which causes the newlib build to silently fail. This prevents > creation of runtime libraries, which makes xgcc fail for reasons totally > unrelated to liberty... > > I haven't gotten the sh-hms target to build, but sh-hitachi-hms works like a > champ. > > b.g. > > Jiu Zheng wrote: > > > Has anybody built a cross gcc (egcs-1.1.2) for SH3? I am compiling in > > RedHat6.0 environment but got an error saying: > > > > configure: error: installation or configuration problem: C compiler > > cannot create executables. > > make: *** [configure-target-libiberty] Error 1 > > > > Anyone can help? > > > > TIA, > > -- > > Jiu Zheng > > Foresyte Technologies, Inc. > > 9672 Via Excenlencia, Suite 201 > > San Diego, CA 92126 > > (858)530-2881 (Work) > > (858)689-1263 (Home) > > > > ------ > > Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ > > Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com > > -- > William A. Gatliff > Senior Design Engineer > Komatsu Mining Systems > To teach is to learn. > > ------ > Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ > Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com -- Jiu Zheng Foresyte Technologies, Inc. 9672 Via Excenlencia, Suite 201 San Diego, CA 92126 (858)530-2881 (Work) (858)689-1263 (Home) ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |