Go to the FreeLists Home Page Home Signup Help Login
 



[openbeostranslationkit] || [Date Prev] [04-2002 Date Index] [Date Next] || [Thread Prev] [04-2002 Thread Index] [Thread Next]

[openbeostranslationkit] Compile Lib

  • From: "Travis Smith" <sage@xxxxxxxx>
  • To: <openbeostranslationkit@xxxxxxxxxxxxx>
  • Date: Tue, 23 Apr 2002 19:16:07 -0400
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 







[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.