Recent

Author Topic: build on i386 to powerpc crosscompiler fail  (Read 4262 times)

Triple

  • New Member
  • *
  • Posts: 20
build on i386 to powerpc crosscompiler fail
« on: February 20, 2009, 03:56:20 pm »
Code: [Select]
As another idea to find a solution on my lazarus powerpc problem I want to build me a fpc crosscompiler for powerpc.

I download the fpc svn and build like discriped in wiki

http://wiki.lazarus.freepascal.org/Cross_compiling/de

the fpc with changing the target

make all CPU_TARGET=powerpc

but bild process end with an error

[code
/bin/rm -f fpcmade.powerpc-linux Package.fpc ppas.sh script.res link.res
/bin/rm -f *.s *_ppas.sh
make[5]: Leaving directory `/home/martin/svn/fpc/rtl/linux'
make[4]: Leaving directory `/home/martin/svn/fpc/rtl'
make -C /home/martin/svn/fpc/rtl 'OPT=' all
make[4]: Entering directory `/home/martin/svn/fpc/rtl'
make -C linux all
make[5]: Entering directory `/home/martin/svn/fpc/rtl/linux'
powerpc-linux-as  -o /home/martin/svn/fpc/rtl/units/powerpc-linux/prt0.o powerpc/prt0.as
make[5]: powerpc-linux-as: Kommando nicht gefunden
make[5]: *** [prt0.o] Fehler 127
make[5]: Leaving directory `/home/martin/svn/fpc/rtl/linux'
make[4]: *** [linux_all] Fehler 2
make[4]: Leaving directory `/home/martin/svn/fpc/rtl'
make[3]: *** [rtl] Fehler 2
make[3]: Leaving directory `/home/martin/svn/fpc/compiler'
make[2]: *** [cycle] Fehler 2
make[2]: Leaving directory `/home/martin/svn/fpc/compiler'
make[1]: *** [compiler_cycle] Fehler 2
make[1]: Leaving directory `/home/martin/svn/fpc'
make: *** [build]

so I dont know how this message could come up " powerpc-linux-as: Kommando nicht gefunden" becouse it would be a sensation if a powerpc binary would run native on a i386, but what will this message say to me ?

Martin

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: build on i386 to powerpc crosscompiler fail
« Reply #1 on: February 23, 2009, 04:07:15 am »
You need powerpc cross assembler (and cross linker, too), AFAIK FPC currently only have internal assembler for i386. The wiki link you posted already mention that (at least in the english page).

 

TinyPortal © 2005-2018