Re: [fpc-devel] Testing FPC on PPC Mac

2015-02-12 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 12 Feb 2015, at 14:13, Mark Morgan Lloyd wrote: Jonas Maebe wrote: On 12 Feb 2015, at 12:17, Mark Morgan Lloyd wrote: I presume that ld from Xcode 2.0 is slightly too old, and that that flag isn't supported. Is there a way of accommodating this at the command line, or

Re: [fpc-devel] Testing FPC on PPC Mac

2015-02-12 Thread Mark Morgan Lloyd
Pierre Free Pascal wrote: Hi Mark, you should use -s option for compilation. This will generate a ppas.sh script that contains the call to the linker. Maybe removing this command line option will be enough to fix linking. I hope you will be able to generate a recent Free Pascal Com

Re: [fpc-devel] Testing FPC on PPC Mac

2015-02-12 Thread Jonas Maebe
On 12 Feb 2015, at 14:13, Mark Morgan Lloyd wrote: Jonas Maebe wrote: On 12 Feb 2015, at 12:17, Mark Morgan Lloyd wrote: I presume that ld from Xcode 2.0 is slightly too old, and that that flag isn't supported. Is there a way of accommodating this at the command line, or is the only way

Re: [fpc-devel] Testing FPC on PPC Mac

2015-02-12 Thread Sven Barth
Am 12.02.2015 13:56 schrieb "Jonas Maebe" : > > > On 12 Feb 2015, at 12:17, Mark Morgan Lloyd wrote: > >> /bin/mkdir -p powerpc/units/powerpc-darwin >> /usr/local/bin/ppcppc -Ur -Xs -O2 -n -Fupowerpc -Fusystems -Fu/usr/local/src/fpc/trunk-2.7.1-29398/rtl/units/powerpc-darwin -Fipowerpc -FE. -FUpowe

Re: [fpc-devel] Testing FPC on PPC Mac

2015-02-12 Thread Mark Morgan Lloyd
Jonas Maebe wrote: On 12 Feb 2015, at 12:17, Mark Morgan Lloyd wrote: I presume that ld from Xcode 2.0 is slightly too old, and that that flag isn't supported. Is there a way of accommodating this at the command line, or is the only way by finding the flag in the build files and disabling it

Re: [fpc-devel] Testing FPC on PPC Mac

2015-02-12 Thread Jonas Maebe
On 12 Feb 2015, at 12:17, Mark Morgan Lloyd wrote: /bin/mkdir -p powerpc/units/powerpc-darwin /usr/local/bin/ppcppc -Ur -Xs -O2 -n -Fupowerpc -Fusystems -Fu/usr/ local/src/fpc/trunk-2.7.1-29398/rtl/units/powerpc-darwin -Fipowerpc - FE. -FUpowerpc/units/powerpc-darwin -dRELEASE -V2.6.4 -O- -gl

Re: [fpc-devel] Testing FPC on PPC Mac

2015-02-12 Thread Pierre Free Pascal
! Pierre Muller > -Message d'origine- > De : fpc-devel-boun...@lists.freepascal.org [mailto:fpc-devel- > boun...@lists.freepascal.org] De la part de Mark Morgan Lloyd > Envoyé : jeudi 12 février 2015 12:17 > À : fpc-devel@lists.freepascal.org > Objet : Re: [fpc-devel]

Re: [fpc-devel] Testing FPC on PPC Mac

2015-02-12 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Afaik that's it, binutils+make+gdb from xcode + the installer. Thanks, I'll see where I get to. Testing 2.7.1 at revision 29398, compiling with make NOGDB=1 OPT='-V2.6.4 -O- -gl -Xs-' all which has worked for the other architectures I've tried it on, I get /bin/mk

Re: [fpc-devel] Testing FPC on PPC Mac

2015-02-12 Thread Mark Morgan Lloyd
Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: which refers me to http://www.freepascal.org/xcode.html which turns out to be a redirect to http://www.freepascal.org/down/powerpc/macosx.html That's wrong and lands you on an old copy of the site. The central site's p

Re: [fpc-devel] Testing FPC on PPC Mac

2015-02-12 Thread Marco van de Voort
In our previous episode, Mark Morgan Lloyd said: > which refers me to http://www.freepascal.org/xcode.html which turns out > to be a redirect to http://www.freepascal.org/down/powerpc/macosx.html That's wrong and lands you on an old copy of the site. The central site's pages end on .var (apache

[fpc-devel] Testing FPC on PPC Mac

2015-02-12 Thread Mark Morgan Lloyd
I've got a spare PPC G4 Mac here with OS X 10.4 and possibly 10.5 that for a couple of years has been earmarked for an FPC and possibly Lazarus test system. I believe that I've got Xcode 2.0 on the 10.4 system, if I try running ld gcc or make from a shell I get an appropriate response. I've not