Hello i am using power 8 and powerkvm. ubuntu 14.04.02 le edition and debian big endian.
i donwload
ftp://ftp.freepascal.org/fpc/dist/2.6.4/powerpc64-linux/fpc-2.6.4.powerpc64-linux.tar and when i install at the end in both i get the error;
Install demos (Y/n) ?
Install demos in [/home/local/fpc-2.6.4/share/doc/fpc-2.6.4/examples] :
Installing demos in /home/local/fpc-2.6.4/share/doc/fpc-2.6.4/examples ...
Done.
Running on linux
/home/local/fpc-2.6.4/lib/fpc/../../bin/fpc: 1: /home/ronald/fpc-2.6.4/lib/fpc/../../bin/fpc: Syntax error: word unexpected (expecting ")")
No write premission in /etc.
Writing sample configuration file to /home/ronald/.fpc.cfg
/home/local/fpc-2.6.4/lib/fpc/../../bin/fpcmkcfg: 3: /home/ronald/fpc-2.6.4/lib/fpc/../../bin/fpcmkcfg: Syntax error: "|" unexpected (expecting ")")
Writing sample configuration file to /home/ronald/fpc-2.6.4/lib/fpc//ide/text/fp.cfg
/home/local/fpc-2.6.4/lib/fpc/../../bin/fpcmkcfg: 3: /home/ronald/fpc-2.6.4/lib/fpc/../../bin/fpcmkcfg: Syntax error: "|" unexpected (expecting ")")
Writing sample configuration file to /home/ronald/fpc-2.6.4/lib/fpc//ide/text/fp.ini
/home/local/fpc-2.6.4/lib/fpc/../../bin/fpcmkcfg: 3: /home/ronald/fpc-2.6.4/lib/fpc/../../bin/fpcmkcfg: Syntax error: "|" unexpected (expecting ")")
Writing sample configuration file to /home/ronald/.config/fppkg.cfg
/home/local/fpc-2.6.4/lib/fpc/../../bin/fpcmkcfg: 3: /home/ronald/fpc-2.6.4/lib/fpc/../../bin/fpcmkcfg: Syntax error: "|" unexpected (expecting ")")
Writing sample configuration file to /home/ronald/.fppkg/config/default
/home/local/fpc-2.6.4/lib/fpc/../../bin/fpcmkcfg: 3: /home/ronald/fpc-2.6.4/lib/fpc/../../bin/fpcmkcfg: Syntax error: "|" unexpected (expecting ")")
End of installation.
Refer to the documentation for more information.
On debian it works(havent fully tested. only compiled a basic hello world) but on ubuntu it doesnt.
a@local:~/fpc-2.6.4.powerpc64-linux$ fpc
-bash: /usr/local/bin/fpc: cannot execute binary file: Exec format error
So whats wrong and how do i fix it?
thank you.