help-gplusplus
[Top][All Lists]
Advanced

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

Re: Which standard library implementation is used?


From: Guy Harrison
Subject: Re: Which standard library implementation is used?
Date: Thu, 22 Jul 2004 21:59:55 GMT
User-agent: KNode/0.7.7

Alex Vinokur wrote:

> 
> "Guy Harrison" <swamp-DEL-dog@ntlworld.com> wrote in message
> news:fn5kdc.jc8.ln@sd-if.swampdog...
>> Alex Vinokur wrote:
>>
>> > How can we know which standard library implementation is used while
>> > compiling?
>>
>> Doesn't matter as it's "standard" but I see from the link that they're on
>> about stuff like STLPort etc. Well, that's for you to know. If you didn't
>> specifically install anything unusual then it won't be using it. Bog
>> standard cygwin uses same gnu STL as g++ anywhere else. Ditto C libs,
>> cygwin uses either newlib or libiberty (I forget which) whereas linux
>> typically uses glibc but again that's irrelevent as they're all
>> "standard", and again you'll know specifically which flavour via any
>> -std=c?? option passed. You're using the gnu 3.3.1 STL implementation.
>>
> 
> Is it possible to get information about standard library implementation
> with using some option of g++?
> 
> $ g++ -<some option about standard library implementation>

Not really. If you've a particular reason to check for a specific gnu
feature then you can always wade through the "config" header files to see
what macros are on offer - "*/bits/c++config.h" for instance (its exact
position with depend upon your installation).



reply via email to

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