Re: [fpc-pascal] getting cross with the cross compiler

2017-10-10 Thread pascalX
On 10/10/17 10:08, Tony Whyman wrote: On 10/10/17 05:51, pasc...@piments.com wrote: Were it not for the version restrictions in building fpc one could arguably say this was a reasonable assumption.  As it is, it leads to a very confused and confusing state which has taken several days to under

Re: [fpc-pascal] getting cross with the cross compiler

2017-10-10 Thread Marco van de Voort
In our previous episode, pasc...@piments.com said: y> > release compiler (currently 3.0.0 or 3.0.2) is supported. > > > > Regards, > > Sven > > You were mis-reading what I meant. I know it is supposed to complain > when I use 3.1.1 , my point was the messages said I should ONLY use > 3.0.0 whe

Re: [fpc-pascal] getting cross with the cross compiler

2017-10-10 Thread pascalX
On 10/10/17 10:35, Tony Whyman wrote: On 10/10/17 05:51, pasc...@piments.com wrote: $make all NOGDB=1 OS_TARGET=linux CPU_TARGET=x86_64 INSTALL_PREFIX=/usr Makefile:2914: *** The only supported starting compiler version is 3.0.0. You are trying to build with 3.1.1..  Stop. BTW is  tha

Re: [fpc-pascal] getting cross with the cross compiler

2017-10-10 Thread pascalX
On 10/10/17 10:08, Tony Whyman wrote: Within the Lazarus parts of the libraries, the Linux libs have the gtk2 interface libraries, while the Windows ones have the win32 interfaces libraries (both win32 and win64). Thanks, that was the missing element. I dropped using gtk2 and it works perfect

Re: [fpc-pascal] getting cross with the cross compiler

2017-10-10 Thread pascalX
On 10/10/17 10:25, Sven Barth via fpc-pascal wrote: Am 10.10.2017 08:08 schrieb >: > $make all         NOGDB=1 OS_TARGET=linux CPU_TARGET=x86_64 INSTALL_PREFIX=/usr > Makefile:2914: *** The only supported starting compiler version is 3.0.0. You are trying to build

Re: [fpc-pascal] getting cross with the cross compiler

2017-10-10 Thread Tony Whyman
On 10/10/17 05:51, pasc...@piments.com wrote: $make all NOGDB=1 OS_TARGET=linux CPU_TARGET=x86_64 INSTALL_PREFIX=/usr Makefile:2914: *** The only supported starting compiler version is 3.0.0. You are trying to build with 3.1.1..  Stop. BTW is  that msg  is correct? I just built with 3.

Re: [fpc-pascal] getting cross with the cross compiler

2017-10-10 Thread Sven Barth via fpc-pascal
Am 10.10.2017 08:08 schrieb : > $make all NOGDB=1 OS_TARGET=linux CPU_TARGET=x86_64 INSTALL_PREFIX=/usr > Makefile:2914: *** The only supported starting compiler version is 3.0.0. You are trying to build with 3.1.1.. Stop. > > BTW is that msg is correct? I just built with 3.0.2 , it see

Re: [fpc-pascal] getting cross with the cross compiler

2017-10-10 Thread Tony Whyman
On 10/10/17 05:51, pasc...@piments.com wrote: Were it not for the version restrictions in building fpc one could arguably say this was a reasonable assumption.  As it is, it leads to a very confused and confusing state which has taken several days to understand and untangle. Maybe that could

Re: [fpc-pascal] getting cross with the cross compiler

2017-10-09 Thread pascalX
On 08/10/17 10:12, Tomas Hajny wrote: On Sat, October 7, 2017 22:13, pasc...@piments.com wrote: Hi, . . Can you offer any insights into what is going on with Lazarus not locating the system unit and friends. As you acknowledge they are treated somewhat differently due to problems with th

Re: [fpc-pascal] getting cross with the cross compiler

2017-10-08 Thread Tomas Hajny
On Sat, October 7, 2017 22:13, pasc...@piments.com wrote: Hi, . . > Can you offer any insights into what is going on with Lazarus not > locating the system unit and friends. As you acknowledge they are > treated somewhat differently due to problems with the underlying > platforms. > > I am wo

Re: [fpc-pascal] getting cross with the cross compiler

2017-10-08 Thread pascalX
On 08/10/17 08:02, Sven Barth via fpc-pascal wrote: Am 08.10.2017 01:51 schrieb >: > firstly may I take the opportunity to congratulate you on what have managed to do in creating fpc and lazarus.  Despite what seems like a few outstanding quirks it is an amazing achi

Re: [fpc-pascal] getting cross with the cross compiler

