r211995 - Driver: add a cygwin linker tool

Saleem Abdulrasool compnerd at compnerd.org
Sun Jun 29 14:41:21 PDT 2014


On Sun, Jun 29, 2014 at 9:14 AM, Rafael Avila de Espindola <
rafael.espindola at gmail.com> wrote:

>
> > Driver: add a cygwin linker tool
> >
> > This adds a linker tool for the Windows cygwin environment.  This linker
> > invocation is significantly different from the generic ld invocation.  It
> > requires additional parameters as well as does not accept some normal
> > parameters.  This should fix self-hosting on Cygwin.
>
> Nice!


Seems that Takumi reverted the change.  Cygwin has a weird setup, and needs
a gcc library path as part of the linker invocation to pick up parts of
libc.  That should properly detect the filesytem layout and fix finding
cry{begin,end}.


> >
> > +  // FIXME: support mudflap: wrap the following:
> > +  // -fmudflap || -fmudflapth:
> > +  // static const char
>
> Mudflap is dead, no?
>

Yes, although mudflap is dead, the current releases of cygwin still support
it.


> https://gcc.gnu.org/gcc-4.9/changes.html
>
> Cheers,
> Rafael
>



-- 
Saleem Abdulrasool
compnerd (at) compnerd (dot) org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140629/49bc6fcd/attachment.html>


More information about the cfe-commits mailing list