Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / February 2005



Tip: Looking for answers? Try searching our database.

Linking against gcc libs needing saveFP and loadFP

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Thomas Engelmeier - 18 Feb 2005 09:00 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.