• 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
Re: Using gcc-4.2 on 10.6 Snow Leopard to target 10.5 Leopard?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using gcc-4.2 on 10.6 Snow Leopard to target 10.5 Leopard?


  • Subject: Re: Using gcc-4.2 on 10.6 Snow Leopard to target 10.5 Leopard?
  • From: Mario Emmenlauer <email@hidden>
  • Date: Mon, 05 Oct 2009 09:25:33 +0200


Hi,

Joel Reymont wrote:

On Oct 4, 2009, at 11:40 AM, Mario Emmenlauer wrote:

we would like to move our development to 10.6 Snow Leopard, and use
gcc-4.2, while keeping target MacOS 10.5 Leopard. Is it a problem to
run an application compiled with gcc-4.2 on Leopard?

I think you also need --target=i386-apple-darwin8.0.0 and -arch i386.


I'm mainly concerned that gcc-4.2 on 10.6 might link against too new
libraries (especially against libgcc) for targeting 10.5? My application
starts on 10.5 when using the 10.5 SDK, but is there something I should
take special care of? Is using -shared-libgcc discouraged?

The reason I'm asking is that on Linux I could _never_ compile on a
newer system than the target system unless going completely static with
the runtime, so I'm a bit prejudiced against it. Is it really safe on
MacOS?

Cheers,

   Mario




-- Dipl. Inf. Mario Emmenlauer Cell: +49-(0)176-23463809 Bitplane AG Office: +41-(0)44-430-1106 Badenerstrasse 682 Fax: +41-(0)44-430-1101 CH-8048 Zürich mailto :mario * emmenlauer.de Zürich http://www.marssoft.de / http://www.xuvtools.org _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Using gcc-4.2 on 10.6 Snow Leopard to target 10.5 Leopard?
      • From: Mario Emmenlauer <email@hidden>
    • Re: Using gcc-4.2 on 10.6 Snow Leopard to target 10.5 Leopard?
      • From: Joel Reymont <email@hidden>
References: 
 >Using gcc-4.2 on 10.6 Snow Leopard to target 10.5 Leopard? (From: Mario Emmenlauer <email@hidden>)
 >Re: Using gcc-4.2 on 10.6 Snow Leopard to target 10.5 Leopard? (From: Joel Reymont <email@hidden>)

  • Prev by Date: Re: Using gcc-4.2 on 10.6 Snow Leopard to target 10.5 Leopard?
  • Next by Date: Re: Using gcc-4.2 on 10.6 Snow Leopard to target 10.5 Leopard?
  • Previous by thread: Re: Using gcc-4.2 on 10.6 Snow Leopard to target 10.5 Leopard?
  • Next by thread: Re: Using gcc-4.2 on 10.6 Snow Leopard to target 10.5 Leopard?
  • Index(es):
    • Date
    • Thread