[openbeostranslationkit] Compile Lib

Okay-

Brian asked me how to compile everything into a library. 

Create the .o (object) files with gcc as normally.

Now I do it:

ar -rcs <target_lib> <object1> <object2> <...> 

Normally. Just easier to do it in a makefile like that.

Since Jam isn't ready you can try that. I don't remember if Be has ar or
not. And I don't have a Be box at the moment. Which isn't helping me
much because I cannot develop :( . 

With BeIDE you just create a lib project. And then it will compile it
that way for you. Add the sources & headers to the project.

Just remember, you may have to add -I./include, -I./ or -I../include to
gcc when compiling. This is to make sure you are getting the correct
headers. And remember, there shouldn't be any "" includes if possible in
the headers, all <>.

When the Jam system if fully done, then I guess it should be all
automated. 

<whine>
I want my Be box back. I need to find a new one.
</whine>

Okay guys, I hope that helps. If you have any other questions, you can
leave me a line here or on IRC. I'm not around all the time but I will
answer the question once I'm back.
-------------
~Travis Smith
sage at ieee dot org 



Other related posts: