Hi,
is there any hint how to link against standard Mac OS X libraries that
export references to saveFP and loadFP - actually libcurl.dylib?
According to google, Apple gcc is kind of hosed so in contrary to the
regular gcc it exports those internal symbols - how can I use such
libraries in another complier?
TIA,
Tom_E

Signature
This address is valid in its unmodified form but expires soon.
Brad Oliver - 19 Feb 2005 14:23 GMT
> is there any hint how to link against standard Mac OS X libraries that
> export references to saveFP and loadFP - actually libcurl.dylib?
Metrowerks provides a BSD Runtime library that you can link against that
provides some of these things. Have you tried that?

Signature
Brad Oliver
bradman@pobox.com.AM_SPAY
Thomas Engelmeier - 19 Feb 2005 17:14 GMT
> > is there any hint how to link against standard Mac OS X libraries that
> > export references to saveFP and loadFP - actually libcurl.dylib?
>
> Metrowerks provides a BSD Runtime library that you can link against that
> provides some of these things. Have you tried that?
*sigh* as my software makes heavy use of MSL C and MSL C++ and the only
supported configuration for that kind of Plug-In software is the
Metrowerks runtime: no.
Regards,
Tom_E

Signature
This address is valid in its unmodified form but expires soon.
Stephen Davis - 20 Feb 2005 19:59 GMT
>>> is there any hint how to link against standard Mac OS X libraries that
>>> export references to saveFP and loadFP - actually libcurl.dylib?
[quoted text clipped - 5 lines]
> supported configuration for that kind of Plug-In software is the
> Metrowerks runtime: no.
You should just be able to link /usr/lib/libgcc.a into your project.
One problem with this is that /usr/lib/libgcc.a is a symlink and CW
"sees through" it into its real location (/usr/lib/gcc/....) and puts
that reference into the project. This may hose you trying to build on
different OSes.
stephen
Josef W. Wankerl - 22 Feb 2005 15:42 GMT
> is there any hint how to link against standard Mac OS X libraries that
> export references to saveFP and loadFP - actually libcurl.dylib?
I don't remember if safeFP and loadFP are available in libcc_dynamic.a,
but you might try adding it and seeing if those symbols get resolved.