Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-05

Comple Win64 from Win32?

5 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Lee Jenkins

Curious if I need to be on a Win64 bit system to compile for that platform or can I cross compile from Win32 to Win64 or event compile Win32 from Win64...

Thanks,

Warm Regards, Lee

Reply by email

Razvan Adrian Bogdan
to Lee Jenkins
Lee Jenkins wrote 5 lines
Curious if I need to be on a Win64 bit system to compile for that platform or can I cross compile from Win32 to Win64 or event compile Win32 from Win64...

I think it should easily be possible to compile from Win64 to Win32 by just having a Win32 Lazarus and FPC.
Win64 keeps two sets of libs and runs the 32 bit apps in a wrapper just like Win32 runs 16bit apps.

Razvan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100511/80aa4e0c/attachment.html>

Reply by email

Lee Jenkins
to Razvan Adrian Bogdan
Razvan Adrian Bogdan wrote 17 lines
On Tue, May 11, 2010 at 8:28 AM, Lee Jenkins < <mailto:>> wrote: Curious if I need to be on a Win64 bit system to compile for that platform or can I cross compile from Win32 to Win64 or event compile Win32 from Win64... I think it should easily be possible to compile from Win64 to Win32 by just having a Win32 Lazarus and FPC. Win64 keeps two sets of libs and runs the 32 bit apps in a wrapper just like Win32 runs 16bit apps. Razvan

Still two separate installations to maintain and already using VMWare or Virtual Box for Linux, but hey better than nothing right? :-)

Thanks

Warm Regards, Lee

Reply by email

Graeme Geldenhuys
to Lee Jenkins: Curious if I need to be on a Win64 bit system to compile for that platform or can I cross…
Lee Jenkins wrote
Curious if I need to be on a Win64 bit system to compile for that platform or can I cross compile from Win32 to Win64 or event compile Win32 from Win64...

Just last week I had a discussion about this in the fpc-devel mailing list. Apparently the Win64 FPC compiler available for download is actually a win32->win64 cross-compiler. If you want a native Win64 FPC you need to compile it yourself.

I was told there is no issues creating Win64 executables from Win32 - except that you need a Win64 install to actually test it. :)

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/

Reply by email

Lukas Gradl
to Graeme Geldenhuys
Graeme Geldenhuys wrote 15 lines
On 11 May 2010 17:28, Lee Jenkins wrote: > > Curious if I need to be on a Win64 bit system to compile for that platform > or can I cross compile from Win32 to Win64 or event compile Win32 from > Win64... Just last week I had a discussion about this in the fpc-devel mailing list. Apparently the Win64 FPC compiler available for download is actually a win32->win64 cross-compiler. If you want a native Win64 FPC you need to compile it yourself. I was told there is no issues creating Win64 executables from Win32 - except that you need a Win64 install to actually test it. :)

It was me Graeme was talking with - I use Win32 to (cross)compile DLLs for Win64. Works well...

regards
Lukas

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

Reply by email