Author Topic: Complie A App With Sdl  (Read 3133 times)

terryleung83

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Complie A App With Sdl
« on: September 24, 2005, 02:56:18 pm »
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: [Select]
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)
« Last Edit: September 24, 2005, 02:57:39 pm by terryleung83 »

chyang

  • Sr. Member
  • ****
  • Posts: 270
    • View Profile
    • http://mail.ustc.edu.cn/~chyang/
Complie A App With Sdl
« Reply #1 on: September 24, 2005, 10:20:57 pm »
try to remove the build/host option and just add --target=arm-linux
SL-C3200+Symbol CF WIFI+Corsair 2GB SD
SL-5500+Sharp-3.13 ROM+Viking 512MB CF+Kinston 256MB SD
[img]http://sunsetyang.googlepages.com/c3200.gif\" border=\"0\" class=\"linked-sig-image\" /][img]http://sunsetyang.googlepages.com/5500.gif\" border=\"0\" class=\"linked-sig-image\" /]
Socket CF Bluetooth + EagleTec CF Lan Card + EagleTec CF Modem
Histroy:
[SL-C3000 Cacko 1.23 Beta 1] Sold on 2006/07/27
MA701 CF WIFI + EagleTec CF Bluetooth + D-Link DCF-660W WIFI
[SL5500+Sharp-3.13 ROM+SimpleTech 64MB CF+Hagiwara 128MB SD] Lost on 18,March,04