Felipe Monteiro de Carvalho wrote:
Michalis Kamburelis wrote:

In short, what you most probably want is to run command

  c:/Programas/FPC2.0.0/bin/i386-win32/make.exe \
    -C c:/Programas/FPC


Is there a precompiled version of FPC that includes the TThread fixes? I can only find 2.0.0 binaries to download...

ok, make kept having problems with cygwin paths, so I changed to the DOS Promp.

I built FPC with 2 targets:

c:/Programas/FPC2.0.0/bin/i386-win32/make.exe -C c:/Programas/FPC all

and

c:/Programas/FPC2.0.0/bin/i386-win32/make.exe -C c:/Programas/FPC install

No error messages, the compiler was created, things seam fine, but when I try to compile any Lazarus app it says: Can´t find unit System

Here are my environment options on Lazarus:

Compiler: C:\Programas\FPC\compiler\ppc386.exe

FPC Source: C:\Programas\FPC\

Make: C:\Programas\FPC2.0.0\bin\i386-win32\make.exe

'make install' created a lot of files at c:\pp what are those??? Should I use this directory for something?


Yes, you should use compiler inside c:/pp/bin/i386-win32/ppc386.exe, and you should adjust fpc.cfg to use units there (something like
  -Fuc:/pp/units/i386-win32/*
should be enough). That's the very sense of `make install' under Windows : to copy everything built to c:/pp. The directory "c:/pp" can be adjusted by overriding INSTALL_PREFIX variable at make's command-line.

Alternatively, you can simply not use `make install', and then you should use the compiler and the units made inside your source dir, C:\Programas\FPC\.

If you don't want all this hassle, just use FPC snapshots. Vincent pointed one location, another locations are [ftp://ftp.freepascal.org/pub/fpc/snapshot/v21/] and [ftp://ftp.freepascal.org/pub/fpc/snapshot/v20/] (pointed from [http://www.freepascal.org/develop.html]).

Michalis

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to