Re: [Flightgear-devel] Fixes for parallel/SMP make compilation
On Thu, Dec 05, 2002 at 10:43:28AM +0100, Erik Hofman wrote: Do you use libtool to generate shared object libraries, or juts static libraries? People have pointed out that using shared objects in C++ doesn't work all that great, especially in a development environment (like FlightGear). If this patch generates static libraries I don't see a problem. It might even be used to generate one statically linkable libsimgear file instead of 17 different libraries. But that is open for discussion. With libtool all you have to do to have it generate only static libraries is to specify libblah_blah_la_LDFLAGS = -static in the Makefile.am. This is what the patch does... You then want to replace all the link-time references (blah_LDADD = ../libblah/blah.a) with (blah_LDADD = ../libblah/blah.la). -- Bryon Roche Professional {Developer,Guru,Mad Scientist} [EMAIL PROTECTED] PGP Key Fingerprint: FE0D EC23 6464 726A CD54 48D3 04AD 86FE 6878 ABD5 Fortuna est caeca msg10194/pgp0.pgp Description: PGP signature
PATCH for Parallel make on SimGear Flightgear (Re: [Flightgear-devel] Fixes for parallel/SMP make compilation)
On Thu, Dec 05, 2002 at 06:21:59AM -0600, Curtis L. Olson wrote: We did have everything libtoolized at one point and from a management it ended up being a lot more hassle than it's worth. The simgear/flightgear libs are so closely tied that you rally get little benefit from making the shared. Libtool just has better dependency handling than straight Automake. You can tell libtool to make static libraries only, which I have done. The patches are up at http://noir.kain.org/fg/, against SimGear-0.3 CVS and FlightGear-0.9 CVS as of 05 Dec 2002 16:03:11 -0600 or so. -- Bryon Roche Professional {Developer,Guru,Mad Scientist} [EMAIL PROTECTED] PGP Key Fingerprint: FE0D EC23 6464 726A CD54 48D3 04AD 86FE 6878 ABD5 Fortuna est caeca msg10248/pgp0.pgp Description: PGP signature
[Flightgear-devel] Fixes for parallel/SMP make compilation
I've libtoolized the makefiles for current CVS for SimGear and FlightGear. This allows GNU make to properly handle the dependencies for SMP (parallel) compile. This naturally speeds up compiles significantly. Does anyone want the diffs? -- Bryon Roche Professional {Developer,Guru,Mad Scientist} [EMAIL PROTECTED] PGP Key Fingerprint: FE0D EC23 6464 726A CD54 48D3 04AD 86FE 6878 ABD5 Fortuna est caeca msg10188/pgp0.pgp Description: PGP signature