Disko Forum logo Login  |  Register  |  Lost Password
cross compile fail with arm-linux-g++

Ryanyee
Posts: 13
graphgraph

cross compile fail with arm-linux-g++ 5 Years, 3 Months ago  
1.my host platform is RH4.0,scons-1.2.0.d20090223,disko-1.5.0

2.target is intel Olo,cross compile is
[root@www disko]# arm-linux-g++ --version
arm-linux-g++ (GCC) 3.4.5
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

3.my enviroment is
[root@www disko]# env | grep arm-linux
AR=arm-linux-ar
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/arm-linux/bin:/usr/local/arm-linux/bin:/root/bin
LD=arm-linux-ld
CXX=arm-linux-g++
RANLIB=arm-linux-ranlib
CC=arm-linux-gcc

4.build disko with "scons prefix=/opt/gtk enable_media=no".but result is my cross compile has no effect
[root@www disko-1.5.0]# file ./lib/libmmsbase.so
./lib/libmmsbase.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
can you tell me the reason why I failed.
did I miss something in building scons or disko?
 
  The administrator has disabled public write access.
cross compile fail with arm-linux-g++

Matthias
Posts: 64
graphgraph

Gender: Male Disko Location: Berlin, Germany Birthdate: 1979-04-25
Re:cross compile fail with arm-linux-g++ 5 Years, 3 Months ago  
Hi Ryanyee,

that's actually a bug in the scons-script of
release 1.5.0 where we didn't use some of
the environment variables.

It is already fixed in the git repository.
Please use disko from there until the next
release.

Best regards,
Matthias
 
  The administrator has disabled public write access.
cross compile fail with arm-linux-g++

Ryanyee
Posts: 13
graphgraph

Re:cross compile fail with arm-linux-g++ 5 Years, 3 Months ago  
yes, after git,I can get arm's "*.so" file now,thanks
 
  The administrator has disabled public write access.
Powered by FireBoard
get the latest posts directly to your desktop