Hello all,
At first I would like to sorry about little OT, be cause the problem I'm
having it's not yet Amithlon related. At the moment it's general-Amiga
thing.
I've problems with cross-compilation for AmigaOS under Linux.
I've downloaded the cross-compiler from:
http://www.lysator.liu.se/~lcs/files/gg-cross
and probably installed it properly be cause I was able to compile some
simple things for m68k-AmigaOS and Amithlon-x86-native.
Now the time has come to try playing with something more complex. I decided
to compile lame (mp3 encoder).
I've got sources that compile without any problems under GCC working under
AmigaOS. So I tried to make the same thing under Linux (target:
m68k-amigaos). But I can't make it working.
When I run './configure' under Linux it configures everything for
native-x86-Linux build. And this is not what I want :(
'./configure --target=m68k-amigaos' doesn't help. The result is exaclty the
same.
And when I tried to 'make' sources previously configured under GCC-AmigaOS
only changing the compiler name from 'gcc' to 'm68k-amigaos-gcc' it also
didn't help. Here's what I got back from 'make' then:
--------------------------------------------------------------------------------\
----------
make all-recursive
make[1]: Getting into `/home/sofcik/temp/lame-3.92'
Making all in mpglib
make[2]: Getting into `/home/sofcik/temp/lame-3.92/mpglib'
source='common.c' object='common.lo' libtool=yes \
depfile='.deps/common.Plo' tmpdepfile='.deps/common.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile m68k-amigaos-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer
-ffast-math -funroll-loops -m68020-60 -m68881 -Wall -pipe
-c -o common.lo `test -f common.c || echo './'`common.c
../libtool: line 1: print: command not found
../libtool: line 1: print: command not found
../libtool: line 1: print: command not found
../libtool: line 1: print: command not found
../libtool: line 1: print: command not found
../libtool: line 1: print: command not found
../libtool: line 1: print: command not found
../libtool: line 1: print: command not found
../libtool: line 1: print: command not found
../libtool: line 1: print: command not found
../libtool: line 1: print: command not found
../libtool: line 1: print: command not found
../libtool: line 1: print: command not found
../libtool: line 1: print: command not found
../libtool: line 1: print: command not found
../libtool: line 1: print: command not found
../libtool: line 1: print: command not found
../libtool: line 1: print: command not found
../libtool: line 1: print: command not found
../libtool: line 1: print: command not found
../libtool: line 1: print: command not found
../libtool: line 1: print: command not found
../libtool: line 638: print: command not found
make[2]: *** [common.lo] Błąd 1
make[2]: Leaving directory `/home/sofcik/temp/lame-3.92/mpglib'
make[1]: *** [all-recursive] Błąd 1
make[1]: Leaving directory `/home/sofcik/temp/lame-3.92'
make: *** [all] Error 2
--------------------------------------------------------------------------------\
--------
Could you possibly tell me what I'm doing wrong and what should be done to
compile that?
I assume that building m68k-amigaos version is a doable thing if it compiles
nice under real AmigaOS and GCC.
Regards, thanks in advance for any help and sorry for my English,
--
Miłosz 'Softfailur' Staszewski
sofcik@...