On 8/25/2011 03:40, Sven Barth wrote:
Am 25.08.2011 09:08, schrieb Andreas Schneider:
Done. Now you set the compiler (in Lazarus) to
C:\FPC\2.5.1\bin\i386-win32\fpc.exe and switch the target architecture/OS in
the project options depending on your needs - the 32bit fpc.exe will then
either invoke the 32bit ppcx86.exe to compile for 32bit, or the 32bit
ppccrossx86_86.exe to compile for 64bit.


One small addition to your solution:
copy C:\FPC\2.4.4\bin\i386-win32\fpc.cfg C:\FPC\2.5.1\bin\i386-win32\
<Edit the copied fpc.cfg and replace all "2.4.4" with "2.5.1">

why not just have one fpc.cfg and use $fpcversion instead of 2.4.4 or 2.5.1 and such??

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to