[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Adjust naming of MSVC import libraries.
From: |
Peter Rosin |
Subject: |
Re: [PATCH] Adjust naming of MSVC import libraries. |
Date: |
Sat, 04 Sep 2010 17:48:32 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 |
Den 2010-09-04 16:21 skrev Charles Wilson:
> On 9/4/2010 4:52 AM, Peter Rosin wrote:
>>
>> If you are using -lfoo, then you *must* use 'compile' as well as cl
>> does not know about the -l option. So, I was thinking that 'compile'
>> instead of just transforming -lfoo into foo.lib would walk the library
>> search path (in the same order as cl would) and replace -lfoo with
>> either of foo.lib or foo.dll.lib depending on which was found first
>> and possibly also modified by any -static or -shared flags (also not
>> supported by cl, so -static and -shared would have to be completely
>> handled by 'compile' and would only affect -lfoo handling, at least
>> in my current thinking).
>
> Remember that -static and -shared, the gcc options, are not antonyms:
>
> `-static'
> On systems that support dynamic linking, this prevents linking
> with the shared libraries.
>
> `-shared'
> Produce a shared object which can then be linked with other
> objects to form an executable.
Oh *blush*, I slipped there. I blame libtool and that it handles all
that gunk so that I don't have to :-)
> I have no objections anymore, but I can't approve it.
Good. And thanks for the useful discussion.
Cheers,
Peter
- [PATCH] Adjust naming of MSVC import libraries., Peter Rosin, 2010/09/03
- [PATCH] Adjust naming of MSVC import libraries., Peter Rosin, 2010/09/03
- Re: [PATCH] Adjust naming of MSVC import libraries., Charles Wilson, 2010/09/03
- Re: [PATCH] Adjust naming of MSVC import libraries., Peter Rosin, 2010/09/03
- Re: [PATCH] Adjust naming of MSVC import libraries., Charles Wilson, 2010/09/03
- Re: [PATCH] Adjust naming of MSVC import libraries., Peter Rosin, 2010/09/04
- Re: [PATCH] Adjust naming of MSVC import libraries., Charles Wilson, 2010/09/04
- Re: [PATCH] Adjust naming of MSVC import libraries.,
Peter Rosin <=
- Re: [PATCH] Adjust naming of MSVC import libraries., Peter Rosin, 2010/09/07
- Re: [PATCH] Adjust naming of MSVC import libraries., Gary V. Vaughan, 2010/09/07
- Re: [PATCH] Adjust naming of MSVC import libraries., Peter Rosin, 2010/09/07
- Re: [PATCH] Adjust naming of MSVC import libraries., Ralf Wildenhues, 2010/09/07
- Re: [PATCH] Adjust naming of MSVC import libraries., Ralf Wildenhues, 2010/09/07
- Re: [PATCH] Adjust naming of MSVC import libraries., Peter Rosin, 2010/09/07
- Re: [PATCH] Adjust naming of MSVC import libraries., Ralf Wildenhues, 2010/09/08
- Re: [PATCH] Adjust naming of MSVC import libraries., Peter Rosin, 2010/09/08
- Re: [PATCH] Adjust naming of MSVC import libraries., Peter Rosin, 2010/09/08
- Re: [PATCH] Adjust naming of MSVC import libraries., Ralf Wildenhues, 2010/09/08