Re: [fpc-pascal] Cross Compiling from Linux to a Mac OS X 10.5 or 10.6 target. How? [SOLVED]

2011-08-07 Thread Causal Lists
I finally managed to get Intel Mac OS X cross-compilation (from Linux) working well so I thought I'd document what I did for the benefit of others because the info in the wiki is wildly out of date. I'll update the wiki (if I can) to point to this message. What you'll need: [1] an Intel Mac

[fpc-pascal] Cross Compiling from Linux to a Mac OS X 10.5 or 10.6 target. How?

2011-08-04 Thread Bruce Tulloch
So I've got cross-compilation working but I have one last problem. I can't seem to get fpc to drive the linker to search the SDK path BEFORE the default paths. Specifically, i386-darwin-ld finds /usr/lib/crt1.o and NOT /opt/MacOSX10.5.sdk/usr/lib/crt1.o despite fpc being passed the option

Re: [fpc-pascal] Cross Compiling from Linux to a Mac OS X 10.5 or 10.6 target. How?

2011-08-04 Thread Jonas Maebe
On 04 Aug 2011, at 15:13, Bruce Tulloch wrote: So I've got cross-compilation working but I have one last problem. I can't seem to get fpc to drive the linker to search the SDK path BEFORE the default paths. Specifically, i386-darwin-ld finds /usr/lib/crt1.o and NOT

[fpc-pascal] Cross Compiling from Linux to a Mac OS X 10.5 or 10.6 target. How?

2011-08-01 Thread Bruce Tulloch
Is anyone on the list doing this? If so, how did you set it up? The information on the FPC wiki and elsewhere in the lists is woefully out of date. Many thanks, Bruce. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Cross Compiling from Linux to a Mac OS X 10.5 or 10.6 target. How?

2011-08-01 Thread Jonas Maebe
On 01 Aug 2011, at 09:49, Bruce Tulloch wrote: The information on the FPC wiki and elsewhere in the lists is woefully out of date. In general, this is not supported (and personally I've never done it). You have to build an Apple tool chain (assembler, linker) on a Linux host, which is not

Re: [fpc-pascal] Cross Compiling from Linux to a Mac OS X 10.5 or 10.6 target. How?

2011-08-01 Thread Felipe Monteiro de Carvalho
On Mon, Aug 1, 2011 at 9:49 AM, Bruce Tulloch br...@causal.com wrote: Is anyone on the list doing this? If so, how did you set it up? If your objective is writing software for Mac OS X without actually having a Mac computer, then I seriously doubt it would work, unless your app is a simple

Re: [fpc-pascal] Cross Compiling from Linux to a Mac OS X 10.5 or 10.6 target. How?

2011-08-01 Thread Marco van de Voort
In our previous episode, Jonas Maebe said: The information on the FPC wiki and elsewhere in the lists is woefully out of date. In general, this is not supported (and personally I've never done it). You have to build an Apple tool chain (assembler, linker) on a Linux host, which is not

[fpc-pascal] Cross Compiling from Linux to a Mac OS X 10.5 or 10.6 target. How?

2011-08-01 Thread Bruce Tulloch
Thanks for the feedback everyone. I have a Mac on which I can run a native FPC/Lazarus environment for debugging purposes. My goal here is to add a cross compiling build for OS X along side existing Linux and Win32/64 targets so all our OS and CPU targets can be rebuilt at once. So, from what I