Re: XForms: Compiling gcc with libc5

Steve Lamont (spl@szechuan.ucsd.edu)
Mon, 11 Oct 99 06:08:29 PDT

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> I have a Linux system with both glibc and libc5
> kept in separate directoris. Since XForms 0.81 is
> available only in libc5 format, I can't test backward
> compatibility with glibc. This is why I desperately
> need to be able to compile in both glibc and libc5
> formats.

Why are you using XForms 0.81? That version is several years old and
is relatively buggy. Why not just upgrade?

> Since same compiler is used with glibc and libc5,
> it should be a way to tell the compiler which libraries
> are going to be used. It could be a part of gcc
> configuration file (where are you?), or a special
> command line argument (which one?).

You can determine the spec file by typing

gcc -v

and you should see something like

Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/