[lazarus] Trouble with crosscompiling

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Aug 17 08:45:55 EDT 2003


On Sun, 17 Aug 2003 13:24:53 +0200 (CEST)
marcov at stack.nl (Marco van de Voort) wrote:

> > On Sun, 17 Aug 2003 11:19:50 +0200
> > Jeroen van Iddekinge <iddekingej at lycos.com> 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






More information about the Lazarus mailing list