Search the web
Sign In
New User? Sign Up
amithlondev · Amithlon-Dev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Cross-compilation problems   Message List  
Reply | Forward Message #284 of 313 |
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@...





Thu Mar 4, 2004 11:13 pm

sofcik@...
Send Email Send Email

Forward
Message #284 of 313 |
Expand Messages Author Sort by Date

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 ...
Miosz Staszewski
sofcik@...
Send Email
Mar 4, 2004
11:14 pm

... You should use --host, not --target. --target is when you're building something that should *generate code* for a different system. --host is what the...
Martin Blom
leviticus_mb
Offline Send Email
Mar 5, 2004
7:09 am

Hello Martin, ... Thanks for these informations. I've compiled it successfully. For both m68k and i686 :) And thanks for this Amithlon cross-compiler. Really...
Miosz Staszewski
sofcik@...
Send Email
Mar 6, 2004
12:49 am
Advanced

Copyright Š 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help