Re: pr-msvc-support: building .DLLs with symbols

2009-09-22 Thread Peter Rosin
Den 2009-09-22 02:15 skrev Christopher Hulbert: On Mon, Sep 21, 2009 at 2:47 PM, Peter Rosin wrote: Den 2009-09-21 12:35 skrev Christopher Hulbert: Apart from that, your suggestion will "litter" dependency_libs with -LIBPATH: and it will not work for absolute paths (unless you're using identit

Re: pr-msvc-support: building .DLLs with symbols

2009-09-21 Thread Christopher Hulbert
On Mon, Sep 21, 2009 at 2:47 PM, Peter Rosin wrote: > Den 2009-09-21 12:35 skrev Christopher Hulbert: >>> >>> Apart from that, your suggestion will "litter" dependency_libs with >>> -LIBPATH: and it will not work for absolute paths (unless you're >>> using identity mounts, but that's cheating). Th

Re: pr-msvc-support: building .DLLs with symbols

2009-09-21 Thread Peter Rosin
Den 2009-09-21 12:35 skrev Christopher Hulbert: Apart from that, your suggestion will "litter" dependency_libs with -LIBPATH: and it will not work for absolute paths (unless you're using identity mounts, but that's cheating). That could perhaps be fixed but I think you will have trouble convertin

Re: pr-msvc-support: building .DLLs with symbols

2009-09-21 Thread Christopher Hulbert
On Fri, Sep 18, 2009 at 11:17 PM, Peter Rosin wrote: > Den 2009-09-18 14:01 skrev Christopher Hulbert: >> >> On Fri, Sep 18, 2009 at 6:53 AM, Peter Rosin wrote: >>> >>> Hi Chris, >>> >>> Den 2009-09-18 12:16 skrev Christopher Hulbert: In my windows branch, I use link_search_path_spec as

Re: pr-msvc-support: building .DLLs with symbols

2009-09-18 Thread Peter Rosin
Den 2009-09-18 14:01 skrev Christopher Hulbert: On Fri, Sep 18, 2009 at 6:53 AM, Peter Rosin wrote: Hi Chris, Den 2009-09-18 12:16 skrev Christopher Hulbert: In my windows branch, I use link_search_path_spec as in: _LT_TAGDECL([], [link_search_path_spec], [1], [Flag to add a directory to

Re: pr-msvc-support: building .DLLs with symbols

2009-09-18 Thread Christopher Hulbert
On Fri, Sep 18, 2009 at 6:53 AM, Peter Rosin wrote: > Hi Chris, > > Den 2009-09-18 12:16 skrev Christopher Hulbert: >> >> In my windows branch, I use link_search_path_spec as in: >> >> _LT_TAGDECL([], [link_search_path_spec], [1], >>    [Flag to add a directory to the linker search path]) >> >> Th

Re: pr-msvc-support: building .DLLs with symbols

2009-09-18 Thread Peter Rosin
Hi Chris, Den 2009-09-18 12:16 skrev Christopher Hulbert: In my windows branch, I use link_search_path_spec as in: _LT_TAGDECL([], [link_search_path_spec], [1], [Flag to add a directory to the linker search path]) Then, somewhere in the "-L*" case of argument processing in func_mode_link.

Re: pr-msvc-support: building .DLLs with symbols

2009-09-18 Thread Christopher Hulbert
On Fri, Sep 18, 2009 at 4:26 AM, Peter Rosin wrote: > Hi Ralf, > > Den 2009-09-18 06:37 skrev Ralf Wildenhues: >> >> * Peter Rosin wrote on Thu, Sep 10, 2009 at 11:48:34AM CEST: >>> >>> Here's a couple of patches that implements support for -Wl, and >>> -Xlinker for MSVC. The first one >>> (rename

Re: pr-msvc-support: building .DLLs with symbols

2009-09-18 Thread Peter Rosin
Hi Ralf, Den 2009-09-18 06:37 skrev Ralf Wildenhues: * Peter Rosin wrote on Thu, Sep 10, 2009 at 11:48:34AM CEST: Here's a couple of patches that implements support for -Wl, and -Xlinker for MSVC. The first one (rename-dashL_envvar-tolinker_envvar.patch) is just a rename, to reduce confusion,

Re: pr-msvc-support: building .DLLs with symbols

2009-09-17 Thread Ralf Wildenhues
Hi Peter, * Peter Rosin wrote on Thu, Sep 10, 2009 at 11:48:34AM CEST: > Here's a couple of patches that implements support for -Wl, and > -Xlinker for MSVC. The first one (rename-dashL_envvar-tolinker_envvar.patch) > is just a rename, to reduce confusion, In general, a rename from an ugly variab

pr-msvc-support rules and issues (was: Re: pr-msvc-support: building .DLLs with symbols)

2009-09-17 Thread Peter Rosin
Den 2009-09-10 11:48 skrev Peter Rosin: Here's a couple of patches that implements support for -Wl, and -Xlinker for MSVC. The first one (rename-dashL_envvar-tolinker_envvar.patch) is just a rename, to reduce confusion, and the second patch (-Xlinker-msvc.patch) contains the new code... Ok for

Re: pr-msvc-support: building .DLLs with symbols

2009-09-14 Thread Peter Rosin
Den 2009-09-13 00:02 skrev David Byron: $ ../configure CC=cl CFLAGS='-MD -Zi' LD=link LDFLAGS='-Wl,-DEBUG' NM='dumpbin -symbols' AR=lib STRIP=: RANLIB=: --disable-static That will not work (as you noticed) as it will send the -Wl, option stright to cl when configure tries w/o libtool. Is there

RE: pr-msvc-support: building .DLLs with symbols

2009-09-12 Thread David Byron
> > $ ../configure CC=cl CFLAGS='-MD -Zi' LD=link LDFLAGS='-Wl,-DEBUG' > > NM='dumpbin -symbols' AR=lib STRIP=: RANLIB=: --disable-static > > That will not work (as you noticed) as it will send the -Wl, option > stright to cl when configure tries w/o libtool. Is there any hope of this working one

Re: pr-msvc-support: building .DLLs with symbols

2009-09-12 Thread Peter Rosin
Hi David, Thanks for testing! Den 2009-09-11 21:04 skrev David Byron: Here's a couple of patches that implements support for -Wl, and -Xlinker for MSVC. The first one (rename-dashL_envvar-tolinker_envvar.patch) is just a rename, to reduce confusion, and the second patch (-Xlinker-msvc.patch) co

RE: pr-msvc-support: building .DLLs with symbols

2009-09-11 Thread David Byron
> Here's a couple of patches that implements support for > -Wl, and -Xlinker for MSVC. The first one > (rename-dashL_envvar-tolinker_envvar.patch) is just a > rename, to reduce confusion, and the second patch > (-Xlinker-msvc.patch) contains the new code... > > Ok for the pr-msvc-support branch?

Re: pr-msvc-support: building .DLLs with symbols

2009-09-10 Thread Peter Rosin
Hi David, (moving to libtool-patc...@...) Den 2009-09-03 20:24 skrev David Byron: You want to send -DEBUG to link.exe, not to cl.exe. I'm sure you know this, but simply adding -DEBUG to LDFLAGS is not the way you do this. The correct way would be to use -Wl,-DEBUG. If the msvc stuff were comple