Kohinoor24
September 25th, 2002, 09:05 AM
I have an Archive named LIBPJT.A under linux & dll for it for windows.
I also have a pjt.h header file.As it contained C-Functions,I used the "Extern c" To call it from the c++ code & it worked fine under windows.
Under Linux,I put the Library in the path /home/Kohinoor/LIBPJT.A
The Linker options,I gave as follows:
LinkOptions= "-L.-L/opt/gcc3/lib -lpthread -lstdc++ -lgcc_s -L/home/Kohinoor -lPJT -oToken_exe"
But it is showing compile Errors.Is there anything wrong in the LinkOptions or could any one tell the reason..
Thanks in advance
I also have a pjt.h header file.As it contained C-Functions,I used the "Extern c" To call it from the c++ code & it worked fine under windows.
Under Linux,I put the Library in the path /home/Kohinoor/LIBPJT.A
The Linker options,I gave as follows:
LinkOptions= "-L.-L/opt/gcc3/lib -lpthread -lstdc++ -lgcc_s -L/home/Kohinoor -lPJT -oToken_exe"
But it is showing compile Errors.Is there anything wrong in the LinkOptions or could any one tell the reason..
Thanks in advance