Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2000-04

win32 howto

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

mooseman

i am simply unable to get a working setup as per the howto 0.93 on the site.

everything seems to be ok, except that darned make problem that i have had all along.

i can use cvs fine. checkout and update work ok. i can manually compile using ppc386 blah, blah....
i just cannot get past the 'make.exe No Rule to make target. Stop' error after issueing a 'make clean' (or make anything for that matter).

i am certain of the copy of make is indeed make gnu version 3.76.1 rather than a borland version.

the only idea that i can come up with is there must be something different needed with win32 makefiles in comparison to linux makefiles...

??? just can't figure it out.

jim.

Reply by email

Marc Weustink
to mooseman
mooseman wrote 9 lines
i am simply unable to get a working setup as per the howto 0.93 on the site. everything seems to be ok, except that darned make problem that i have had all along. i can use cvs fine. checkout and update work ok. i can manually compile using ppc386 blah, blah.... i just cannot get past the 'make.exe No Rule to make target. Stop' error after issueing a 'make clean' (or make anything for that matter).

To check I got the latest binary win32 compiler
ftp://ftp.freepascal.org/pub/fpc/dist/Win32/w3209914.zip and tried to cycle the compiler. That didn't work.

L:\compiler>make
The system cannot find the batch label specified -

L:\compiler>make cycle
The name specified is not recognized as an
internal or external command, operable program or batch file.

& was unexpected at this time.

Then I tried to build lazarus

That went well till:

L:\lazarus>make
e:/programs/pp/bin/win32/make.exe -C lcl all
make.exe[1]: Entering directory `l:/lazarus/lcl'
rm -f allunits.exe
e:/programs/pp/bin/win32/make.exe -C interfaces all make.exe: Entering an unknown directory
make.exe: *** interfaces: No such file or directory (ENOENT). Stop. make.exe: Leaving an unknown directory
make.exe[1]: *** [interfaces_all] Error 2
make.exe[1]: Leaving directory `l:/lazarus/lcl'
make.exe: *** [lcl_all] Error 2

It seems that make has a problem with long filenames (as reported earlier) I created a symbolic link to interf -> interfaces

L:\lazarus\lcl>make -C interf all
make.exe: Entering directory `l:/lazarus/lcl/interf' e:/programs/pp/bin/win32/make.exe -C gtk all
make.exe[1]: Entering directory `l:/lazarus/lcl/interf/gtk' make.exe[1]: *** No rule to make target `gtkwinapiwindow.ppw', needed by `fpc_units'. Stop.
make.exe[1]: Leaving directory `l:/lazarus/lcl/interf/gtk' make.exe: *** [gtk_all] Error 2
make.exe: Leaving directory `l:/lazarus/lcl/interf'

OK this has something to do with my symlink or the Makefile

Any idea how to tell make to use long filenames ?

Marc

Reply by email