Sign in Join

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

Mailing lists / fpc-pascal / 2018-05

Cross compiling: Win 32 to 64

2 messages · 1 person ·

Reply by email Subscribe to this list Your subscription

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

Marcos Douglas B. Santos

I have a script for a long time that I use to compile FPC from sources. Today I'm configuring a new machine and I would like to use this script to configure FPC and Lazarus — I have another script for Lazarus as well.

I've compiled FPC with no errors using this script. I use `crossinstall` too. Again, no errors.

You can see it here (today I changed it a little just to simplify) --> https://github.com/mdbs99/fp-scripts/blob/master/fpc-make.bat

So, my issue is that:
When I open Lazarus and setup from Win32 to Win64, the IDE says me: "The current FPC has no config file. It will probably miss some units. Check your installation of fpc."

After the installation, I can see these directories:
1. <fpc>/bin/i386-win32
2. <fpc>/units/i386-win32
3. <fpc>/units/x86_64-win64

Should I have the same `<fpc>/bin/x86_64-win64` directory after the compilation? What am I missing here?

Best,
Marcos Douglas

PS. I know that there are others ways to install, like fpcup|deluxe, but I would like to use my script because could be just a simple change that I forgot...

Reply by email