[fpc-devel] OpenBSD compiler

Leonardo M. Ramé martinrame at yahoo.com
Sat Oct 8 19:19:10 CEST 2011


>________________________________
>From: Pierre Free Pascal <pierre at freepascal.org>
>To: 'FPC developers' list' <fpc-devel at lists.freepascal.org>
>Sent: Saturday, October 8, 2011 2:07 PM
>Subject: RE: [fpc-devel] OpenBSD compiler
>
>
>
>> -----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, glad to hear that. What compiler did you use to bootstrap?.

I've downloaded one from FreePascal's ftp, but it gives me "Bad system call" when I run it.


Leonardo M. Ramé
http://leonardorame.blogspot.com




More information about the fpc-devel mailing list