[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-dev] static cross compile gnash
From: |
新绿 |
Subject: |
[Gnash-dev] static cross compile gnash |
Date: |
Tue, 10 Nov 2009 20:40:41 +0800 |
Hi
I've successfully cross compiled gnash-0.8.6 for arm in a static way by adding"-static" to the "LDFLAGS=",and I've got the sdl-gnash binary after the "make" option.
However,when I use the command "arm-none-linux-gnueabi-readelf -d sdl-gnash",and the terminal got the printing:
Dynamic section at offset 0xe36e1c contains 30 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libpthread.so.0]
0x00000001 (NEEDED) Shared library: [librt.so.1]
0x00000001 (NEEDED) Shared library: [libdl.so.2]
0x00000001 (NEEDED) Shared library: [libstdc++.so.6]
0x00000001 (NEEDED) Shared library: [libm.so.6]
0x00000001 (NEEDED) Shared library: [libc.so.6]
0x00000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x0000000c (INIT) 0x2175fc
...
Now that I compiled in a static way,why does it still need these shared libraries??
These shared libraries are in the toolchain directories.And all these shared libraries have static ones correspondingly in the toolchain.Why doesn't the toolchain built these libraries in a static way?
- [Gnash-dev] static cross compile gnash,
新绿 <=