[fpc-devel]Re: Linux/PPC port of FPC working + others

Balogh, Karoly (Charlie/iNQ) charlie at scenergy.dfmk.hu
Wed Jun 4 15:16:49 CEST 2003


Hi,

On 03.06.04., Jonas Maebe wrote:

>>> I've put a compiled snapshot up at
>>> <http://jonagold.elis.ugent.be:8080/~jonas/fpc/> (from yesterday
>>> night's sources). Make sure that you use -Or when compiling something
>>> and "-dppc603 -Or" when cycling the compiler for optimal speed (in so
>>> far you can call the current speed optimal :)
>> Thanks, i've got it, it's working, thanks! Very cool. :)
> Make sure you do not update it for now though, because currently the 
> compiler is quite unstable (even for i386).

Okay i'm not going to update it for a while. Anyway, while testing some 
of my existing sources, i found a bug. :) I've got an Internal Error 
200203271. I'm not sure if this also exist in the x86 compiler, since
i can't test it right now (no x86 around). I used the parameters you
recommended (-dppc603 -Or). Without -Or, the problem is not there.

Anyway i traced the problem until i was able to generate a short example
which shows it. Attached. I made a workaround until it's got fixed, so
it's not a big problem now. (BTW i know it's generally not a good 
idea to cast a single to a dword, but the code is from my .3DS loader, 
where some endian-issues came into the picture, and it's easier to 
convert the endianness of an integer than a float...:) 

Bye,
-- 
Charlie/iNQ
[ Commodore Amiga 2000 68060/50 128MB 20GB SCSI PicassoIV ]
[     Escom Amiga 1200 68060/50 48MB 6GB 2,5" IDE         ]
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug1.pas
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20030604/16f0b78d/attachment.ksh>


More information about the fpc-devel mailing list