|
Boost : |
From: Thomas Witt (witt_at_[hidden])
Date: 2001-11-08 08:05:29
On Monday 05 November 2001 10:57, you wrote:
>
> Unix developers are used to just say -lm if they want libm.a. Windows
> developers (at least MSVC users) are used to explicitly say
> kernel32.lib or user32.lib. In other words, unix developers are used
> to smart name deduction, windows developers are not.
>
I think even windows developers can differentiate between library name and
suffix. (At least those I know can) :-).
>
> On the other hand, if the build system supports windows and unix
> platforms, you should be able to say <find-library>foo and it works
> for unix and windows.
I agree. Though to have real platfom independent library name handling the
build system still needs something like PREFLIB in analogy to SUFLIB.
When specifying a lib target you would say :
$(PREFLIB)AName$(SUFLIB)
This way windows libraries would not end up with a name like "libAName.lib"
and UNIX naming conventions can still be preserved.
With regards to automatic name deduction for the linker I think there should
still be an option to turn this off. Maybe a UNIX like scheme can be used
where name deduction is only used for libraries that is searched for.
Thomas
>
> As LINK.EXE doesn't do any file name magic when looking for a file
> (at least I couldn't find anything in the documentation) I think we
> should append the lib extension.
>
> Markus
>
>
>
> Info: http://www.boost.org Unsubscribe:
> <mailto:boost-unsubscribe_at_[hidden]>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
-- Dipl.-Ing. Thomas Witt Institut fuer Verkehrswesen, Eisenbahnbau und -betrieb, Universitaet Hannover voice: +49(0) 511 762 - 4273, fax: +49(0) 511 762-3001 http://www.ive.uni-hannover.de
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk