> This is SUSE 9.3 (64bit) on AMD64 3500 with all relevant 32bit libs in place!
> 
> So I thought "maybe I need a x86_64 version of rtl and compiler" and I tried 
> to rebuild fpc:
> --------8<---------
> as -o /usr/share/fpcsrc/rtl/units/i386-linux/prt0.o i386/prt0.as
> i386/prt0.as: Assembler messages:
> i386/prt0.as:45: Error: suffix or operands invalid for `pop'
> make[7]: *** [prt0.o] Error 1
> ---------8<--------
> So I ask the Gurus:
> 
> What did here go wrong?

Using a 64-bit linker or assembler instead of the 32-bit one.

> How do I rebuild fpc and lazarus on my AMD64?

Dual core is a hassle, nothing is in the default place, and distro's vary
in the way how they set this up

Probably easiest is to make i386-linux-as and i386-linux-ld scripts that
do

#!/bin/sh
as -mi386-elf $?

and then pass -XPi386-linux- to fpc. (other options or so in laz)

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to