Re: [fpc-pascal] Cross compiling: Win 32 to 64

2018-05-06 Thread Marcos Douglas B. Santos
Sorry guys, I've just forgot to setup in Lazarus, Config and Target this:
 -Twin64   _AND_  -Px86_64 parameters.

In the first time, I just set -Twin32 but -P stayed "(default)":|
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] Cross compiling: Win 32 to 64

2018-05-06 Thread 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. /bin/i386-win32
2. /units/i386-win32
3. /units/x86_64-win64

Should I have the same `/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...
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal