Yes, no problem. If you're going to use a newer compiler, I would advice you to upgrade lazarus to trunk version too anyway
Yes, no problem. If you're going to use a newer compiler, I would advice you to upgrade lazarus to trunk version too anyway
Peregrinus, expectavi pedes meos in cymbalis
Nullus norvegicorum sole urinat
Games:
Seafox
Pages:
Syntax Error Software
itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
Hang on j, you mean we're already at 2.5.x WTF? I'm still getting used to everything in 2.4.2....
I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.
It's been 2.5.1 for a very long time. That's just the version number for the trunk version
Lazarus and FPC are seperate products. Release versions of FPC are just bundled with the Lazarus releases so it's possible to compile programs
Peregrinus, expectavi pedes meos in cymbalis
Nullus norvegicorum sole urinat
If you're on Windows (32-bit version), here's .bat file I use to compile FPC trunk after I update SVN (just adjust FPCMAKEPATH, FPCPATH and OUTPATH - in this case, C:/dev/fpc/2.4.2 is location of the latest official FPC, and C:/dev/fpc/2.5.1 is location where I want FPC to be installed for later use). It does full clean-make-install cycle.
set FPCMAKEPATH=C:/dev/fpc/2.4.2
set FPCPATH=C:/dev/fpc/2.4.2
set OUTPATH=C:/dev/fpc/2.5.1
for /r %OUTPATH%\examples %%d in (.svn) do @rmdir /s /q %%d
%FPCMAKEPATH%/bin/i386-win32/make clean FPC=%FPCPATH%/bin/i386-win32/ppc386.exe
if errorlevel 1 goto quit
%FPCMAKEPATH%/bin/i386-win32/make all FPC=%FPCPATH%/bin/i386-win32/ppc386.exe
if errorlevel 1 goto quit
%FPCMAKEPATH%/bin/i386-win32/make install FPC=%FPCPATH%/bin/i386-win32/ppc386.exe INSTALL_BASEDIR=%OUTPATH%
for /r %OUTPATH%\examples %%d in (.svn) do @rmdir /s /q %%d
:quit
As of Lazarus, just point FPC directory to C:/dev/fpc/2.5.1 (or wherever you set OUTPATH in the above .bat file), and use built-in feature to recompile it.
blog: http://alexionne.blogspot.com/
Games:
Seafox
Pages:
Syntax Error Software
itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
@alexione: hmm...I have downloaded the trunk fpc, but I have some questions.
1. Do I set the %OUTPATH% string to the fpc folder that I just downloaded from SVN?
2. Where do I put the batch file to do the compiling that you gave me? In the root fpc folder in 1 ?
cheers,
Paul
Games:
Seafox
Pages:
Syntax Error Software
itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
Bookmarks