This is the mail archive of the gcc@gcc.gnu.org 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 <d.love@dl.ac.uk>
cc: bug-gnu-emacs@gnu.org
Subject: Re: -Xlinker and LDFLAGS
In-Reply-To: Your message of "11 Jan 2001 00:16:10 GMT."
             <rzqofxfj645.fsf@djlvig.dl.ac.uk> 
From: Greg Hudson <ghudson@MIT.EDU>
Sender: bug-gnu-emacs-admin@gnu.org
X-BeenThere: bug-gnu-emacs@gnu.org
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
List-Id: Bug reports for GNU Emacs,
	the Swiss army knife of text editors <bug-gnu-emacs.gnu.org>
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-gnu-emacs/>
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
	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.)

_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs
------- End of forwarded message -------

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