Re: [fpc-pascal] Target Win32 missing

2015-12-06 Thread Tomas Hajny
On Mon, December 7, 2015 01:31, Lukas Gradl wrote: . . > you mean calling through fpc -Twin32 -Pi386 ? > > I tried that - got the "Error: Illegal parameter: -Twin32" again... . . Yes, that's what I meant. Could you please check the timestamp of the fpc binary on your path to make sure that it

Re: [fpc-pascal] Target Win32 missing

2015-12-06 Thread Lukas Gradl
Zitat von "Karoly Balogh (Charlie/SGR)" : Hi On Sun, 6 Dec 2015, Lukas Gradl wrote: When calling fpc from linux command line -Twin32 is missing. -TWin64 works as expected. Where did -Twin32 go? Nowhere. Seems you are using a 64bit targeted compiler, which can only output x86_64 code, so

Re: [fpc-pascal] Target Win32 missing

2015-12-06 Thread leledumbo
> you mean calling through fpc -Twin32 -Pi386 ? > > I tried that - got the "Error: Illegal parameter: -Twin32" again... Works fine here. Can you ensure that fpc, ppcx64 and ppcross386 (the latter two are symlinks) are in the same /usr/bin? fpc driver will process -P parameter to decide which pp

Re: [fpc-pascal] Target Win32 missing

2015-12-06 Thread Lukas Gradl
Quoting from my previous e-mail above: 'You need to tell fpc to call compiler for the respective CPU using the -Pi386'. I.e. add '-Pi386' to the command line options of 'fpc' (together with '-Twin32' and whatever else you'd need there) and it should work. Adding the -Pi386 parameter to fpc.cfg w

Re: [fpc-pascal] Target Win32 missing

2015-12-06 Thread Tomas Hajny
On Mon, December 7, 2015 01:02, Lukas Gradl wrote: >> >> What does '`fpc -Pi386 -PB`' do (the outer quotes should be removed >> before >> copying it to the command line, the inner quotes are there on purpose)? > > it says: > /usr/bin/ppcross386 > > When I call that directly I get win32 under the -T

Re: [fpc-pascal] Target Win32 missing

2015-12-06 Thread Lukas Gradl
What does '`fpc -Pi386 -PB`' do (the outer quotes should be removed before copying it to the command line, the inner quotes are there on purpose)? it says: /usr/bin/ppcross386 When I call that directly I get win32 under the -T section But not when calling through fpc. You need to tell fpc to

Re: [fpc-pascal] Target Win32 missing

2015-12-06 Thread Karoly Balogh (Charlie/SGR)
Hi On Sun, 6 Dec 2015, Lukas Gradl wrote: > When calling fpc from linux command line -Twin32 is missing. -TWin64 works as > expected. Where did -Twin32 go? Nowhere. Seems you are using a 64bit targeted compiler, which can only output x86_64 code, so Win64 only. You need an i386 compiler or cross

Re: [fpc-pascal] Target Win32 missing

2015-12-06 Thread Tomas Hajny
On Mon, December 7, 2015 00:04, Lukas Gradl wrote: Hello, . . > When calling fpc from linux command line -Twin32 is missing. -TWin64 > works as expected. > > Where did -Twin32 go? > > I'm using Debian jessie x86_64 as main OS. > > I compile fpc from the latest trunk sources with a script I wro

[fpc-pascal] Target Win32 missing

2015-12-06 Thread Lukas Gradl
Hello! Sorry to disturb anyone... Perhaps I just need a little bit more sleep, but I cant find a solution to my problem... When calling fpc from linux command line -Twin32 is missing. -TWin64 works as expected. Where did -Twin32 go? I'm using Debian jessie x86_64 as main OS. I compile f