> At 01:28 PM 3/1/99 -0800, Jordan K. Hubbard wrote: > >It really does appear to be a simple matter of first making egcs "take over" > >the system compiler: > > > ># cd /usr/ports/lang/egcs > ># make all install PREFIX=/usr > ># ln -fs /usr/bin/eg++ /usr/bin/c++ > ># ln -fs /usr/bin/egcc /usr/bin/cc > ># cd /usr/src > >remove cc from /usr/src/gnu/usr.bin/Makefile SUBDIR list > >remove libstdc++ and libobjc from /usr/src/gnu/lib/Makefile SUBDIR list
Although this approach works, IMHO, the more appropriate approach would be to use "${CC}" rather than "cc" in ALL the makefiles and then define "CC=/usr/bin/egcc" To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message