Re: Using gcc-4.2 on 10.6 Snow Leopard to target 10.5 Leopard?
site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812) Hi, 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'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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Joel Reymont wrote: I think you also need --target=i386-apple-darwin8.0.0 and -arch i386. This email sent to site_archiver@lists.apple.com
participants (1)
-
Mario Emmenlauer