[fpc-pascal] FPC 64bit for windows

James Richters james at productionautomation.net
Mon May 15 19:19:27 CEST 2017


> If you want the FPC 3.0.2 version, then download the official source archive for the 3.0.2 release from FPC's SourceForge page.

Could you please give me a link to download 3.0.2 source archive?      I'm on the FPC sourceforge page but I'm very confused as to what is what.



-----Original Message-----
From: fpc-pascal [mailto:fpc-pascal-bounces at lists.freepascal.org] On Behalf Of Graeme Geldenhuys
Sent: Monday, May 15, 2017 12:18 PM
To: fpc-pascal at lists.freepascal.org
Subject: Re: [fpc-pascal] FPC 64bit for windows

On 2017-05-15 16:57, James Richters wrote:
> I'm not quite following your batch file.  I have no 'src' directory, 
> where is that supposed to be?

If you want the FPC 3.0.2 version, then download the official source archive for the 3.0.2 release from FPC's SourceForge page.


> Here is where I am at: I have just downloaded your repo at
> https://github.com/graemeg/freepascal  and I have it saved at

That repo only tracks the Trunk (unstable) branch. So if you want the 
source code of a stable release, download the archive from SourceForge.

> 'J:\Programming\FreePascal'   Is there a better place to download the
> x86 64bit source?

I normally order my directories as follows:

   c:\FPC
        \2.6.4\
           \src
           \i386-win32
              \bin
              \lib
              \share
           \x86_64-win64
              \bin
              \lib
              \share
        \3.0.2\
           \src
           \i386-win32
              \bin
              \lib
              \share
           \x86_64-win64
              \bin
              \lib
              \share

So a source archive will be unpacked in the correct "src" directory. 
This setup also allows me to have a single global fpc.cfg file for all 
FPC versions. The paths in that fpc.cfg file uses FPC's macros to expand 
to the correct versions.

My Linux and FreeBSD systems have a similar layout.


> What directory do I put 'go.bat'

It will go in the c:\fpc\<version>\ directory.  But it doesn't really 
matter, as long as you adjust the paths inside the patch file to match 
your environment.


  Where am I setting Install_prefix?
> Is that where I put the source code or where I want the compiled
> version to go?

That's where the new compiled version will go. So if you use FPC 2.6.4 
to build a new 3.0.0 compiler, then the install prefix will translate to 
the path:  c:\fpc\3.0.0\x86_64-win64\


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 at lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list