.a file

Linux specific questions.
blahboybang
Posts: 385
Joined: Oct 16, 2005 0:15
Location: USA
Contact:

.a file

Postby blahboybang » Sep 13, 2006 17:47

how do I make an fbc-usable .a file from a .so file in linux?
D.J.Peters
Posts: 8117
Joined: May 28, 2005 3:28
Contact:

Re: .a file

Postby D.J.Peters » Sep 13, 2006 18:05

blahboybang wrote:how do I make an fbc-usable .a file from a .so file in linux?

xxx.dll.a files are only needed on windows.

xxxxxx.a files are static libs on Win and Lin.

fbc -lib yourlib.bas

if you will use a shared lib *.so you need the function declarations in a *.bi file
and link it with #inclib "name_of_the_lib" or on the command line.

fbc -l name_of_the_lib yourprog.bas

sometimes you need to tell fbc where the lib are is. "-p switch"

fbc -p /usr/X11/lib -l X11 your_X11_prog.bas

I hope this are right what i wrote.

Joshy

Return to “Linux”

Who is online

Users browsing this forum: No registered users and 1 guest