I'm trying to compile OpenXDK on a Gentoo Linux system
and am having no luck. Here is the commands I use:
export WANT_AUTOCONF=2.5
export WANT_AUTOMAKE=1.6
./autogen.sh
./configure --prefix=/usr/local/openxdk --host=i386-mingw32
make all install
Then on the make all install command it dies on the error:
make[6]: i386-pc-xbox-gcc: Command not found
Here is the last several of lines from the compile:
make[6]: Entering directory
`/home/atlanta800/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib/libc/argz'
i386-pc-xbox-gcc
-B/home/atlanta800/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib/
-isystem
/home/atlanta800/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib/targ-include
-isystem
/home/atlanta800/OpenXDK/build/newlib/newlib-1.12.0/newlib/libc/include
-DPACKAGE=\"newlib\" -DVERSION=\"1.12.0\" -I.
-I../../../.././newlib/libc/argz -O2
-D_COMPILING_NEWLIB -mno-cygwin -DMISSING_SYSCALL_NAMES
-fno-builtin -O2
-I/home/atlanta800/OpenXDK/./include -O2
-I/home/atlanta800/OpenXDK/./include -c
../../../.././newlib/libc/argz/dummy.c
make[6]: i386-pc-xbox-gcc: Command not found
make[6]: *** [dummy.o] Error 127
make[6]: Leaving directory
`/home/atlanta800/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib/libc/argz'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/home/atlanta800/OpenXDK/build/newlib/newlib-1.12.0/i386-pc-xbox/newlib/libc'
It continues to die from there.
Any help would be greatly appreciated. I'm planning on
using OpenXDK to make an xbox game for a senior project
at my highschool. Thought it would be better than
pirating the MS-XDK...
Logged In: YES
user_id=1311054
Alright, seems like not being able to compile/install on
gentoo linux wasn't a uncommon thing. But thanks to this
guide:
http://gentoo-wiki.com/Installing_OpenXDK#Do_It.2C_So_It_.28Almost.29_Works
I was able to get it (correctly?) installed. Now to test my
install I decided I wanted to try to compile doom:
atlanta800@spyder ~ $ cd OpenXDK/Doom/Doom/sdldoom-1.10/
atlanta800@spyder ~/OpenXDK/Doom/Doom/sdldoom-1.10 $ make
(...........<<other things that work........>>)
gcc -c i_main.c -c -g -std=gnu99 -ffreestanding -nostdlib
-fno-builtin -fno-exceptions -march=i386 -DENABLE_XBOX
-DDISABLE_AUDIO -DDISABLE_CDROM -DDISABLE_THREADS
-DDISABLE_TIMERS -DDISABLE_ENDIAN -DDISABLE_FILE
-DIPPORT_USERRESERVED=5000
-I/usr/local/openxdk/i386-pc-xbox/include
-I/usr/local/openxdk/include
i_main.c:43:17: SDL.h: No such file or directory
make: *** [i_main.o] Error 1
What makefile are you using to compile openxdk?
Because I found out that the latest one is impossible to compile without errors.
So I use the one that comes standard with OpenXDK_src.zip
<Halofreak1990>