[C++-sig] linking with non-python libraries

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[C++-sig] linking with non-python libraries

Ben Veal
>>Here is the relevant linking command that is produced by my makefile:
>>
>>g++ -o output.exe input.o -L. -s /usr/lib/libBaseClass.so -lpthread
>>
>>I notice that there is no -l preceeding '/usr/lib/libBaseClass.so' is this
>>important?
>
>Good question. Why don't you call
>
>g++ -o output.exe input.o -lBaseClass -lpthread
>
>instead as everybody else ? :-)

I am new to programming in Linux, and the makefile wasn't written by me.
Anyway it doesn't explain the linking problem, can anyone help me?

Thanks.


_______________________________________________
C++-sig mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/c++-sig