[fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues
Luca Olivetti
luca at ventoso.org
Sun Jun 1 11:33:11 CEST 2008
En/na Florian Klaempfl ha escrit:
> Luca Olivetti schrieb:
>> En/na Luca Olivetti ha escrit:
>>
>>>
>>> Mmh, it doesn't seem to work: ppc1 generated ppc2 but ppc2 has been
>>> spinning the cpu at 100% for the last 10 minutes and I don't think
>>> it'll finish.
>>
>> Duh, that's also the op problem.
>>
>
> Try with OPT=-O-
Ok, now I have a supposedly eabi compiler working under scratchbox.
I added
-CfSOFT
-dFPC-ARMEL
to /etc/fpc.cfg.
A simple hello world works, both under the emulated arm in scratchbox
and in the tablet.
But I tried to compile a couple of examples in the gtk2 package and I
see this:
[sbox-CHINOOK_ARMEL: ~/fpc-svn/packages/gtk2/examples/helloworld] >
./helloworld
/lib/ld-linux.so.2: No such file or directory
As per Terry's instructions I changed t_linux.pas to use ld-linux.so.3
if compiled with -dFPC-ARMEL.
My guess is that the rtl/packages were compiled without the
'-dFPC-ARMEL' when I made the compiler with
make zipinstall OPT='-CfSOFT -dFPC-ARMEL -O-'
(I didn't pay too much attention but I'm sure that at least it didn't
pass the '-O-' while compiling the rtl).
Hints?
Bye
--
Luca
More information about the fpc-pascal
mailing list