From: Greg Ungerer (gerg@moreton.com.au)
Date: Sat Jan 20 2001 - 03:43:11 EST
Hi All, Tom Walsh wrote: > Andrew Kohlsmith wrote: > > I decided I was too anxious to wait... I reconfigured binutils to use > > standard prefixes and installed. Then I built gcc. according to the > > directions you outlined with the exception that I only built the C compiler > > (no objc or c++, the c++ compile gives errors trying to compile the streams > > class). > > > > After fixing one problem it worked! (I think) > > > > I had to create a symlink in /usr/local/m68k-elf/sys-include: > > # ln -s /opt/uClinux/linux/include/asm-m68k asm-m68k > > > > or else the build would fail because it couldn't find > > asm-m68k/posix-types.h. (asm/posix-types.h just says to include > > asm-m68k/posix-types.h) > > > > After that change it compiles but with a lot of __FD_* redefinition warnings > > (__FD_ISSET, __FD_SET, __FD_CLR, __FD_ZERO, etc.). I installed it and all > > seems okay. > > > > I must execute /opt/uClinux/gcc-2.95.2/m68k-elf/gcc/xgcc since my system > > compiler is of a different version (2.91.66) and looks for its own version > > of the cross compiler (which it obviously doesn't find) but using that I can > > Nope, nope, nope! I avoided this problem by symlinkings > /usr/local/bin/m68k-elf-gcc to /usr/bin. There should not be any > confusion between compiliers as the names are different. I have four > different compilers on my linux box: gcc, arm-gcc, m68k-pic-coff-gcc, > and m68k-elf-gcc ... no problems. Why don't you have /usr/local/bin in your PATH? Most GNU packages tend to install there by default (if not included in your distribution that is). My /usr/local/bin is bigger than most of my standard bin directories! > Just a suggestion, don't try to "out-think" the system, wait until you > get a problem, then fix it? :-) Wise words to live by :-) Regards Greg ------------------------------------------------------------------------ Greg Ungerer -- Chief Software Wizard EMAIL: gerg@lineo.com Lineo (Integrated Products Group) PHONE: +61 7 3279 1822 825 Stanley St, FAX: +61 7 3279 1820 Woolloogabba, QLD, 4102, Australia WEB: www.lineo.com This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/
This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:26 EDT