2017-10-08 Thread Sven Barth via fpc-pascal
Am 08.10.2017 01:51 schrieb : > firstly may I take the opportunity to congratulate you on what have managed to do in creating fpc and lazarus. Despite what seems like a few outstanding quirks it is an amazing achievement. Note: Florian only developed FPC. Lazarus is done by a different though som

Re: [fpc-pascal] getting cross with the cross compiler

2017-10-07 Thread pascalX
On 07/10/17 19:55, Florian Klämpfl wrote: Am 07.10.2017 um 12:14 schrieb Sven Barth via fpc-pascal: Am 07.10.2017 11:11 schrieb "Karoly Balogh (Charlie/SGR)" mailto:char...@scenergy.dfmk.hu>>: Hi, On Sat, 7 Oct 2017, Sven Barth via fpc-pascal wrote: So where is my cross compiler ?? Thanks

Re: [fpc-pascal] getting cross with the cross compiler

2017-10-07 Thread Florian Klämpfl
Am 07.10.2017 um 12:14 schrieb Sven Barth via fpc-pascal: > Am 07.10.2017 11:11 schrieb "Karoly Balogh (Charlie/SGR)" > >: >> >> Hi, >> >> On Sat, 7 Oct 2017, Sven Barth via fpc-pascal wrote: >> >> > > So where is my cross compiler ?? >> > > >> > > Thanks for any

Re: [fpc-pascal] getting cross with the cross compiler

2017-10-07 Thread pascalX
On 07/10/17 11:14, Sven Barth via fpc-pascal wrote: Am 07.10.2017 11:11 schrieb "Karoly Balogh (Charlie/SGR)" mailto:char...@scenergy.dfmk.hu>>: > > Hi, > > On Sat, 7 Oct 2017, Sven Barth via fpc-pascal wrote: > > > > So where is my cross compiler ?? > > > > > > Thanks for any help and s

Re: [fpc-pascal] getting cross with the cross compiler

2017-10-07 Thread Sven Barth via fpc-pascal
Am 07.10.2017 11:11 schrieb "Karoly Balogh (Charlie/SGR)" < char...@scenergy.dfmk.hu>: > > Hi, > > On Sat, 7 Oct 2017, Sven Barth via fpc-pascal wrote: > > > > So where is my cross compiler ?? > > > > > > Thanks for any help and suggestions. > > > > A single compiler binary can always compile for a

Re: [fpc-pascal] getting cross with the cross compiler

2017-10-07 Thread pascalX
On 07/10/17 10:01, Sven Barth via fpc-pascal wrote: Am 07.10.2017 10:57 schrieb >: > > Hi, > > I am having trouble getting fpc to cross-compiler for win64 target. > > I'm using fedora 26 which supplies 3.0.2 > > I used instructions here to create the cross comp

Re: [fpc-pascal] getting cross with the cross compiler

2017-10-07 Thread pascalX
On 07/10/17 10:01, Sven Barth via fpc-pascal wrote: Am 07.10.2017 10:57 schrieb >: > > Hi, > > I am having trouble getting fpc to cross-compiler for win64 target. > > I'm using fedora 26 which supplies 3.0.2 > > I used instructions here to create the cross comp

Re: [fpc-pascal] getting cross with the cross compiler

2017-10-07 Thread Karoly Balogh (Charlie/SGR)
Hi, On Sat, 7 Oct 2017, Sven Barth via fpc-pascal wrote: > > So where is my cross compiler ?? > > > > Thanks for any help and suggestions. > > A single compiler binary can always compile for all supported targets of > that processor. So as long as all the units are available you simply > need to

Re: [fpc-pascal] getting cross with the cross compiler

2017-10-07 Thread Karoly Balogh (Charlie/SGR)
Hi, On Fri, 6 Oct 2017, pasc...@piments.com wrote: > This builds fine using the stock fpc 3.0.2 with linux target. However, > the supposed cross-compiler seems to be trying to build for linux. The cross compiler binary itself is only CPU specific, not OS specific. And because for the cross CPU

Re: [fpc-pascal] getting cross with the cross compiler

2017-10-07 Thread Sven Barth via fpc-pascal
Am 07.10.2017 10:57 schrieb : > > Hi, > > I am having trouble getting fpc to cross-compiler for win64 target. > > I'm using fedora 26 which supplies 3.0.2 > > I used instructions here to create the cross compiler using trunk fpc since the fedora fpc-src does not seem to have the full Makefile struc

[fpc-pascal] getting cross with the cross compiler

2017-10-07 Thread pascalX
Hi, I am having trouble getting fpc to cross-compiler for win64 target. I'm using fedora 26 which supplies 3.0.2 I used instructions here to create the cross compiler using trunk fpc since the fedora fpc-src does not seem to have the full Makefile structure: http://wiki.lazarus.freepascal.or