RE: "undef. ref. to __va_copy"??



> 2) How do I use egcs? Is there some simple .configure or make 
> options that 
> can be changed to achieve that?

On my Slackware 3.6 system, both gcc and egcs were installed in /usr/bin,
which looks like this: 

MARGARITA[/usr/bin] % ls -al *gcc*
-rwxr-xr-x   1 root     bin          6508 Oct 18 23:46 g++-gcc-2.7.2.3*
lrwxrwxrwx   1 root     root           14 Mar  5 17:47 gcc ->
gcc-egcs-1.0.3*
-rwxr-xr-x   1 root     bin         52256 Oct 18 23:46 gcc-2.7.2.3*
-rwxr-xr-x   1 root     bin         59616 May 15  1998 gcc-egcs-1.0.3*
lrwxrwxrwx   1 root     root           11 Feb 15 14:49 i486-linux-gcc ->
gcc-2.7.2.3*
lrwxrwxrwx   1 root     root           14 Feb 15 14:48
i586-pc-linux-gnulibc1-gcc -> gcc-egcs-1.0.3*

So to use egcs as the default c compiler, I made gcc a symbolic link to
gcc-egcs-1.0.3.  To accomplish this I used this command (as root):

ln -sf /usr/bin/gcc-egcs-1.0.3 /usr/bin/gcc

Ned



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]