From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Semenchenko To: help-gcc@gnu.org Subject: Installing gcc as a cross compiler Date: Wed, 17 Nov 1999 20:31:00 -0000 Message-id: <38337F7E.F4527351@usa.net> X-SW-Source: 1999-11/msg00269.html Hello ! I need to build the GNU cross compiler and cross linker: host: i586-pc-linux target: alpha-dec-osf I was using sources: gcc: gcc-2.95.2 binutils: binutils-2.9.1 When configuring 'binutils' I get the message that 'as' and 'ld' are incompatible with specified configuration. These programs were not built. When building 'gcc' I got the linker error: toplev.o (.text+0x1d6a): Undefined reference to ASM_FILE_START I shall greatly appreciate receiving answers on following questions: - does anyone succeeded in doing this ? - what I was doing wrong ? - where can I get some specific information on 'gcc' as a cross-compiler ? Can I find anywhere in the net the list of cross-configurations succesfully installed ? - are 'configure' options --with-as=/path/to/assembler and --with-ld= /path/to/ld obligatory ? - can I build the GNU cross compiler, assembler and linker without system include files from DEC Alpha present in my computer ? In other way: is 'configure' option --with-headers=dir obligatory ? - can I build the GNU cross compiler, assembler and linker without target runtime libraries present in my computer ? In other way: is 'configure' option --with-libs=dir obligatory ? Thank you for any comments. Yours, Michael. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Semenchenko To: help-gcc@gnu.org Subject: Installing gcc as a cross compiler Date: Tue, 30 Nov 1999 23:28:00 -0000 Message-ID: <38337F7E.F4527351@usa.net> X-SW-Source: 1999-11n/msg00269.html Message-ID: <19991130232800.4R4if4eipPxza6GFx5LJvwr5XxRnsI-Ih99fHtZbFBM@z> Hello ! I need to build the GNU cross compiler and cross linker: host: i586-pc-linux target: alpha-dec-osf I was using sources: gcc: gcc-2.95.2 binutils: binutils-2.9.1 When configuring 'binutils' I get the message that 'as' and 'ld' are incompatible with specified configuration. These programs were not built. When building 'gcc' I got the linker error: toplev.o (.text+0x1d6a): Undefined reference to ASM_FILE_START I shall greatly appreciate receiving answers on following questions: - does anyone succeeded in doing this ? - what I was doing wrong ? - where can I get some specific information on 'gcc' as a cross-compiler ? Can I find anywhere in the net the list of cross-configurations succesfully installed ? - are 'configure' options --with-as=/path/to/assembler and --with-ld= /path/to/ld obligatory ? - can I build the GNU cross compiler, assembler and linker without system include files from DEC Alpha present in my computer ? In other way: is 'configure' option --with-headers=dir obligatory ? - can I build the GNU cross compiler, assembler and linker without target runtime libraries present in my computer ? In other way: is 'configure' option --with-libs=dir obligatory ? Thank you for any comments. Yours, Michael.