This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi, I have asked a few questions here before, thanks very much for your help, but I'm still having problems. I have a Sun Sparc with RedHat 6.2 mounted on /mnt/arthur (nfs) on an i686 with RedHat 6.2 (both with all updates). I have unpacked, configured, built and installed binutils 2.10.1 with target=sparc-sun-linux-gnu and have the path to the installed binaries in my path. gcc-2.95.2 has been unpacked into /export/usr/sources and I am running the configure in /export/usr/build-gcc. I have copied the libraries and includes to my local machine over nfs with the following. cp -Rvf /mnt/arthur/usr/lib/* /export/sources/sparc-linux-libs cp -Rvf /mnt/arthur/usr/include/* /export/sources/sparc-linux-includes I did it this way as just pointing the configure script at /mnt/arthur/usr/include resultd in sim links being copied (I guess the configure scripts use tar instead of cp), meaning the files were not locatable due to the links being broken. I then issue the following commands. cd /export/usr/build-gcc ../gcc-2.95.2/configure --target=sparc-sun-linux-gnu \ --with-headers=/export/sources/sparc-linux-headers/ \ --with-libs=/export/sources/sparc-linux-libs/ \ --prefix=/export/usr --with-gnu-as --with-gnu-ld Everything appears to work fine, but during the make I get the following error... In file included from /export/usr/lib/gcc-lib/sparc-sun-linux-gnu/2.95.2/../../../../sparc-sun-linux-gnu/sys-include/bits/errno.h:25, from /export/usr/lib/gcc-lib/sparc-sun-linux-gnu/2.95.2/../../../../sparc-sun-linux-gnu/sys-include/errno.h:36, from ../../../gcc-2.95.2/libiberty/fnmatch.c:46: /export/usr/lib/gcc-lib/sparc-sun-linux-gnu/2.95.2/../../../../sparc-sun-linux-gnu/sys-include/linux/errno.h:4: asm/errno.h: No such file or directory make[1]: *** [fnmatch.o] Error 1 make[1]: Leaving directory `/export/sources/build-gcc/sparc-sun-linux-gnu/libiberty' make: *** [all-target-libiberty] Error 2 Looking in the directory /mnt/arthur/usr/include (where the includes were copied from) the asm directory is empty, but the asm-sparc and asm-sparc64 directories point to ../src/linux/include/asm-sparc, is this right? I am quite new at building gcc (especially as a cross compiler), but I have been using it for some time. Is there anything bovious that I'm doing wrong/missing? Is this a problem with the instaled files? thanks in advance for any help. Dan. -- ===================================================================== Dan Alderman Software Engineer OneEighty Software Ltd. OneEighty Software Ltd. Phone: +44 20 8263 2333 The Lansdowne Building Fax: +44 20 8263 6314 2 Lansdowne Road Croydon Email: d.alderman@180sw.com CR9 2ER UK Under the Regulation of Investigatory Powers (RIP) Act 2000 together with any and all Regulations in force pursuant to the Act One Eighty Software Ltd reserves the right to monitor any or all incoming or outgoing communications as provided for under the Act. ------ 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] |