![]() ![]() |
Sep 24 2005, 10:56 AM
Post
#1
|
|
|
Group: Members Posts: 68 Joined: 1-August 05 Member No.: 7,753 |
I've got a program to complie
it is a chinese chess program and i following the thread here getting the qemu running and complied the example program however, the chinese chess program need SDL therefore, i downloaded it however, i cannot config it i run the configure script following the parameter in another thread here but doesnt work CODE NM=arm-linux-nm LD=arm-linux-ld CC=arm-linux-gcc CXX=arm-linux-g++ RANLIB=arm-linux-ranlib AR=arm-linux-ar ./configure --host=arm-linux --build=i686-pc-linux-gnu --enable-video-qtopia --disable-video-dummy --disable-video-fbcon --disable-video-dga --disable-arts --disable-esd --disable-alsa --disable-cdrom --disable-video-x11 --disable-nasm --prefix=/opt/Embedix/tools/arm-linux it said that the --build=i686-pc-linux-gnu doesnt correct also i want to ask if the CXX should be set to arm-linux-g++ ? i think there is only a gcc-2.95 in the qemu, but not a standard gcc... (it said no such instruction when i type gcc) |
|
|
|
Sep 24 2005, 06:20 PM
Post
#2
|
|
|
Group: Members Posts: 271 Joined: 19-June 03 From: Beijing,China Member No.: 156 |
try to remove the build/host option and just add --target=arm-linux
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th June 2013 - 04:13 AM |