Sign in Join

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

Mailing lists / lazarus / 2001-01

Recompiles still seem to be needed

10 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Michael A. Hess
to Marc Weustink: You don't need that. Yesterday I was debugging/modifying some gtkInc files and every…
Marc Weustink wrote
First (if you've used ppc directly) remove all .o and .ppu files you find in the lazarus dir.

I only ever use 'make'. I never use ppc386 directly. I only did so a few minutes ago to test Shane's statement with regards to the Access Violation.

The makefiles place the units in separate dirs,

Correct.

use them from those dirs and will only clean those dirs.

Negative. I did a 'make clean' and it dit NOT remove any of the .o or .ppu from the various 'units' directories. I had to manually remove those files to clean those directories. The 'make clean' should remove them.

If that doesn't work, please let me know which units couldn't be found.

As stated above the 'make clean' doesn't do a complete clean correctly.

As to the lazarus build itself. I have manually cleaned and made sure that no .o .ppu files exist in the Lazarus tree. Then from the IDE's directory I do a 'make'.

This call to 'make' errors with unit 'Interfacebase' not fould. I check and the .o and .ppu do exist. :-\

I call 'make' again. This time it goes until it errors with unit 'Controls' not found.

'Make' again errors with unit 'Forms' not found.

'Make' again errors with unit 'StdCtrls' not found.

'Make again and this time Lazarus is built.

The only significant difference is the fact that I am using a compiler cycled from the main branch and not from the fixed branch. However this shouldn't make a difference. (at least I don't think so).

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Marc Weustink
to Michael A. Hess

I'll recheck that tonight.

+ From: Michael A. Hess
+
+ Marc Weustink wrote:
+ >
+ > First (if you've used ppc directly) remove all .o and .ppu files you
+ > find in the lazarus dir.
+
+ I only ever use 'make'. I never use ppc386 directly. I only
+ did so a few
+ minutes ago to test Shane's statement with regards to the Access
+ Violation.
+
+ > The makefiles place the units in separate dirs, +
+ Correct.
+
+ > use them from those dirs and will only clean those dirs. +
+ Negative. I did a 'make clean' and it dit NOT remove any of the .o or
+ .ppu from the various 'units' directories. I had to manually remove
+ those files to clean those directories. The 'make clean' should remove
+ them.
+
+ > If that doesn't work, please let me know which units couldn't be
+ > found.
+
+ As stated above the 'make clean' doesn't do a complete clean
+ correctly.
+
+ As to the lazarus build itself. I have manually cleaned and made sure
+ that no .o .ppu files exist in the Lazarus tree. Then from the IDE's
+ directory I do a 'make'.
+
+ This call to 'make' errors with unit 'Interfacebase' not
+ fould. I check
+ and the .o and .ppu do exist. :-\
+
+ I call 'make' again. This time it goes until it errors with unit
+ 'Controls' not found.
+
+ 'Make' again errors with unit 'Forms' not found. +
+ 'Make' again errors with unit 'StdCtrls' not found. +
+ 'Make again and this time Lazarus is built.
+
+ The only significant difference is the fact that I am using a compiler
+ cycled from the main branch and not from the fixed branch.
+ However this
+ shouldn't make a difference. (at least I don't think so). +
+ --
+ ==== Programming my first best destiny! ====
+
+ Michael A. Hess Miracle Concepts, Inc.
+ http://www.miraclec.com
+
+ _________________________________________________________________
+ To unsubscribe: mail with
+ "unsubscribe" as the Subject
+ archives at http://www.miraclec.com/list_archives/lazarus +

Reply by email

Peter Vreman
Show quoted text 7 lines
You don't need that. Yesterday I was debugging/modifying some gtkInc files and every modification I made directly compiled with make lcl, a result I never have seen before. I used a 1.0.5 compiler whith the latest changes, I changed and committed the new makefiles.

I guess you ppl all develop under linux. It would be possible to create a rpm file from the current 1.0.5 CVS tree and give it version 1.0.5.laz1. Then you can specify that version as the required compiler

Reply by email

Marc Weustink
to Shane Miller: See, I had to setup my ppc386.cfg file and do a ppc386 -B lazarus.pp to get it to run…

