[fpc-pascal] Target Win32 missing

Lukas Gradl l.gradl at ssn.at
Mon Dec 7 01:06:16 CET 2015


Zitat von "Karoly Balogh (Charlie/SGR)" <charlie at scenergy.dfmk.hu>:

> 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
> crosscompiler, to produce Win32 (therefore x86/i386) code.
>
> There was no single compiler binary ever, which could do Win32 and Win64
> in one.
>
> Yes, indeed, have a sleep. :)

but there was fpc as a wrapper for a long time calling the right compiler.
I have ppcrossi386 and other crosscompilers in my path - as I had for  
a long time. (see my answer to Tomas answer btw...)

When calling ppcrossi386 directly the win32 Target ist there - but not  
when calling through the fpc wrapper....

Thanks for the help
Lukas
-- 

----------------------------
software security networks
Lukas Gradl <l.gradl at ssn.at>
Eduard-Bodem-Gasse 6
A - 6020 Innsbruck
Tel: +43-512-214040-0
Fax: +43-512-214040-21
----------------------------



More information about the fpc-pascal mailing list