This is the mail archive of the gcc-patches@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]

Re: RFA: cygwin-specific patch for collect2 and cygwin-specs


Any comments on this patch? Accept or reject? (I'm not familiar with the
protocol on this list or how quickly patches are handled/responded to,
so I'm unsure if the lack of response is normal, or means I did
something wrong...)

--Chuck

"Charles S. Wilson" wrote:
> 
> Since ld is capable of linking directly to dll's without an importlib,
> these patches enable those features to be used by gcc more conveniently
> on the cygwin platform. Patch pasted in both plaintext and
> gzip/uuencoded format below.
> 
> Aside: binutils recently accepted a patch that makes 'ld.exe -Bdynamic'
> hunt for .dll's in preference to .a's for linking (for i386pe). So, with
> this patch to gcc, on the cygwin platform, gcc will link to dll's by
> default, unless the -static option is given. This brings cygwin-gcc more
> in line with most other platforms.
> 
> CHANGELOG:
> 
>         * gcc/config/i386/cygwin.h: change link spec to
>         pass -Bstatic or -Bdynamic to ld as appropriate
>         * gcc/collect2.c: add "dll" to the list of possible
>         library extensions
>

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