You don't need that.

Yesterday I was debugging/modifying some gtkInc files and every modification I made directly compiled with make lcl, a result I never have seen before.

I used a 1.0.5 compiler whith the latest changes, I changed and committed the new makefiles.

Compiling Lazarus with ppc directly gives al kinds of unreproducable problems (on different machines).

+ From: Shane Miller
+
+ See, I had to setup my ppc386.cfg file and do a
+
+
+ ppc386 -B lazarus.pp
+
+ to get it to run without Access Violations.
+
+ Shane
+
+
+ >>> 01/10/01 09:24AM >>>
+ Marc did you make that change in the Makefile that Peter
+ suggested with regards to recompiles?

Yep

+ I ask because I did a 'make clean' this morning and then tried to do a
+ make and it keeping dropping out with unit not found errors. I had to
+ run make 4 times before it finally did a complete build. Should this
+ still be happening or is it me?

First (if you've used ppc directly) remove all .o and .ppu files you find in the lazarus dir. The makefiles place the units in separate dirs, use them from those dirs and will only clean those dirs.

If that doesn't work, please let me know which units couldn't be found.

+ The IDE wouldn't then run of course due to Access Violations
+ but that is another matter.

I didn't apply the lastes changes from shane yesterday, but before that everything runs like...

Marc

Reply by email

Michael A. Hess
to Shane Miller: See, I had to setup my ppc386.cfg file and do a ppc386 -B lazarus.pp to get it to run…
Shane Miller wrote 6 lines
See, I had to setup my ppc386.cfg file and do a ppc386 -B lazarus.pp to get it to run without Access Violations.

I just tried it that way as a test and I can build Lazarus but it still just gives me an Access Violation and nothing more.

However that doesn't address my question about the need for recompiles with make.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Michael A. Hess

Marc did you make that change in the Makefile that Peter suggested with regards to recompiles?

I ask because I did a 'make clean' this morning and then tried to do a make and it keeping dropping out with unit not found errors. I had to run make 4 times before it finally did a complete build. Should this still be happening or is it me?

The IDE wouldn't then run of course due to Access Violations but that is another matter.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Shane Miller

See, I had to setup my ppc386.cfg file and do a

ppc386 -B lazarus.pp

to get it to run without Access Violations.

Shane

>> 01/10/01 09:24AM >>>

Marc did you make that change in the Makefile that Peter suggested with regards to recompiles?

I ask because I did a 'make clean' this morning and then tried to do a make and it keeping dropping out with unit not found errors. I had to run make 4 times before it finally did a complete build. Should this still be happening or is it me?

The IDE wouldn't then run of course due to Access Violations but that is another matter.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Shane Miller

Did you commit any changes in gtkinc files?

Shane

>> 01/10/01 10:31AM >>>

You don't need that.

Yesterday I was debugging/modifying some gtkInc files and every modification I made directly compiled with make lcl, a result I never have seen before.

I used a 1.0.5 compiler whith the latest changes, I changed and committed the new makefiles.

Compiling Lazarus with ppc directly gives al kinds of unreproducable problems (on different machines).

+ From: Shane Miller
+
+ See, I had to setup my ppc386.cfg file and do a
+
+
+ ppc386 -B lazarus.pp
+
+ to get it to run without Access Violations.
+
+ Shane
+
+
+ >>> 01/10/01 09:24AM >>>
+ Marc did you make that change in the Makefile that Peter
+ suggested with regards to recompiles?

Yep

+ I ask because I did a 'make clean' this morning and then tried to do a
+ make and it keeping dropping out with unit not found errors. I had to
+ run make 4 times before it finally did a complete build. Should this
+ still be happening or is it me?

First (if you've used ppc directly) remove all .o and .ppu files you find in the lazarus dir. The makefiles place the units in separate dirs, use them from those dirs and will only clean those dirs.

If that doesn't work, please let me know which units couldn't be found.

+ The IDE wouldn't then run of course due to Access Violations
+ but that is another matter.

I didn't apply the lastes changes from shane yesterday, but before that everything runs like...

Marc

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus

Reply by email