[MLton-devel] mGTK for MLton status

Matthew Fluet fluet@cs.cornell.edu
Sat, 16 Aug 2003 10:20:11 -0400 (EDT)


> there are likely other possibilities output from pkg-config --libs
> that we need to handle.  Does anyone know if this is the case?

The man pages on pkg-config suggest that union of --libs-only-l and
--libs-only-L will bes smaller than --libs due to flags such as -rdynamic.
Grepping through /usr/lib/pkgconfig metafiles reveals the following
options:
-llib
-Lpath
-Wl,--export-dynamic
-rdynamic
-pthread

> Any thoughts on the right thing to do?

We could generate a call to gcc with all the "rest" options and check to
see if gcc returns an unrecognized option error.  Of course, I can't seem
to find an option that will do nothing but check the validity of the
options.



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel