help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: howto select the static version of a library with -l (but not for al


From: Paul Pluzhnikov
Subject: Re: howto select the static version of a library with -l (but not for all the other libraries)
Date: Tue, 08 Aug 2006 06:33:02 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

Sid Touati <Sid-pasdespam.Touati-nospam@inria-nospam.fr> writes:

>> Name a UNIX platform to which this solution is not portable.
>
> If I recall well, on Sun solaris workstation, the archive format is
> not considered as an object format like on linux.

Your recollection is incorrect: linking against lib<NNNN>.a works
on Solaris *exactly* the same way it works on Linux.

I do not know any UNIX platform to which this solution is not
portable (hence my question), but you can definitely eliminate
the following from potential candidates (these are the OSes I have
some experience with): AIX, Dynix, HP-UX, Solaris, SunOS4, Irix,
OSF-1, Linux. I am 99% certain it also works on BSD and MacOS X.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]