Thanks for reply.
I already built and installed GNU binutils 2.17. Should I try the latest or a little bit old version?
Main Topics
Browse All TopicsI'd like to install GCC 4.3.3 on a SGI IRIX 6.5 box.
First, I got compiled GCC 3.2.2 from the SGI freeware homepage, and installed it.
Then, I configured GCC 4.3.3 with following options
../gcc-4.3.3/configure --prefix=/usr/local/gcc43 \
--with-mpfr=/usr/local/mpf
--with-gmp=/usr/local/gmp-
--enable-languages=c,c++,f
--enable-multilib \
--enable-shared \
--enable-threads=posix \
--enable-libgcj \
--disable-nls \
--with-pkgversion=AutoBuil
--enable-checking=release \
--with-gnu-as --with-as=/usr/local/binut
--with-gnu-ld --with-ld=/usr/local/binut
After that, I issued the command "gmake bootstrap" to compile it.
It spends 10 minutes or so compiling, then bombs out with:
gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
/../gcc-4.3.3/gcc -I../../gcc-4.3.3/gcc/buil
2/include -I../../gcc-4.3.3/gcc/../l
gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
/../gcc-4.3.3/gcc -I../../gcc-4.3.3/gcc/buil
2/include -I../../gcc-4.3.3/gcc/../l
gcc -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
r \
build/fix-header.o c-incpath.o cppdefault.o build/scan-decls.o prefix.o \
build/scan.o build/errors.o ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumb
ld32: WARNING 84 : ../libdecnumber/libdecnumb
if [ -f fixhdr.ready ] ; then \
true; \
else \
echo timestamp > fixhdr.ready; \
fi
set -e; for ml in `cat fixinc_list`; do \
sysroot_headers_suffix=`ec
multi_dir=`echo ${ml} | sed -e 's/^[^;]*;//'`; \
fix_dir=include-fixed${mul
if [ -f ${fix_dir}/fixed ] ; then true; \
else \
: This line works around a 'make' bug in BSDI 1.1.; \
FIXPROTO_DEFINES="-D__EXTE
FIX_HEADER="build/fix-head
mkinstalldirs="/bin/sh ../../gcc-4.3.3/gcc/../mki
export mkinstalldirs; \
if [ -d "`echo /usr/include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`" ]; then \
/bin/sh ../../gcc-4.3.3/gcc/fixpro
if [ $? -eq 0 ] ; then true ; else exit 1 ; fi ; \
else true; fi; \
echo timestamp > ${fix_dir}/fixed; \
fi; \
done
fixproto: populating `include-fixed'
Internal error: No prototype for clearerr
Internal error: No prototype for fclose
Internal error: No prototype for feof
Internal error: No prototype for ferror
Internal error: No prototype for fflush
Internal error: No prototype for fgetc
...........
...........
checking for mips-sgi-irix6.5-gcc... /home/root/gcc-build/./gcc
irix6.5/lib/ -isystem /usr/local/gcc43/mips-sgi-
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
gmake[2]: *** [configure-stage1-target-l
gmake[2]: Leaving directory `/home/root/gcc-build'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/home/root/gcc-build'
gmake: *** [bootstrap] Error 2
So I am not sure what to do. Any suggestions are appreciated.
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Config.log located in several sub directories. There are 4 log files in the attachment.
Config.log is located in gcc_build
gcc_config.log is located in gcc_build/gcc
libcpp_config.log is located in gcc_build/libcpp
mips-sgi-irix6.5_libgcc_co
Thanks for your time
Thanks for your time.
It can get stage 2. But there are errors still.
: libbackend.a
/home/root/gcc-build/./pre
main.o libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumb
c-common.o: In function `exact_log2':
../../gcc-4.3.3/gcc/toplev
libbackend.a(ggc-page.o): In function `ggc_alloc_stat':
../../gcc-4.3.3/gcc/ggc-pa
libbackend.a(ggc-page.o): In function `exact_log2':
../../gcc-4.3.3/gcc/toplev
I googled it, found a clue http://www.archivum.info/g
PS, I tried to compile it without "--enable-shared" option, still got the same error.
Could you kindly give me a further comments
Thanks
You are missing development headers:
http://freeware.sgi.com/In
Actually somebody already compiled GCC for you: http://www.mechanics.citg.
Business Accounts
Answer for Membership
by: gheistPosted on 2009-03-04 at 14:21:31ID: 23800430
You have to build "binutils" first. Yours seem to old or incompatible with your IRIX