Re: [fpc-pascal] FPC_ARMEL system calls

2008-06-01 Thread Luca Olivetti
En/na Luca Olivetti ha escrit: En/na Florian Klaempfl ha escrit: grepping for abi_eabi I found that the different syscall convention is in rtl/linux/arm/syscall.inc, but it is conditioned to FPC_ABI_EABI, not to FPC_ARMEL, so in order to have a fully eabi compliant compiler should I use "-d

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-06-01 Thread Luca Olivetti
En/na Florian Klaempfl ha escrit: Luca Olivetti schrieb: pp.pas(209,27) Error: Error while linking pp.pas(209,27) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted The content of link.res around line 281: 279 /* Adjust the address for the data segment. We

Re: [fpc-pascal] FPC_ARMEL system calls

2008-06-01 Thread Luca Olivetti
En/na Florian Klaempfl ha escrit: grepping for abi_eabi I found that the different syscall convention is in rtl/linux/arm/syscall.inc, but it is conditioned to FPC_ABI_EABI, not to FPC_ARMEL, so in order to have a fully eabi compliant compiler should I use "-dFPC_ARMEL -dFPC_ABI_EABI"? The

Re: [fpc-pascal] FPC_ARMEL system calls

2008-06-01 Thread Florian Klaempfl
Luca Olivetti schrieb: En/na Luca Olivetti ha escrit: En/na Florian Klaempfl ha escrit: The latter is the recent change to use the correct dynamic linker, and the former to change the alignment of some structures (required by the eabi specification). Indeed, i_linux sets e.g. the calling co

Re: [fpc-pascal] FPC_ARMEL system calls

2008-06-01 Thread Luca Olivetti
En/na Luca Olivetti ha escrit: En/na Florian Klaempfl ha escrit: The latter is the recent change to use the correct dynamic linker, and the former to change the alignment of some structures (required by the eabi specification). Indeed, i_linux sets e.g. the calling conventions to eabi and th

Re: [fpc-pascal] FPC_ARMEL system calls

2008-06-01 Thread Luca Olivetti
En/na Florian Klaempfl ha escrit: The latter is the recent change to use the correct dynamic linker, and the former to change the alignment of some structures (required by the eabi specification). Indeed, i_linux sets e.g. the calling conventions to eabi and this is what the compiler/rtl che

Re: [fpc-pascal] FPC_ARMEL system calls

2008-06-01 Thread Florian Klaempfl
Luca Olivetti schrieb: [Beware, I'm neither an arm expert nor an fpc internals one, that's why I'm asking instead of patching, patching that I wouldn't know how to do anyway]. Due to my (insofar) failed experiment to get an arm-eabi compiler, I took a look at where FPC_ARMEL is used. FPC_AR

[fpc-pascal] FPC_ARMEL system calls

2008-06-01 Thread Luca Olivetti
[Beware, I'm neither an arm expert nor an fpc internals one, that's why I'm asking instead of patching, patching that I wouldn't know how to do anyway]. Due to my (insofar) failed experiment to get an arm-eabi compiler, I took a look at where FPC_ARMEL is used. FPC_ARMEL is apparently only u

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-06-01 Thread Florian Klaempfl
Luca Olivetti schrieb: pp.pas(209,27) Error: Error while linking pp.pas(209,27) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted The content of link.res around line 281: 279 /* Adjust the address for the data segment. We want to adjust up to 280

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-06-01 Thread Luca Olivetti
En/na Luca Olivetti ha escrit: En/na Luca Olivetti ha escrit: En/na Florian Klaempfl ha escrit: make zipinstall OPT='-CfSOFT -dFPC-ARMEL -O-' It's -dFPC_ARMEL /me smacks head into nearby wall Thanks, I'll try Bye /home/luca/fpc-svn/compiler/ppc1 -Ur -Xs -O2 -n -Fuarm -Fusystems -Fu/h

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-06-01 Thread Luca Olivetti
En/na Luca Olivetti ha escrit: En/na Florian Klaempfl ha escrit: make zipinstall OPT='-CfSOFT -dFPC-ARMEL -O-' It's -dFPC_ARMEL /me smacks head into nearby wall Thanks, I'll try Bye /home/luca/fpc-svn/compiler/ppc1 -Ur -Xs -O2 -n -Fuarm -Fusystems -Fu/home/luca/fpc-svn/rtl/units/arm-l

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-06-01 Thread Luca Olivetti
En/na Florian Klaempfl ha escrit: make zipinstall OPT='-CfSOFT -dFPC-ARMEL -O-' It's -dFPC_ARMEL /me smacks head into nearby wall Thanks, I'll try Bye -- Luca ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.o

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-06-01 Thread Florian Klaempfl
Luca Olivetti schrieb: If the latter, how do I make sure the rtl/packages are built with 'dFPC-ARMEL'? cd fpc && make clean all OPT=-dFPC_ARMEL ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fp

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-06-01 Thread Florian Klaempfl
Luca Olivetti schrieb: 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 prob

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-06-01 Thread Luca Olivetti
En/na Marco van de Voort ha escrit: As per Terry's instructions I changed t_linux.pas to use ld-linux.so.3 if compiled with -dFPC-ARMEL. That's not necessary, a -FD in the fpc.cfg works too without changing + recompiling. "-FD sets the directory where to search for compiler utilities" H

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-06-01 Thread Marco van de Voort
> As per Terry's instructions I changed t_linux.pas to use ld-linux.so.3 > if compiled with -dFPC-ARMEL. That's not necessary, a -FD in the fpc.cfg works too without changing + recompiling. > My guess is that the rtl/packages were compiled without the > '-dFPC-ARMEL' when I made the compiler

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-06-01 Thread Luca Olivetti
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-