I having problems building a fortran cross compiler. I've tried several different versions, configuration, etc. and I'm not having any luck. Most want to know what my procedure is before they can diagnose my problem so I'll just go though the procees. First I download gcc-2.95.3 and binutils02.14 and make an empty target directory all in the same level for this it will be /opt/src/xcomp/. Next I configure the binutilites with the following configuration typing: configure --host=sparc-sun-solaris2.9 --target=powerpc-wrs-vxworks --with-headers=/opt/wind/target/h --with-libs=/opt/wind/target/lib --prefix=/opt/src/xcomp/target --enable-threads=vxworks After its configures I edit /opt/src/xcomp/binutils-2.14/gas/as.c adding line 38 37 #define COMMON 38 #define BFD_VERSION_STRING "2.14" 39 40 #include "as.h" I type 'make' and then 'make install'. And it install the assembler, loader, etc. Then I 'cd' to /opt/src/xcomp/gcc-2.95.3 to configure the gcc. (I chose not to create a build directory because I get the same results and felt I might as well leave it all in the same directory) For the gcc configuration I give the following command at the prompt. /opt/src/xcomp/gcc-2.95.3> configure --host=sparc-sun-solaris2.9 --target=powerpc-wrs-vxworks --with-headers=/opt/wind/target/h --with-libs=/opt/wind/target/lib --prefix=/opt/src/xcomp/target --enable-threads=vxworks --enable-languages=f77 When the configure finishes I edit the Makefile to such that its add a flag to the CFLAGS. CFLAGS = -g 02 -DCPU=PPC604 Then I type ?make? and it begins to build. After its stop I then type ?make install? and it finishes but I believed stopped in the middle. I scroll up and find a message that: checking for a BSD compatible install? ../../install-sh ?c checking whether make sets ${MAKE}? yes checking how to run C preprocessor? /opt/src/gcc-2.95.3/gcc/xgcc ?B/usr/include/sys/ -B/opt/src/xcomp/gcc-2.95.3/gcc/ -B/opt/src/xcomp/target/powerpc-wrs-vxworks/bin/ -E checking for stdio.h? no configure: error: Can?t find stdio.h. You mus have a usable C system for the target already installed, at least including headers and, preferably, the library, before you can configure the G77 runtime system. If necessary install gcc now with ?LANGUAGES=c? then the target library, then build with ?LANGUAGES=f77?. I?ve tried configuring with out enabling f77 and it seems the C will not install. I ?cd? to /gcc/ and try to ?make install? there. It seems to build ok but I don?t know if it installed fine?so I do a ?make ?n install LANGUAGES =c?. I receive the following set of errors: make[2]: Entering directory ?/opt/src/xcomp/gcc-2.95.3/gcc? ./xgcc ?B/ opt/src/xcomp/target/powerpc-wrs-vxworks/bin/ -B./ -I/ opt/src/xcomp/target/powerpc-wrs-vxworks/include ?DCROSS_COMPILE ?DHAIFA ?DSVR4 ?g ?I./include ?I. ?I. ?I./config ?I./../include ?mrelocatable-lib ?mno-eabi ?mstrict-align ?c ecrti.S ?o tecrit.o make[2]: Leaving directory ?/opt/src/xcomp/gcc-2.95.3/gcc? mv: cannot access tecrti.o make[2]: Entering directory ?/opt/src/xcomp/gcc-2.95.3/gcc? ./xgcc ?B/ opt/src/xcomp/target/powerpc-wrs-vxworks/bin/ -B./ -I/ opt/src/xcomp/target/powerpc-wrs-vxworks/include ?DCROSS_COMPILE ?DHAIFA ?DSVR4 ?g ?I./include ?I. ?I. ?I./config ?I./../include ?mrelocatable-lib ?mno-eabi ?mstrict-align ?c ecrti.S ?o tecrit.o make[2]: Leaving directory ?/opt/src/xcomp/gcc-2.95.3/gcc? mv: cannot access tecrti.o make[2]: Entering directory ?/opt/src/xcomp/gcc-2.95.3/gcc? ./xgcc ?B/ opt/src/xcomp/target/powerpc-wrs-vxworks/bin/ -B./ -I/ opt/src/xcomp/target/powerpc-wrs-vxworks/include ?DCROSS_COMPILE ?DHAIFA ?DSVR4 ?g ?I./include ?I. ?I. ?I./config ?I./../include ?mrelocatable-lib ?mno-eabi ?mstrict-align ?c ecrti.S ?o tecrit.o make[2]: Leaving directory ?/opt/src/xcomp/gcc-2.95.3/gcc? mv: cannot access tecrti.o make[2]: Entering directory ?/opt/src/xcomp/gcc-2.95.3/gcc? ./xgcc ?B/ opt/src/xcomp/target/powerpc-wrs-vxworks/bin/ -B./ -I/ opt/src/xcomp/target/powerpc-wrs-vxworks/include ?DCROSS_COMPILE ?DHAIFA ?DSVR4 ?g ?I./include ?I. ?I. ?I./config ?I./../include ?mrelocatable-lib ?mno-eabi ?mstrict-align ?c ecrti.S ?o tecrit.o make[2]: Leaving directory ?/opt/src/xcomp/gcc-2.95.3/gcc? mv: cannot access tecrti.o make[1]: *** [stmp-multilib-sub] Error2 make[1]: Leaving directory ?/opt/src/xcomp/gcc-2.95.3/gcc? make: *** [stmp-multilib] Error 1 I think if I can get past this I may be able to accomplish building the Fortran cross compiler. Anyone have any Ideas? Regards, Aaron Chiles WR-ALC/MASFE Bldg 227 478.926.1370 / DSN 468.1370 Aaron.Chiles@xxxxxxxxxxxxx Psalms 143 ~ 10 Teach me to do thy will; for thou art my God: thy spirit is good; lead me into the land of uprightness. 11 Quicken me, O LORD, for the name's sake: for thy righteousness' sake bring my soul out of trouble.