Jouke Rensma wrote:
Damn, do I hate this!!! Normally I think of myself as a high-skilled network engineer with a more than moderate computerknowledge. Most problems I can solve on my own without asking others. But this time I have no clue (again...).
So what I did:
- From my current Lazarus directory, I removed the fpcsrc directory.
- Created a new, empty fpcsrc directory.
- Performed a SVN CheckOut.
- Did a make clean all (while in c:\lazarus\fpcsrc).
- This breaks with the following:
C:/lazarus/pp/bin/i386-win32/ppc386.exe -Ur -Xs -OG2p3 -n -Fui386 -Fusystems -Fu C:/lazarus/fpcsrc/rtl/units/i386-win32 -Fii386 -FE. -FUi386/units/i386-win32 -dR
ELEASE  -di386 -dGDB -dBROWSERLOG -Fux86 pp.pas
C:\lazarus\pp\bin\i386-win32\ld.exe: cannot find wprt0.o
From some document I find that I should check THE fpc.cfg for existance of a line -Fu<path to rl files>
The only fpc.cfg I found contains this:
-Fuc:\lazarus\pp/units/$FPCTARGET/rtl
which I believe is correct. The file wprt0.o is there too.
Why does make try to find the in:
C:/lazarus/fpcsrc/rtl/units/i386-win32
?????

Now you are building fpc, not lazarus. The fpc build process is documented in the BuildFAQ: http://www.stack.nl/~marcov/buildfaq.pdf

If you do make all in the top dir of the fpc source, it won't use the fpc.cfg (see the -n parameter). It will look for the wprt0.o in C:/lazarus/fpcsrc/rtl/units/i386-win32. Also note, that to compile a new compiler you should start with the latest released compiler, in this case fpc 2.0.2. This compiler should be on the path or passed as make parameter: make PP=c:\path\to\ppc386.exe

HTH,
Vincent

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

Reply via email to