I'm trying to compile gcc v3.3.2 statically. I called configure like the following :
configure --prefix=/work/occs/codesign/sfw/gnu/gcc/v3.3.2/shared/ --with-local-prefix=/opt/sfw/ --enable-shared --enable-threads --with-gnu-as=/opt/sfw/bin
I executed make bootstrap and I got the following errors :
mkdir libgcc
mkdir sparcv9
mkdir libgcc/sparcv9
../../gcc-3.3.2/gcc/libgcc2.c: In function `__enable_execute_stack':
../../gcc-3.3.2/gcc/libgcc2.c:1746: warning: implicit declaration of function `mprotect'
../../gcc-3.3.2/gcc/unwind-dw2.c: In function `uw_install_context_1':
../../gcc-3.3.2/gcc/unwind-dw2.c:1222: warning: missing braces around initializer
../../gcc-3.3.2/gcc/unwind-dw2.c:1222: warning: (near initialization for `once_regsizes.__pthread_once_pad')
../../gcc-3.3.2/gcc/unwind-pe.h:61: warning: `size_of_encoded_value' defined but not used
../../gcc-3.3.2/gcc/libgcc2.c: In function `__enable_execute_stack':
../../gcc-3.3.2/gcc/libgcc2.c:1746: warning: implicit declaration of function `mprotect'
../../gcc-3.3.2/gcc/unwind-dw2.c: In function `uw_install_context_1':
../../gcc-3.3.2/gcc/unwind-dw2.c:1222: warning: missing braces around initializer
../../gcc-3.3.2/gcc/unwind-dw2.c:1222: warning: (near initialization for `once_regsizes.__pthread_once_pad')
../../gcc-3.3.2/gcc/unwind-pe.h:61: warning: `size_of_encoded_value' defined but not used
mv: cannot access s-crt0
mv: cannot access crt1.o
mv: cannot access crti.o
mv: cannot access crtn.o
mv: cannot access gcrt1.o
mv: cannot access gmon.o
mv: cannot access crtbegin.o
mv: cannot access crtend.o
mv: cannot access crtfastmath.o
mv: cannot access gcc-cross
mv: cannot access cc1obj
mv: cannot access protoize
mv: cannot access unprotoize
mv: cannot access collect2
mv: cannot access gcov
mv: cannot access *.[0-9][0-9].*
mv: cannot access *.[si]
mv: cannot access g++-cross
mv: cannot access cc1plus
mv: cannot access g77-cross
mv: cannot access f771
mv: cannot access jc1
mv: cannot access jvgenmain
mv: cannot access gcjh
mv: cannot access jv-scan
mv: cannot access jcf-dump
gmake[2]: [stage1-start] Error 2 (ignored)
mv: cannot access cp/*.o
gmake[2]: [c++.stage1] Error 2 (ignored)
mv: cannot access f/*.o
mv: cannot access f/fini
mv: cannot access f/stamp-str
mv: cannot access f/str-*.h
mv: cannot access f/str-*.j
mv: cannot access g77spec.o
gmake[2]: [f77.stage1] Error 2 (ignored)
mv: cannot access java/*.o
gmake[2]: [java.stage1] Error 2 (ignored)
mv: cannot access objc/*.o
gmake[2]: [objc.stage1] Error 2 (ignored)
mv: cannot access cc1obj
gmake[2]: [objc.stage1] Error 2 (ignored)
I'm working on a NFS net, is it the problem? how can I solve it please?
Thanks a lot Cheers
-- ----------------------------------------- Nizar ROMDHANE System Level Design Engineer SLD Team Leader - OCCS - CMG Design - CMG STMicroelectronics Tunis Cite Technologique des communications - Elghazala - 2088 - Ariana - TUNISIA phone: +216 71 857 750 (office 131) mobile: +216 97 431 708 fax: +216 71 857 525 e-mail: nizar.romdhane@xxxxxx nizar_romdane@xxxxxxxx web: http://www.st.com -----------------------------------------