If I link to libstdc++.so in 6.1., I get warnings. Apparently,
libstdc++.so.2 references libc.so.1 and libm.so.1 and not libc.so.2 and
libm.so.2… ?
Markus
Figured it out myself. Dinkum c++ libs is libcpp. If you only use the
“lang-c++” option when linking, it will find it.
Markus
“Markus Loffler” <loffler@ces.clemson.edu> wrote in message
news:9hq2ad$oon$1@inn.qnx.com…
If I link to libstdc++.so in 6.1., I get warnings. Apparently,
libstdc++.so.2 references libc.so.1 and libm.so.1 and not libc.so.2 and
libm.so.2… ?
Markus
Markus Loffler <loffler@ces.clemson.edu> wrote:
Figured it out myself. Dinkum c++ libs is libcpp. If you only use the
“lang-c++” option when linking, it will find it.
Markus
Yes. For safety’s sake I would remove the libstdc++.so links so that
when you try to link against the old lib it fails.
“Markus Loffler” <> loffler@ces.clemson.edu> > wrote in message
news:9hq2ad$oon$> 1@inn.qnx.com> …
If I link to libstdc++.so in 6.1., I get warnings. Apparently,
libstdc++.so.2 references libc.so.1 and libm.so.1 and not libc.so.2 and
libm.so.2… ?
Markus
\
Markus…
Where did you get this information from??
Regards…
Miguel
Markus Loffler wrote:
Figured it out myself. Dinkum c++ libs is libcpp. If you only use the
“lang-c++” option when linking, it will find it.
Markus“Markus Loffler” <> loffler@ces.clemson.edu> > wrote in message
news:9hq2ad$oon$> 1@inn.qnx.com> …
If I link to libstdc++.so in 6.1., I get warnings. Apparently,
libstdc++.so.2 references libc.so.1 and libm.so.1 and not libc.so.2 and
libm.so.2… ?
Markus
\
–
my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.
Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com
I compiled a program with simple cc -o program program.cpp and it worked…
So I used the -Wl,–verbose which shows you which libraries it includes. I
saw it includes libcpp. So I removed my -lstdc++ and just used
only -lang-c++.
Markus
“Miguel Simon” <simon@ou.edu> wrote in message
news:3B47F4FF.BEE0553@ou.edu…
Markus…
Where did you get this information from??
Regards…
Miguel
Markus Loffler wrote:Figured it out myself. Dinkum c++ libs is libcpp. If you only use the
“lang-c++” option when linking, it will find it.
Markus“Markus Loffler” <> loffler@ces.clemson.edu> > wrote in message
news:9hq2ad$oon$> 1@inn.qnx.com> …
If I link to libstdc++.so in 6.1., I get warnings. Apparently,
libstdc++.so.2 references libc.so.1 and libm.so.1 and not libc.so.2
and
libm.so.2… ?
Markus
\
my opinions are mine, only mine, solely mine, and they are not related
in any possible way to the institution(s) in which I study and work.Miguel Simon
Research Engineer
School of Aerospace and Mechanical Engineering
University of Oklahoma
http://www.amerobotics.ou.edu/
http://www.saic.com