Re: [fpc-pascal] UIB on Linux X86_64

2008-09-12 Thread Lukas Gradl
Solved the problem: Its in uiblib.pas and uibase.pas: {$IFNDEF CPU64} {$ALIGN ON} {$MINENUMSIZE 4} {$ENDIF} The MINENUMSIZE should be set always and not only for non-64bit CPUs as the source is compiled using {$mode delphi} - MINENUMSIZE is 1 by default for delphi. So it should read: {$

Re: [fpc-pascal] FPC for FreeBSD AMD64?

2008-09-12 Thread Marco van de Voort
In our previous episode, Francisco Reyes said: > Marco van de Voort writes: > > > It is not done. Those files are the leftovers of a failed attempt. But maybe > > it is enough to give it a try, maybe sb notices what is wrong. > > Should I try to build it in a FBSD i386 or AMD64? I built in on x

Re: [fpc-pascal] FPC for FreeBSD AMD64?

2008-09-12 Thread Francisco Reyes
Marco van de Voort writes: It is not done. Those files are the leftovers of a failed attempt. But maybe it is enough to give it a try, maybe sb notices what is wrong. Should I try to build it in a FBSD i386 or AMD64? ___ fpc-pascal maillist - fpc

Re: [fpc-pascal] DateTimeToFileDate

2008-09-12 Thread Mattias Gärtner
Zitat von Carsten Bager <[EMAIL PROTECTED]>: > When I do this > > Free Pascal Compiler version 2.2.2 [2008/07/29] for i386 Which OS? > - > Program tt; > uses dos, > sysutils; > > function strPackTime(t:longWord):shortstring; > var > dt:Datetime; > begin > UnpackTime(

[fpc-pascal] DateTimeToFileDate

2008-09-12 Thread Carsten Bager
When I do this Free Pascal Compiler version 2.2.2 [2008/07/29] for i386 - Program tt; uses dos, sysutils; function strPackTime(t:longWord):shortstring; var dt:Datetime; begin UnpackTime(t,dt); strPackTime:=intToStr(dt.day)+'/'+ intToStr(dt.month)+'-'+