Re: [fpc-pascal] Re: Cross-compiling with FPC 2.5.1

2010-10-26 Thread patspiper
On 10/26/2010 06:40 PM, Marco van de Voort wrote: IIRC it is wiser to use the variables (CROSSBINDIR and CROSSBINUTILSPREFIX or so, see buildfaq), because these are then only applied to the relevant cycles of make crosscycle. The script buildcrosssnapshot.sh uses CROSSBINDIR and BINUTILSPREFI

Re: [fpc-pascal] Re: Cross-compiling with FPC 2.5.1

2010-10-26 Thread Jonas Maebe
On 26 Oct 2010, at 17:40, Marco van de Voort wrote: > In our previous episode, Jonas Maebe said: >> OPT="-XPi686-mingw32- -FD/full/path/to/crossbinutils" > > IIRC it is wiser to use the variables (CROSSBINDIR and CROSSBINUTILSPREFIX > or so, see buildfaq), because these are then only applied to

Re: [fpc-pascal] Re: Cross-compiling with FPC 2.5.1

2010-10-26 Thread patspiper
On 10/26/2010 05:48 PM, Jonas Maebe wrote: On 26 Oct 2010, at 16:38, patspiper wrote: i686-mingw32-as is present in the crossbinutils bin folder. But the error concerns i686-cygwin-as...why would it ask for the assembler with a i686-cygwin prefix? Because that's probably the version that th

Re: [fpc-pascal] Re: Cross-compiling with FPC 2.5.1

2010-10-26 Thread Marco van de Voort
In our previous episode, Jonas Maebe said: > Because that's probably the version that the person who added support > for cross-assembling to Win32 used. You can change the prefix by > adding the following to your make command line: > > OPT="-XPi686-mingw32-" > > If that crossbinutils folder i

Re: [fpc-pascal] Re: Cross-compiling with FPC 2.5.1

2010-10-26 Thread Jonas Maebe
On 26 Oct 2010, at 16:38, patspiper wrote: i686-mingw32-as is present in the crossbinutils bin folder. But the error concerns i686-cygwin-as...why would it ask for the assembler with a i686-cygwin prefix? Because that's probably the version that the person who added support for cross-ass

Re: [fpc-pascal] Re: Cross-compiling with FPC 2.5.1

2010-10-26 Thread patspiper
On 10/26/2010 11:48 AM, Vincent Snijders wrote: 2010/10/26 patspiper mailto:patspi...@yahoo.com>> The buildcrossbinutils.sh script produces i686-mingw32- binaries only (no i686-cygwin-), and yet, FPC 2.4.2 cross compiles without any problem. What is different about 2.5.1? Probabl

Re: [fpc-pascal] Re: Cross-compiling with FPC 2.5.1

2010-10-26 Thread Vincent Snijders
2010/10/26 patspiper > The buildcrossbinutils.sh script produces i686-mingw32- binaries only (no > i686-cygwin-), and yet, FPC 2.4.2 cross compiles without any problem. What > is different about 2.5.1? > Probably 2.5.1 contains assembler files, so it needs an assembler, 2.4.2 only pascal source

Re: [fpc-pascal] Re: Cross-compiling with FPC 2.5.1

2010-10-26 Thread patspiper
On 10/26/2010 10:18 AM, leledumbo wrote: make[4]: /home/me/Programs/fpc/cross_fpc/cross/bin/i686-cygwin-as: Command not found The error is very clear, do you have the assembler in the indicated directory? Make sure the result of building binutils have i686-cygwin- prefix. Otherwise, yo

[fpc-pascal] Re: Cross-compiling with FPC 2.5.1

2010-10-26 Thread leledumbo
> make[4]: /home/me/Programs/fpc/cross_fpc/cross/bin/i686-cygwin-as: > Command not found The error is very clear, do you have the assembler in the indicated directory? Make sure the result of building binutils have i686-cygwin- prefix. Otherwise, you have to specify -XP compiler option to specif