[fpc-devel] OpenBSD compiler

Pierre Free Pascal pierre at freepascal.org
Sat Oct 8 19:07:37 CEST 2011



> -----Message d'origine-----
> De : fpc-devel-bounces at lists.freepascal.org [mailto:fpc-devel-
> bounces at lists.freepascal.org] De la part de Marco van de Voort
> Envoyé : vendredi 7 octobre 2011 23:53
> À : FPC developers' list
> Objet : Re: [fpc-devel] OpenBSD compiler
> 
> In our previous episode, Pierre Free Pascal said:
> > The ones with compat are probably OK,
> 
> No, they are old syscalls only kept for compatibility. That means you also
> have to use the corresponding old syscalls.
> 
> I also think the getdents=getdirentries "alias" is not entirely correct.

You were right, getdirentries has one more parameter!
I adapted bsd/ossysc.inc


> It is possible that what we see here in trunk is not the same as what
> worked, long,long ago in the fixes1_0 branch, since in that time release
> branches were not kept as close in sync to trunk as nowadays.
> 
> >   I tried to cross-compile the compiler,
> > but it crashes inside a fsearch call...
> 
> Probably readdir again, I'll work on it on and off as I have time the
coming
> days.
  Too late... (at least hopefully)
I just achieved a successful 'gmake cycle'
on i386  openbsd.

Pierre




More information about the fpc-devel mailing list