22 May 2007 10:30
23 May 2007 11:07
Re: Installation Help
On Tue, May 22, 2007 at 08:30:48AM +0000, spirit wrote: > hello,I have install agar in redhat9.0,but I want to move it to arm9 board. > so how can I do that ? Is the target machine capable of running SDL? If you don't have a usable toolchain on the target system, you could use an arm9 cross compiler (and set the CC and LD environment variables accordingly when compiling agar). Of course, you'll also need arm9 versions of the required libraries (including libc) and includes, on the host system.
24 May 2007 10:26
Re: Installation Help
On Thu, May 24, 2007 at 12:32:45PM +0800, scf3363@... wrote: > dear vedge, > Thanks very much! > I understand what you mean, > well,now the problem is how to cross compile agar, what should I change in the Makefile ? I should use armv4l-unknown-linux-gcc to instead of linux gcc. I have seen all the file ,however ,agar seemed stick "cc" as the compiler ? > so ,which part in which file should i change then I can cross compile ? > It's a big problem. Thank you . Overring CC at the build step should work: $ env CC=armv4l-unknown-linux-gcc make I'll modify the configure script to save CC in Makefile.config, that should be more convenient than specifying it at the build stage. Let me know how it goes.
25 May 2007 12:03
Re: Installation Help
On Thu, May 24, 2007 at 10:08:28PM +0800, scf3363@... wrote: > > I really appreciate for your letter. > I checked armv4l-unknown-linux-gcc with the "hello.c"like : > armv4l-unknown-linux-gcc -c hello.c, I will get a hello.o file. it shows it's attribution is arm. well, arm is ok. > but compile agar. the wrong info is something like below: > ->agar-config > make[1]: Entering directory `/home/scf/agar-1.2/agar-config' > make[2]: Entering directory `/home/scf/agar-1.2/agar-config' > make[2]: `agar-config.o' is up to date. > make[2]: Leaving directory `/home/scf/agar-1.2/agar-config' > if [ "" != "" -a "" != "" ]; then \ > echo " -o .o "; \ > -o .o ; \ > fi > armv4l-unknown-linux-gcc -I/home/scf/agar-1.2 -I.. -o agar-config agar-config.o > collect2: ld terminated with signal 11 [???], core dumped > make[1]: *** [agar-config] Error 1 > make[1]: Leaving directory `/home/scf/agar-1.2/agar-config' > make: *** [all-subdir] Error 1 > I have insert CC= armv4l-unknown-linux-gcc into the env , and second insert both the cc and ld . all failed. This looks like a problem with the linker (ld) in your toolchain crashing. Your test was probably successful because you did not try to link hello.o into an executable file. > and .If I want to change the color of the whole win, how to do it ? Programmatically, you could use(Continue reading)
RSS Feed