-
Linux Problem
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
-
Is it showing compile errors or link errors? Why don't you show
us the error message so that we can try to help you?
-
Thank you very much For the said help.Iam glad to hear that.Iam about to leave the office. I will need ur help tommorow as Iam compiling a project under Linux & as u know Iam not an Linux Expert :)
(This post was about another application which Iam stopping by today.I will be going ahead with it only after the new one gets compiled under linux.)
Thank u for ur help by the way.
-
Well now I'm confused because I didn't help at all due to lack of
data. Perhaps you meant this for a different thread?
-
I said Thanks for offering the help:)