glibc-bsd-hackers
[Top][All Lists]
Advanced

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

[Glibc-bsd-hackers] Re: [PATCH] GNU/k*BSD support (with ChangeLog) for g


From: David O'Brien
Subject: [Glibc-bsd-hackers] Re: [PATCH] GNU/k*BSD support (with ChangeLog) for gcc
Date: Fri, 19 Mar 2004 08:42:39 -0800
User-agent: Mutt/1.4.1i

On Fri, Mar 19, 2004 at 08:20:39AM -0800, Andrew Pinski wrote:
> On Mar 19, 2004, at 08:13, David O'Brien wrote:
> >>-#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
> >>+#define LINK_SPEC "-m " LINK_EMULATION " %{shared:-shared} \
> >
> >Rather than depend on ANSI-C string concatenation, why not do it right
> >and create %(link_emulation).
> >
> >>-   %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}} \
> >>+   %{!dynamic-linker:-dynamic-linker " LINK_LDPATH "}} \
> >
> >Ditto.  See how I already implemented this in gcc/config/freebsd-spec.h
> >and gcc/config/i386/freebsd.h with %(fbsd_dynamic_linker).  We could
> >easily change this to just %(dynamic_linker) for constancy w/in GCC.
> 
> Why not depend on ANSI-C string concatenation as now we (GCC) requires 
> an
> ANSI-C compiler to bootstrap?

Constancy with years and years of GCC practice.
 
-- 
-- David  (address@hidden)




reply via email to

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