× CodeTyphon MS Windows (XP, Vista, Win7, Win8.x and Win10) OS Development, discussions and problems

Question Compiler output on Windows

  • Adrijan
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 1 week ago #15208 by Adrijan
Compiler output on Windows was created by Adrijan
Hi,

for some reason I need to have one of my executables to be compiled in both 32-bit and 64-bit versions.
Is there a way to automate this, e.g. that 32-bit compiler makes myapp_32.exe and the other one myapp_64.exe, without having to rename it manually?

Thanks

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 month 1 week ago - 1 month 1 week ago #15209 by Sternas Stefanos
Replied by Sternas Stefanos on topic Compiler output on Windows
Thanks Sir

a)
CodeTyphon on Windows has MultiArch (Multi-Architecture) software technology.
You can open:
-TyphonIDE 32 to build native your protect for win32
-TyphonIDE 64 to build native your protect for win64

b) Use CrossBuild for Win64.
With TyphonIDE 32 as primary IDE
-Build crossbuild FPC element for win64 (x86_64-win64)
-Use Project modes to build your project for win32 and win64 more info here

PilotLogic Architect and Core Programmer
Last edit: 1 month 1 week ago by Sternas Stefanos.

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

  • Adrijan
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 1 week ago #15210 by Adrijan
Replied by Adrijan on topic Compiler output on Windows
Thank you sir.

This solves my problem partially:
I can open TyphonIDE 32 and Build default mode -> it builds myapp_32.exe
I can open TyphonIDE 64 and Build win64 mode -> it builds myapp_64.exe

But when I try to build both modes simultaneously:
TyphonIDE 32 will not build myapp_64.exe
TyphonIDE 64 will not build myapp_62.exe

I both cases it says:
Compile package adFCL 6.4.1: Exit code 1, Errors: 1
Error: Illegal parameter Twin64

Maybe I should upgrade to current version of CT, as I am using CT 6.4...

Adrijan

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 month 1 week ago #15211 by Sternas Stefanos
Replied by Sternas Stefanos on topic Compiler output on Windows
Yes
Always you must use the latest CT

PilotLogic Architect and Core Programmer
The following user(s) said Thank You: Adrijan

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