Ryan Mansfield(deleted)
|
Re: standard c++ include directories / changing options specified
in qcc .conf files
|
Ryan Mansfield(deleted)
12/02/2008 9:29 PM
post17810
|
Re: standard c++ include directories / changing options specified
in qcc .conf files
Bob Barcklay wrote:
> Hi,
>
> I am attempting to build a third party library (libkml) using a configure script and qcc from the 6.3.2 IDE. I invoke
configure like this:
>
> $QCC -V3.3.5,gcc_ntox86 -set-default
> $CXX=QCC CC=qcc ./configure --host=i386-pc-nto-qnx6.3.0 CXXFLAGS='-g -O0 -lang-c++ -v'
>
> After building a number of sources successfully, I get this error:
> cxxabi.h: No such file or directory
>
> but this file exists in $QNX_TARGET/usr/include/c++/3.3.5/
>
> I believe I can resolve the problem by specifying this directory as a -I include but that doesn't seem right. So I'm
wondering what is the proper way to tell QCC to include the std c++ include directories?
By default, qcc uses the Dinkumware C++ headers and libraries. If you
want to use the libstdc++-v3 headers
($QNX_TARGET/usr/include/c++/3.3.5/) and libraries, you should use the
qcc -V3.3.5,gcc_ntox86_gpp configuration.
The gcc drivers (e.g. ntox86-gcc, i386-pc-nto-qnx6.3.0-g++, etc) use the
GNU C++ library.
Regards,
Ryan Mansfield
|
|
|