[Top][All Lists]

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

Re: -Xlinker and LDFLAGS

From: Dave Love
Subject: Re: -Xlinker and LDFLAGS
Date: 11 Jan 2001 22:53:53 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.95

>>>>> "GH" == Greg Hudson <address@hidden> writes:

 >> Why do you need the -Wl in practice?

 GH>    egyptian-gods% rpm -q redhat-release
 GH>    redhat-release-6.2-1
 GH>    egyptian-gods% touch foo.c
 GH>    egyptian-gods% cc -c foo.c
 GH>    egyptian-gods% cc -R/tmp foo.o
 GH>    cc: unrecognized option `-R/tmp'
 GH>    egyptian-gods% cc -v
 GH>    Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
 GH>    gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

 GH> (gcc 2.95 19990728 also doesn't seem to understand -R.)

But if you omit -Wl, it will Just Work as far as I can tell.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]