Sign in Join

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

Mailing lists / lazarus / 2001-01

lcl recompile hacks in makefiles

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Peter Vreman
Show quoted text 8 lines
At 21:46 08-01-01 +0100, Peter wrote: >FYI: All the LCL recompile hacks can be removed when you include the line > >[require] >options=-Ca OK I'll add that. What does it do, it's not in the ppc386 -?

It sets the used registers value to all, that means that implementation details about a procedure are the same as the value in the interface section, so no recompiles are necessary.

Reply by email

Marc Weustink
to Peter Vreman: FYI: All the LCL recompile hacks can be removed when you include the line [require]…
Peter wrote
FYI: All the LCL recompile hacks can be removed when you include the line [require] options=-Ca

OK I'll add that. What does it do, it's not in the ppc386 -?

in the LCL Makefile.fpc Also a 'make clean' tries to clean the designer dir that has no Makefile yet.

I already fixed that, but didn't commit till I was sure why it was there.

And a last tip. Why is the 'allunits' a program? Having it also as a unit will remove a the linking of the allunits program. The only thing you then have to take care is that allunits.ppu / allunits.o aren't installed when creating a make install target

Hmmm.... didn't think of that. (itst thrown away afterwards anyhow)

The reason for allunits is to let the compiler decide in which order to compile the units and not make

Thanks, Marc

Reply by email

Peter Vreman

FYI: All the LCL recompile hacks can be removed when you include the line

[require]
options=-Ca

in the LCL Makefile.fpc

Also a 'make clean' tries to clean the designer dir that has no Makefile yet.

And a last tip. Why is the 'allunits' a program? Having it also as a unit will remove a the linking of the allunits program. The only thing you then have to take care is that allunits.ppu / allunits.o aren't installed when creating a make install target

Peter

Reply by email