Greetings

My friend has recomended me SDL library for graphical output of my SuperH4 
embedded system with framebuffer device.

After succesfull cross emerge the media-libs/libsdl library, i am trying to 
crosscompile any demo, but everythings fails.

Do you have tip to a crosscompilable test software for graphics via sdl?

Here is output of running Makefile, where i have manually changed gcc compiler 
to sh4-pc-linux-uclibc.

[EMAIL PROTECTED] ~/src/fire_sh $ make
sh4-pc-linux-uclibc-gcc -DPACKAGE=\"fire\" -DVERSION=\"1.0\"  -I. -I.      -g 
-O2 -I/usr/include/SDL -D_REENTRANT -c 
fire.c
sh4-pc-linux-uclibc-gcc  -g -O2 -I/usr/include/SDL -D_REENTRANT  -o fire  
fire.o  -lSDL -lpthread
/usr/lib/gcc/sh4-pc-linux-uclibc/3.4.6/../../../../sh4-pc-linux-uclibc/bin/ld: 
cannot find -lSDL
collect2: ld returned 1 exit status
make: *** [fire] Error 1
[EMAIL PROTECTED] ~/src/fire_sh $                


It seems, like the cross compiler does not know the native library.


Thanks for your help
Best regards
Jakub Ladman
-- 
[email protected] mailing list

Reply via email to