[fpc-pascal]FPC 1.06 and AS.EXE???

jc ccoyle at ptd.net
Sat Apr 27 12:54:56 CEST 2002


>Apart from suitable units for the other platform you need also a cross
>-assembler and a cross-linker - look for the binutils tools package.
>
>Hope that helps,

I was able to find the binutils package and get it installed.  The compiler 
can now find AS.EXE but it still gives a bunch of errors and will not 
compile.  I'm not sure what I am doing wrong but once again would 
appreciate any input on this!  For anyone else, I'm trying to get FPC 1.06 
to compile Linux binaries under Windows XP...

Thanks for any help.  Below is the results of compiling test.pas, a simple 
'hello world' program using "fpc -Aas -Tlinux test.pas"

<----CUT HERE---->
Compiling test.pas
Assembling test
test.s: Assembler messages:
test.s:14: Error: Opcode `pushl' is not recognized.
test.s:15: Error: Opcode `movl' is not recognized.
test.s:16: Error: Opcode `subl' is not recognized.
test.s:17: Error: Opcode `call' is not recognized.
test.s:19: Error: Opcode `leal' is not recognized.
test.s:20: Error: Opcode `movl' is not recognized.
test.s:21: Error: Opcode `pushl' is not recognized.
test.s:22: Error: Opcode `pushl' is not recognized.
test.s:23: Error: Opcode `pushl' is not recognized.
test.s:24: Error: Opcode `call' is not recognized.
test.s:25: Error: Opcode `pushl' is not recognized.
test.s:26: Error: Opcode `call' is not recognized.
test.s:27: Error: Opcode `pushl' is not recognized.
test.s:28: Error: Opcode `call' is not recognized.
test.s:29: Error: Opcode `call' is not recognized.
test.s:30: Error: Opcode `leave' is not recognized.
test.s:31: Error: Opcode `ret' is not recognized.
test.s:68: Error: Unknown pseudo-op:  `.bss'
test.pas(5,4) Error: Error while assembling exitcode 65535
test.pas(5,4) Fatal: There were 2 errors compiling module, stopping





More information about the fpc-pascal mailing list