Andreas wrote:
Boris Koenig wrote:

If FlightGear was using shared libraries it would propbably not work on
many currently supported libraries - cross-platform shared library
support is a problematic issue, particularly for C++ projects - your
best bet would be using libtool/libltdl - but then again: it doesn't
really work on every platform ...one some of them it simply falls
back to static libs :-/


I keep forgetting that flightgear is a multiplatform project. Now let me ask this: how much, if at all, does this (being multiplatform) hinders the development?

You can always make shared-object files from static libraries if you want. For IRIX I have to use:


CC -o <libname>.so -all <libname>.a

or:

ld -all -shared <libname>.a -o <libname>.so

I believe the latter can be used for Linux also.

Erik

_______________________________________________
Flightgear-users mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to