Welcome, Guest
Username: Password: Remember me
CodeTyphon MS Windows (Win7, Win8.x, Win10 and Win11) OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Compiler output on Windows 4 years 1 month ago #15208

  • Adrijan
  • Adrijan's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
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.

Compiler output on Windows 4 years 1 month ago #15209

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
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

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

Last edit: by Sternas Stefanos.

Compiler output on Windows 4 years 1 month ago #15210

  • Adrijan
  • Adrijan's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
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.

Compiler output on Windows 4 years 1 month ago #15211

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
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.

  • Page:
  • 1