Sign in Join

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

Mailing lists / lazarus / 2000-04

[Re: FPCDIR Was: RE: New Makefiles]

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

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

Curtis White
Marc Weustink wrote 15 lines
I got it, from the early beginnings I still had a FPCDIR environment variable. This brings me to the following: Are we going to assume that the fpc dir is always the parent of the lazarus dir ? So that we define fpcdir= in the makefiles or Are we stating that one should set the FPCDIR environment variable. For something foolproof I feel for the first one, for something more flexible I feel for the second on. Any toughts

At first, I wanted to vote for flexibility. But as I think more about it, Lazarus
can't work without FPC. So it really should not be separated from it.

Sun makes these assumptions now with Java and it seems to work out very well. As
long as it can find the interpreter, then it can find its library files because
they are relative to the location where the compiler and interpreter are installed. Plus, that way you don't have to worry about the developer forgetting
to set FPCDIR and having all kinds of problems.

So my vote is to assume fpc is always the parent dir. Of course, you know you
will probably get just as many good arguments for the other method as well :-)

Curtis

Reply by email