This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[ghudson@MIT.EDU: Re: -Xlinker and LDFLAGS]

Would it be feasible to make gcc understand the linker -R argument for
GNU/Linux?  It looks like that would be useful.

------- Start of forwarded message -------
To: Dave Love <>
Subject: Re: -Xlinker and LDFLAGS
In-Reply-To: Your message of "11 Jan 2001 00:16:10 GMT."
From: Greg Hudson <ghudson@MIT.EDU>
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <>
List-Post: <>
List-Subscribe: <>,
List-Id: Bug reports for GNU Emacs,
	the Swiss army knife of text editors <>
List-Archive: <>
Date: Wed, 10 Jan 2001 19:24:55 -0500
Content-Type: text
Content-Length: 755

>> 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
	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.)

Bug-gnu-emacs mailing list
------- End of forwarded message -------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]