Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Is it possible to compile from Linux to Windows? 10 years 2 weeks ago #7314

  • Matteo Riso
  • Matteo Riso's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • ZipGenius developer
  • Posts: 17
  • Thank you received: 0
Hello.
I'm on Linux Kubuntu 15.04 64bit. Is it possible to compile an application for Windows 64 bit?
If I try, the compiler stops because it cannot find the "Windows" unit. I searched in my binLibraries path but I cannot find it.
Any advice, please?
ZipGenius - the free file compression suite for Windows (and Linux soon).

Please Log in or Create an account to join the conversation.

Is it possible to compile from Linux to Windows? 10 years 2 weeks ago #7315

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4562
  • Thank you received: 1122
Sir
1)-you must first build FPC Cross-Element for windows 32 or 64
(CodeTyphon has only sources)
2)-windows don't need OS libraries

give me 2 minutes to take some screens
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Is it possible to compile from Linux to Windows? 10 years 2 weeks ago #7316

  • Matteo Riso
  • Matteo Riso's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • ZipGenius developer
  • Posts: 17
  • Thank you received: 0
Thank you very much. I already built FPC cross-elements.
I'm waiting for the screens.
ZipGenius - the free file compression suite for Windows (and Linux soon).

Please Log in or Create an account to join the conversation.

Is it possible to compile from Linux to Windows? 10 years 2 weeks ago #7318

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4562
  • Thank you received: 1122
Sir
-Build FPC Cross-Element
-Set Target on your project
-Set platform
-and build

the procedure is the same
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Is it possible to compile from Linux to Windows? 10 years 2 weeks ago #7319

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4562
  • Thank you received: 1122
If you want to run your windows 64 application on Linux
-Install WINE ( has many limitations)
-Set debugger to Typhon IDE = NONE
-Run your app

or copy your app to a vitrual machine and run....
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Is it possible to compile from Linux to Windows? 10 years 2 weeks ago #7320

  • Matteo Riso
  • Matteo Riso's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • ZipGenius developer
  • Posts: 17
  • Thank you received: 0
Oh Lord! I forgot to set the target platform! Now I understand what was wrong. Thank you very much :)
ZipGenius - the free file compression suite for Windows (and Linux soon).

Please Log in or Create an account to join the conversation.

Is it possible to compile from Linux to Windows? 10 years 2 weeks ago #7321

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4562
  • Thank you received: 1122
Have fun Sir
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: Matteo Riso

Please Log in or Create an account to join the conversation.

Is it possible to compile from Linux to Windows? 10 years 2 weeks ago #7322

  • Matteo Riso
  • Matteo Riso's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • ZipGenius developer
  • Posts: 17
  • Thank you received: 0
Wait! What are those Google API tabs? :) They look interesting ;)
ZipGenius - the free file compression suite for Windows (and Linux soon).

Please Log in or Create an account to join the conversation.

Is it possible to compile from Linux to Windows? 10 years 2 weeks ago #7323

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4562
  • Thank you received: 1122
It's a new FreePascal WEB library (BIG) info
for Google APIs info
it's under development

You can try this and help FreePascal team with LAB CT 5.4 Revision: 005311 here
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: Matteo Riso

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.
  • Page:
  • 1