[Coin-discuss] Re: compiling static libraries

Joseph Young josyoun at nmt.edu
Wed Dec 29 12:49:46 EST 2004


	This simplest way to make a set of static libraries is:

1.  COIN/Makefiles/Makefile.location:  Uncomment line 38
2.  COIN/Makefiles/Makefile.location:  Uncomment line 39
3.  COIN/Makefiles/Makefile.location:  Change GLPK location on line 211
4.  COIN/Osi/OsiGlpk/Makefile:  Change SHARED to STATIC on line 2
5.  COIN/Osi/OsiGlpk/:  Make in this directory

This *should* create all the necessary libraries in COIN/lib.  If you 
still want to tweak things, you can change the optimization flags to 
whatever you like.  Finally, do not globally change all the .so 
references to .a.  The COIN make process should handle all of that for 
you.

Sinc, Joseph Young

On Dec 29, 2004, at 12:00 PM, coin-discuss-request at list.coin-or.org 
wrote:

> Send Coin-discuss mailing list submissions to
> 	coin-discuss at list.coin-or.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://list.coin-or.org/mailman/listinfo/coin-discuss
> or, via email, send a message with subject or body 'help' to
> 	coin-discuss-request at list.coin-or.org
>
> You can reach the person managing the list at
> 	coin-discuss-owner at list.coin-or.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Coin-discuss digest..."
>
>
> Today's Topics:
>
>    1. compiling static libraries (Michael Hennebry)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 29 Dec 2004 10:00:50 -0600 (CST)
> From: Michael Hennebry <hennebry at web.cs.ndsu.nodak.edu>
> Subject: [Coin-discuss] compiling static libraries
> To: <coin-discuss at list.coin-or.org>
> Message-ID: <20041229094802.S67097-100000 at web.cs.ndsu.nodak.edu>
> Content-Type: TEXT/PLAIN; charset=US-ASCII
>
>
> I've been trying to make COIN-OR
> and Symphony work with GLPK.
> I've gotten as far as trying to compile Osi.
> The directions have my mind spinning.
>
> What am I to do with the following lines from
> Makefile.location :
> # CoinLibsDefined += COIN_libGlpk
> # CoinLibsDefined += COIN_libOsiGlpk
> ?
> Do I uncomment one, both, neither?
> If neither, how do I tell Osi that it is supposed to work with GLPK?
> What do each of those do?
>
> The flags in a lot of Makefiles have flags for STATIC or SHARED 
> libraries.
> In Makefile.location, *.so is mostly hard-coded.
> If I want static libraries (I prefer something I can make work),
> should I globally change .so to .a?
> Do I also need to do something unobvious?
>
>
> -- 
> Mike   hennebry at web.cs.ndsu.NoDak.edu
> "Pilot, does Moya know where we are?"  --   Zhaan
> "Yes, of course.  We're someplace else.
> I'll get back to you on the specifics."  --  Pilot
>
>
>
> ------------------------------
>
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss
>
>
> End of Coin-discuss Digest, Vol 2, Issue 7
> ******************************************
>




More information about the Coin-discuss mailing list