On Wed, Aug 3, 2011 at 4:56 PM, Marco van de Voort <[email protected]> wrote: > In our previous episode, Marcos Douglas said: >> >> This problem occurs just on Windows, ie, only Windows must have the >> data2inc.exe before run 'make all'? >> Sorry... but I never do this... I know, I know... 'stockmarket' right? > > No, it is universal. Some platforms (or better, filesystems) have a bigger > chance of mutilating file dates though. > >> > I always "make install" snapshots to a prefix, e.g. ~/builded and then >> > symlink relevant binaries into my path (e.g. from ~/bin to ~/builded/bin/ >> > and ~/builded/lib/fpc/x.y.z/ppc386) >> >> My 'prefix' is the same directory, see the script: >> -------------------------------------------------------------------- >> set myversion=%1 >> set myroot=%cd% >> set myFPC=%myroot%\compiler\%myversion% >> set mybinutils=%myroot%\binutils >> set >> PATH=%mybinutils%\i386-win32;%mybinutils%\x86_64-win64;%mybinutils%\arm-wince;%myFPC%\bin\i386-win32;%PATH% >> >> cd %myFPC% >> make clean all INSTALL_PREFIX=%myFPC% PP=%mybinutils%\ppc386.exe > > I have INSTALL_PREFIX=c:\pp<version> and then have > c:\pp<version>\bin\i386-win32 in my path.
The same for me: ... make clean all INSTALL_PREFIX=%myFPC% PP=%mybinutils%\ppc386.exe ... set PATH=%mybinutils%\i386-win32;%myFPC%\bin\i386-win32;%PATH% > I do this by having batchfiles like: > > @echo off > if "%OLDPATH%" neq "" goto :nosave > set OLDPATH=%PATH% > :nosave > SET PATH=%OLDPATH% > PATH c:\pp251\bin\i386-win32;%PATH% > > for different versions and one separately for cygwin. > > This allows me to quickly change toolchains. The same... but now only between /fixes_2_4 and /trunk I would like to override /fixes_2_4 to /fixes_2_6... just it! Marcos Douglas _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
