Re: pslib: c++ linking

2004-11-13 Thread Xavier Andrade
On Sat, 13 Nov 2004, Thomas Ruschival wrote: > Hi, as far as I know I can link all C libraries in C++ as > well. but I can't get it done with pslib. the exactly same > code compiles and links with C and it doesn't when I > use C++. > This is my linking command: > gcc -o test -L/usr/lib/ -lps

pslib: c++ linking

2004-11-13 Thread Thomas Ruschival
Hi, as far as I know I can link all C libraries in C++ as well. but I can't get it done with pslib. the exactly same code compiles and links with C and it doesn't when I use C++. This is my linking command: gcc -o test -L/usr/lib/ -lps -lstdc++ test.cpp and in /usr/lib is definitely t