[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -Xlinker and LDFLAGS
From: |
Greg Hudson |
Subject: |
Re: -Xlinker and LDFLAGS |
Date: |
Wed, 10 Jan 2001 19:24:55 -0500 |
>> This means that emacs has to be treated differently from other
>> packages; for instance, you can't use an LDFLAGS value such as
>> -Wl,-R/thing/to/add/to/run/path.
> Why do you need the -Wl in practice?
egyptian-gods% rpm -q redhat-release
redhat-release-6.2-1
egyptian-gods% touch foo.c
egyptian-gods% cc -c foo.c
egyptian-gods% cc -R/tmp foo.o
cc: unrecognized option `-R/tmp'
egyptian-gods% cc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
(gcc 2.95 19990728 also doesn't seem to understand -R.)