[SDL] cross-compile sdl

MCNUTT,GORDON (HP-Boise,ex1) gordon.james.mcnutt at hp.com
Mon Jan 6 08:29:01 PST 2003


 Are you compiling for uclinux? If so then I believe the toolchain does not
support dynamic linking. And if you are statically linking then of course it
needs to find the cross-compiled versions of the libraries.

-----Original Message-----
From: huangwei at sunplus.com.cn
To: sdl at libsdl.org
Sent: 1/5/03 8:19 PM
Subject: [SDL] cross-compile sdl

when changing compiler to cross compile, if using
the option --enable-shared ,after typing make,
a error will be generated:

/usr/lib/libm.so:could not read symbols:Invalid operation
collect2: ld returned 1 exit status
make[2]:***[libsdl.la]error 1
...


but if using --disable-shared ,cross compiling will be successful

why?

Regards,
Andy



_______________________________________________
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl




More information about the SDL mailing list