Sign in Join

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

Mailing lists / lazarus / 2003-08

Trouble with crosscompiling

7 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Marco van de Voort
to Mattias Gaertner: On Sun, 17 Aug 2003 11:19:50 +0200 Thanks. That was(is) the problem. A simple "touch"…
Show quoted text 15 lines
On Sun, 17 Aug 2003 11:19:50 +0200 Jeroen van Iddekinge wrote: > Hi > sw is the windows assembler file. > I think I had the same problem with linux. Problerly in version 1.0.10 > the compiler compares the time of the unit file with the object file. > I don't know why but, somtimes the .ow file has an earlier time stamp > than the .ppu file. This has maby somtimes to do with the > order in wich the file is produced or when the unit file is closed > (after the assembler is run). > I dont know.... Thanks. That was(is) the problem. A simple "touch" fixed the problem. How can add this to the Makefile?

Don't. Mosttimes the compiler check is sane. Simply make a script to quickly touch the entire directory for when you are in doubt.

Reply by email

Mattias Gaertner

Hi,

When I cross compile the win32 intf, I get very often a strange message

[...]
PPU Check file
/home/mattias/pascal/wichtig/lazarus/lcl/units/interfacebase.ow time 2003/08/17 10:33:00
PPU Check file
/home/mattias/pascal/wichtig/lazarus/lcl/units/interfacebase.sw time Not Found
Recompiling unit, obj and asm are older than ppufile [...]

This happens when I add an -d option or I add/remove a {$DEFINE bla} somewhere in the LCL code. The position of the {$DEFINE} (interface or implementation) is not important.

Two questions:
What is an .sw file?
Has anybody seen this bug?

Mattias

Reply by email

Marco van de Voort
to Jeroen van Iddekinge: Hi sw is the windows assembler file. I think I had the same problem with linux. Problerly…
Show quoted text 8 lines
sw is the windows assembler file. I think I had the same problem with linux. Problerly in version 1.0.10 the compiler compares the time of the unit file with the object file. I don't know why but, somtimes the .ow file has an earlier time stamp than the .ppu file. This has maby somtimes to do with the order in wich the file is produced or when the unit file is closed (after the assembler is run). I dont know....

Yes, I also had this sometimes when copying source repositories. I then do a global touch :_)

The .sw is probably the result of a -a run or a leftover from when a compiler died. Simply delete it

Reply by email

Mattias Gaertner
to Jeroen van Iddekinge: Hi sw is the windows assembler file. I think I had the same problem with linux. Problerly…
Show quoted text 14 lines
> sw is the windows assembler file. > I think I had the same problem with linux. Problerly in version 1.0.10 > the compiler compares the time of the unit file with the object file. > I don't know why but, somtimes the .ow file has an earlier time stamp > than the .ppu file. This has maby somtimes to do with the > order in wich the file is produced or when the unit file is closed > (after the assembler is run). > I dont know.... Yes, I also had this sometimes when copying source repositories. I then do a global touch :_) The .sw is probably the result of a -a run or a leftover from when a compiler died. Simply delete it

There is no .sw file to delete.
After a "touch", the compiler does not check for the .sw file and continues. Strange.

Mattias

Reply by email

Mattias Gaertner
to Mattias Gaertner: On Sun, 17 Aug 2003 11:19:50 +0200 Thanks. That was(is) the problem. A simple "touch"…
Show quoted text 18 lines
> On Sun, 17 Aug 2003 11:19:50 +0200 > Jeroen van Iddekinge wrote: > > > Hi > > sw is the windows assembler file. > > I think I had the same problem with linux. Problerly in version 1.0.10 > > > > the compiler compares the time of the unit file with the object file. > > I don't know why but, somtimes the .ow file has an earlier time stamp > > than the .ppu file. This has maby somtimes to do with the > > order in wich the file is produced or when the unit file is closed > > (after the assembler is run). > > I dont know.... > > Thanks. That was(is) the problem. > A simple "touch" fixed the problem. How can add this to the Makefile? Don't. Mosttimes the compiler check is sane.

Mosttimes? It compiles only in 1 of 5 cases. With "touch" it compiles always.
Under linux it works quite nice since two years. I almost forgot these bugs.

Simply make a script to quickly touch the entire directory for when you are in doubt.

Mattias

Reply by email

Jeroen van Iddekinge
to Mattias Gaertner: When I cross compile the win32 intf, I get very often a strange message [...] PPU Check…

Hi
sw is the windows assembler file.
I think I had the same problem with linux. Problerly in version 1.0.10 the compiler compares the time of the unit file with the object file. I don't know why but, somtimes the .ow file has an earlier time stamp than the .ppu file. This has maby somtimes to do with the order in wich the file is produced or when the unit file is closed (after the assembler is run).
I dont know....

Saluti,

Jer

Show quoted text 32 lines
Hi, When I cross compile the win32 intf, I get very often a strange message [...] PPU Check file /home/mattias/pascal/wichtig/lazarus/lcl/units/interfacebase.ow time 2003/08/17 10:33:00 PPU Check file /home/mattias/pascal/wichtig/lazarus/lcl/units/interfacebase.sw time Not Found Recompiling unit, obj and asm are older than ppufile [...] This happens when I add an -d option or I add/remove a {$DEFINE bla} somewhere in the LCL code. The position of the {$DEFINE} (interface or implementation) is not important. Two questions: What is an .sw file? Has anybody seen this bug? Mattias _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Mattias Gaertner
to Mattias Gaertner: When I cross compile the win32 intf, I get very often a strange message [...] PPU Check…
Show quoted text 9 lines
Hi sw is the windows assembler file. I think I had the same problem with linux. Problerly in version 1.0.10 the compiler compares the time of the unit file with the object file. I don't know why but, somtimes the .ow file has an earlier time stamp than the .ppu file. This has maby somtimes to do with the order in wich the file is produced or when the unit file is closed (after the assembler is run). I dont know....

Thanks. That was(is) the problem.
A simple "touch" fixed the problem. How can add this to the Makefile?

Mattias

Show quoted text 43 lines
Saluti, Jer >Hi, > >When I cross compile the win32 intf, I get very often a strange message > >[...] >PPU Check file >/home/mattias/pascal/wichtig/lazarus/lcl/units/interfacebase.ow time >2003/08/17 10:33:00 >PPU Check file >/home/mattias/pascal/wichtig/lazarus/lcl/units/interfacebase.sw time Not >Found >Recompiling unit, obj and asm are older than ppufile >[...] > >This happens when I add an -d option or I add/remove a {$DEFINE bla} >somewhere in the LCL code. The position of the {$DEFINE} (interface or >implementation) is not important. > >Two questions: >What is an .sw file? >Has anybody seen this bug? > > >Mattias > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives > > > _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email