unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6184: cleanup: remove src/prefix-args.c
@ 2010-05-13 16:35 Dan Nicolaescu
  2010-05-19  6:10 ` Glenn Morris
  2010-07-08  3:52 ` Dan Nicolaescu
  0 siblings, 2 replies; 4+ messages in thread
From: Dan Nicolaescu @ 2010-05-13 16:35 UTC (permalink / raw)
  To: 6184


prefix-args.c is only used when compiling with gcc to pass flags to the linker using the -Xlinker syntax.
This is not necessary anymore, -Wl, can be used the same way, and the
linker flags are generated in that format anyway.
So currently prefix-args.c only complicates the build system.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#6184: cleanup: remove src/prefix-args.c
  2010-05-13 16:35 bug#6184: cleanup: remove src/prefix-args.c Dan Nicolaescu
@ 2010-05-19  6:10 ` Glenn Morris
  2010-05-19 15:24   ` Dan Nicolaescu
  2010-07-08  3:52 ` Dan Nicolaescu
  1 sibling, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2010-05-19  6:10 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: 6184

Dan Nicolaescu wrote:

> prefix-args.c is only used when compiling with gcc to pass flags to
> the linker using the -Xlinker syntax. This is not necessary anymore,
> -Wl, can be used the same way, and the linker flags are generated in
> that format anyway.

It looks like the -Wl option is about 18 years old, so FWIW I suggest
you go for it. (Don't you still need something prefix-arg like to put
in the commas? I'm sure it doesn't require a C program though.)





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#6184: cleanup: remove src/prefix-args.c
  2010-05-19  6:10 ` Glenn Morris
@ 2010-05-19 15:24   ` Dan Nicolaescu
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Nicolaescu @ 2010-05-19 15:24 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 6184

Glenn Morris <rgm@gnu.org> writes:

> Dan Nicolaescu wrote:
>
>> prefix-args.c is only used when compiling with gcc to pass flags to
>> the linker using the -Xlinker syntax. This is not necessary anymore,
>> -Wl, can be used the same way, and the linker flags are generated in
>> that format anyway.
>
> It looks like the -Wl option is about 18 years old, so FWIW I suggest
> you go for it. 



> (Don't you still need something prefix-arg like to put
> in the commas? I'm sure it doesn't require a C program though.)

I would guess not, AFAICS linker flags are already in the -Wl format.
If these flags are produced by configure, then configure can take care
of putting them in the right format...





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#6184: cleanup: remove src/prefix-args.c
  2010-05-13 16:35 bug#6184: cleanup: remove src/prefix-args.c Dan Nicolaescu
  2010-05-19  6:10 ` Glenn Morris
@ 2010-07-08  3:52 ` Dan Nicolaescu
  1 sibling, 0 replies; 4+ messages in thread
From: Dan Nicolaescu @ 2010-07-08  3:52 UTC (permalink / raw)
  To: 6184-done

Checked in.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-07-08  3:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-13 16:35 bug#6184: cleanup: remove src/prefix-args.c Dan Nicolaescu
2010-05-19  6:10 ` Glenn Morris
2010-05-19 15:24   ` Dan Nicolaescu
2010-07-08  3:52 ` Dan Nicolaescu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).