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

Reply via email to