Felipe Monteiro de Carvalho wrote:
Bogusław Brandys wrote:

Working without problems with lazarus 0.9.11 revision 8188 and FPC 2.0.3
from 2005-11-17


How do you compile a subversion FPC on Windows?

Is 2.0.3 the subversion version?

Using cygwin the make command will activate Borland Make and fail. So I changed to use the make program from 2.0.0. The result was a target not found. I attached an image with the result, as cygwin won´t let me copy the text.

I tryed looking on the wiki and on the documentation, so if anyone can point me a link for building a subversion fpc on win32 I will appreciate it.


You're running make binary distributed by FPC and you pass there a Cygwin path, "/cygdrive/c/.../Makefile". You're making two errors:

1. make distributed with FPC comes from MinGW project, it doesn't understand Cygwin's paths.

2. You shouldn't specify Makefile path on the command-line. Usually on the command-line you specify only target names, and the "Makefile" file itself is found in current dir. Alternatively, you can specify directory where Makefile is present using -C option. Read GNU make manual for more detailed info on using Makefiles.

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

(I'm guessing the paths by looking at your screenshot -- I understand that you have FPC sources in c:/Programas/FPC and FPC 2.0.0 is installed in c:/Programas/FPC2.0.0).

More details are in great "Build FAQ" by Marco van de Voort, see [http://www.stack.nl/~marcov/buildfaq.pdf].

Michalis

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

Reply via email to