Sign in Join

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

Mailing lists / lazarus / 2008-02

How to compile to both Win32 and Win64

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

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

Craig Peterson

Hi all,

I have a project that I want to compile to both Win32 and Win64 targets, but I can't figure out how to make it work. I installed the Win32 version and then installed the Win64 version on top of it, but if I change the compiler options for Target OS and Target CPU I get the error message "The system.ppu was not found in the FPC directories. Make sure fpc is installed correctly and the fpc.cfg points to the right directory." I currently have two fpc.cfg files, on in C:\lazarus\fpc\2.2.1\bin\i386-win32 and one in
C:\lazarus\fpc\2.2.1\bin\x86_64-win64 which are identical.

Do I have to install Lazarus to two different directories, or is there some way to make the Target OS/CPU comboboxes work correctly with just one installation?

Thanks,
Craig Peterson
Scooter Software

Reply by email