• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Which libgcc do I need to use? (link probs in CW project)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Which libgcc do I need to use? (link probs in CW project)


  • Subject: Which libgcc do I need to use? (link probs in CW project)
  • From: "Sean McBride" <email@hidden>
  • Date: Fri, 6 May 2005 13:21:46 -0400
  • Organization: Rogue Research

Hello,

I maintain both CW 9.5 and XCode 1.5 builds of my application in 10.3.9.
 My app now uses several 3rd party C static libraries built by gcc 3.3,
because of this my CW version no longer links:

Link Error   : undefined: '__moddi3' (code)
Referenced from 'pagesize' in libnetcdf.a

Link Error   : undefined: '__divdi3' (code)
Referenced from 'add_to_NCList' in libnetcdf.a

I have found that the solution is to add libgcc.a to the CW project,
which XCode no doubt does implicitly.

However, I'm not sure about all this... which libgcc to use? there is a
libgcc.a, libgcc_s.1.dylib, and libgcc_s.1.0.dylib, the .a versions also
seem to have gcc-version-dependant variants.  Also, some SDKs have some
and not others.  Ack.  What is libgcc anyway? :)

My app needs to run in 10.3.9 and later, and I would like to build from
both 10.3 and 10.4, using the SDKs.

Thanks!

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Which libgcc do I need to use? (link probs in CW project)
      • From: Markus Hitter <email@hidden>
  • Prev by Date: accessing "Destination Subdirectory" column via AppleScript
  • Next by Date: if(pitiful == XcodeSCC(CVS | subversion)...
  • Previous by thread: Re: accessing "Destination Subdirectory" column via AppleScript
  • Next by thread: Re: Which libgcc do I need to use? (link probs in CW project)
  • Index(es):
    • Date
    • Thread