logo       

Supporting 3 platforms: Linux, Darwin, Win32: msg#00071

gnu.mingw.msys

Subject: Supporting 3 platforms: Linux, Darwin, Win32

Hello everyone!


We are currently moving our projects to Autotools (and will release them
as LGPL once it's done - GXL anyone? Yet I doubt it ;)) and we plan to
support Linux, Darwin and Win32 using MinGW/MSys.

I'd like to say upfront: using static libs I'd be done by now! :-)

So of course I have some questions regarding libtool/shared libs...

After a lot of experimenting and reading up I can come up with the
following:

*) building shared libs on Linux is the easiest; libtool is doing a
fantastic job
*) close second is Darwin
*) a pita is Win32

For every lib I build I at first only got the static version, since I
had not set "-no-undefined" in libfoo_la_LDFLAGS; but doing so (and
that's my question actually) I get unresolved symbols on depended libs!

To cure that I need to add them to libfoo_la_LIBADD, no? And are there
problems known if doing so on Linux and Darwin, too, can cause trouble?

I'd like to keep my Makefile.am's as platform agnostic as possible...

Any comment is highly appreciated!


regards,
Florian Schricker


--
do() || do_not(); // try();




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise