Hi Stefan

On Nov 25, 2007 6:42 PM, Stefan Teleman <stefan.teleman at gmail.com> wrote:
> On Nov 24, 2007 2:45 PM, Lukas Oboril <oboril.lukas at gmail.com> wrote:
> > Hi Stefan,
> >
> > let me ask you a question. Just for confirm. Everything in svn (QT,
> > FLAC ...etc)  is needed build against stdcxx ??? I think so, but I
> > just need confirm.
> >
> > Thank you
> >
> > Luc
>
> If you build anything which is written in C++, you need some Standard
> C++ Library.
>

Yes I know :)

> The catch is: various implementations of the Standard C++ Library are not ABI
> compatible with each other. So, when you choose one particular implementation,
> you are stuck with it. You can't mix Sun's libCstd.so.1 with Apache/RogueWave.
>

Yes I though that.

> If you want to build with the Apache/RogueWave STDCXX, you have to
> tell Sun Studio  -library=no%Cstd, and pass the appropriate C++ header files
> directories in CPPFLAGS/CXXFLAGS.

Ok, you mean something like this ...

I have stdcxx on /opt/foss/lib

export CPPFLAGS="-I/opt/foss/lib -I/usr/include -DPIC -D_REENTRANT
-D_RWSTD_REENTRANT"

export CXXFLAGS="-library=no%Cstd"

export LDFLAGS="-library=no%Cstd -Y P,/opt/foss/lib:/usr/lib -i
-L/opt/foss/lib -L/usr/lib -Bdynamic -lc -lCrun -lstdcxx -lm -ldl
-R/opt/foss/lib:/usr/lib"

I have stdcxx (32, 64 bit) boost (32.64 bit) successfully build.


I'm sorry for these stupid questions, but this is first time when I'm
building against to different library then standard is. Basically I
understand, but I must do something wrong, because I obtain message
like this (ie GNUMP, I strictly followed your README):

-no%Cstd not found
-lCrun not found

So, I have to study much more ....


Thanks

-- 
Lukas Oboril

When dealing with people, let us remember we are not dealing with
creatures of logic. We are dealing with creatures of emotions,
creatures bristling with prejudices and motivated by pride and vanity.
  Dale Carnegie

Reply via email to