Re: environ: fix link error on 64-bit Cygwin

2018-02-27 Thread cyg Simple
On 2/26/2018 4:28 PM, Ken Brown wrote: > On 1/31/2018 9:40 AM, Corinna Vinschen wrote: >> On Jan 31 07:52, Eric Blake wrote: >>> Forwarding from the gnulib list; is this something we should fix in >>> cygwin proper? >> >> Why does anybody remove the -Wl,--disable-auto-import flag?  What for? >> The

Re: environ: fix link error on 64-bit Cygwin

2018-02-27 Thread Corinna Vinschen
On Feb 26 16:28, Ken Brown wrote: > On 1/31/2018 9:40 AM, Corinna Vinschen wrote: > > On Jan 31 07:52, Eric Blake wrote: > > > Forwarding from the gnulib list; is this something we should fix in > > > cygwin proper? > > > > Why does anybody remove the -Wl,--disable-auto-import flag? What for? > >

Re: environ: fix link error on 64-bit Cygwin

2018-02-26 Thread Ken Brown
On 1/31/2018 9:40 AM, Corinna Vinschen wrote: On Jan 31 07:52, Eric Blake wrote: Forwarding from the gnulib list; is this something we should fix in cygwin proper? Why does anybody remove the -Wl,--disable-auto-import flag? What for? The idea was to never use this flag on Cygwin and to get ri

Re: environ: fix link error on 64-bit Cygwin

2018-01-31 Thread Corinna Vinschen
On Jan 31 07:52, Eric Blake wrote: > Forwarding from the gnulib list; is this something we should fix in > cygwin proper? Why does anybody remove the -Wl,--disable-auto-import flag? What for? The idea was to never use this flag on Cygwin and to get rid of the dllimport/dllexport nonsense... > On

Re: environ: fix link error on 64-bit Cygwin

2018-01-31 Thread Eric Blake
> 2018-01-31 Bruno Haible > > environ: Fix link error on 64-bit Cygwin. > * lib/unistd.in.h (environ): On Cygwin, redeclare with the > __declspec(dllimport) attribute. > * doc/posix-functions/environ.texi: Mention the Cygwin problem. > > diff -