I'm not quite following your batch file.  I have no 'src' directory, where is 
that supposed to be?

Here is where I am at:
I have just downloaded your repo at https://github.com/graemeg/freepascal  and 
I have it saved at 'J:\Programming\FreePascal'   Is there a better place to 
download the x86 64bit source?

My existing 32bit freepascal compiler I have been using is installed at 
'J:\Programming\FPCWin' I believe it's V3.0.0

What directory do I put 'go.bat' 
Where am I setting Install_prefix?  Is that where I put the source code or 
where I want the compiled version to go?

Thanks for the help!

Jim


=========================[ go.bat ]============================
set TARGET=x86_64-win64
set COMPILER=J:\Programming\FPCwin\fpc.exe
set NEWFPC=3.0.2

cd src
make clean

make all FPC=%COMPILER%
rem OPT="-Fl/usr/local/lib"

make install INSTALL_PREFIX=c:\lazarus\fpc\%NEWFPC%\%TARGET% FPC=%COMPILER%
cd ..
==============================================================

-----Original Message-----
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of 
Graeme Geldenhuys
Sent: Monday, May 15, 2017 7:41 AM
To: fpc-pascal@lists.freepascal.org
Subject: Re: [fpc-pascal] FPC 64bit for windows

On 2017-05-15 11:59, James Richters wrote:
> When I try to install 64 bit windows
> version, I don't have this anymore

The Free Pascal project, for some weird reason, only ships a 64-bit Windows 
cross-compiler. So you need both the 32-bit and 64-bit installs. 
I don't know why they do this.

Simply compile your own _full_ 64-bit FPC, by installing a previous or current 
stable 32-bit release. Download the latest stable release source code. And then 
build a new 64-bit target compiler and tools.

It might sound complicate, but the process is pretty easy. Here is a batch file 
I normally use to do this for me.


=========================[ go.bat ]============================
set TARGET=x86_64-win64
set COMPILER=c:\lazarus\fpc\2.6.2\bin\x86_64-win64\fpc.exe
set NEWFPC=2.6.4

cd src
make clean

make all FPC=%COMPILER%
rem OPT="-Fl/usr/local/lib"

make install INSTALL_PREFIX=c:\lazarus\fpc\%NEWFPC%\%TARGET% FPC=%COMPILER%

cd ..
==============================================================

Adjust the paths and versions to match your environment.

But again, I don't know why the FPC team doesn't make an official full 
64-bit Windows release??

Regards,
   Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to