Sign in Join

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

Mailing lists / lazarus / 2000-04

make problems....

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

mooseman
to mooseman: i keep getting a make error when i try to rebuild my win32 compiler and for that matter…

yes, i would be better off using the makefiles, but i can't seem to figure out how to get past the
'no rule to make target.... '
i used absolute pathing in my batch files to be sure they were going to the right place.

one thing that is nagging at me.... i don't seem to have a compiler dir. as far as i know, i have downloaded all the various files that were recommended....

i hate tying all of you up with silly questions.

i think i am having some self made setup issues. i am going to blow it all out and start again from scratch.
will get back to you all if i get stuck again.

thanks!
moose.

you wrote 46 lines
> i keep getting a make error when i try to rebuild my win32 compiler and for > that matter when i try to make all my win32 stuff.... > > make throws a > make.exe: "no rule to make target 'clean'. Stop." > make.exe: "no rule to make target 'cycle'. Stop." This looks like make.exe can't find the makefile. I don't know if the solution is so simple, but are you sure you are in the correct directory when start rebuilding the compiler? If you want to cycle the compiler, first go to the ....\source\compiler directory. If you type dir make* you should see both Makefile.fpc and Makefile. The latter file is the one that make.exe uses. > i generated my batch files based on the howto win32 0.93 on the website. check the drive-letter? > also, when i just try to compile lazarus.pp using ppc386 lazarus, i get all > manner of pathing problems for ppc to find the units etc. That is why you should use the makefiles... ;-) > i tried to edit the lazarus.pp file to redirect the uses statements to the > appropriate subdirs but then i get illegal char erros. it would seem that > ppc does not like either / or \ in a uses statement.... to use units from a different directory than the current one use the -Fu switch. e.g. ppc386 lazarus.pp -Fulcl -Fucomponents\mwedit But I strongly suggest using the makefile, otherwise you will need to type a lot of paths(also the paths to the include files with -Filcl\include etc.). I hope this helps you, if not please send some more information. Vincent Snijders _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

mooseman

i keep getting a make error when i try to rebuild my win32 compiler and for that matter when i try to make all my win32 stuff....

make throws a
make.exe: "no rule to make target 'clean'. Stop." make.exe: "no rule to make target 'cycle'. Stop."

i generated my batch files based on the howto win32 0.93 on the website.

any ideas? probably something simple. i am just not really up on command line compiling... (been using delphi for too long obviously)

also, when i just try to compile lazarus.pp using ppc386 lazarus, i get all manner of pathing problems for ppc to find the units etc. i tried to edit the lazarus.pp file to redirect the uses statements to the appropriate subdirs but then i get illegal char erros. it would seem that ppc does not like either / or \ in a uses statement....

figured i would start off with what is am more familiar with, ie: win32 before i moved onto the unknown linux. even though i have a linux box right beside my win box....

any help appreciated,
moose.

Reply by email

Vincent Snijders
to mooseman
i keep getting a make error when i try to rebuild my win32 compiler and

for

Show quoted text 5 lines
that matter when i try to make all my win32 stuff.... make throws a make.exe: "no rule to make target 'clean'. Stop." make.exe: "no rule to make target 'cycle'. Stop."

This looks like make.exe can't find the makefile.
I don't know if the solution is so simple, but are you sure you are in the correct directory when start rebuilding the compiler?

If you want to cycle the compiler, first go to the ....\source\compiler directory.
If you type
dir make*
you should see both Makefile.fpc and Makefile. The latter file is the one that make.exe uses.

i generated my batch files based on the howto win32 0.93 on the website.

check the drive-letter?

also, when i just try to compile lazarus.pp using ppc386 lazarus, i get

all

manner of pathing problems for ppc to find the units etc.

That is why you should use the makefiles... ;-)

i tried to edit the lazarus.pp file to redirect the uses statements to the appropriate subdirs but then i get illegal char erros. it would seem that ppc does not like either / or \ in a uses statement....

to use units from a different directory than the current one use the -Fu switch. e.g.
ppc386 lazarus.pp -Fulcl -Fucomponents\mwedit

But I strongly suggest using the makefile, otherwise you will need to type a lot of paths(also the paths to the include files with -Filcl\include etc.).

I hope this helps you, if not please send some more information.

Vincent Snijders

Reply by email