Am 27.02.2012 16:11, schrieb John Repucci:
    From: Sven Barth <[email protected]
    <mailto:[email protected]>>

    I did a quick test by manually building and installing FPC 2.7.1 on
    i386-win32. There fcl-stl is included in the installation. But you are
    indeed right that it is not included in the snapshot download. Please
    file a bug report.

    Regards,
    Sven


Done:  bug #: 0021384 <http://bugs.freepascal.org/view.php?id=21384>
Sven (or others), can you point me to a reference document on how to
build fpc on a windows system?

Here for example: http://www.stack.nl/~marcov/buildfaq.pdf

But basically the following should be sufficient:
* I assume the source is located in %FPCSRC% and a 2.6 is installed in %FPCBIN% (it's also ok if it is in %PATH%). I further assume that you want to install 2.7.1 to %FPCDEST%
* open cmd.exe and navigate to %FPCSRC%
* if the 2.6 compiler is in %PATH%:
  make all install INSTALL_PREFIX=%FPCDEST%
* if not:
  make all install INSTALL_PREFIX=%FPCDEST% FPC=%FPCBIN%\i386-win32\fpc.exe

Then you copy %FPCBIN%\i386-win32\fpc.cfg to %FPCDEST%\i386-win32\ and adjust any paths in there so that they fit your new %FPCDEST%

That should be it. You can then call the compiler using %FPCDEST%\i386-win32\fpc.exe

Regards,
Sven

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to