[physfs] builtin libz, ARM cross-compile

Ryan C. Gordon icculus at clutteredmind.org
Mon Mar 31 07:05:04 EST 2003


> It does indeed.

Weird, it's definitely working here:

$ ./configure --host=mipsel-linux |grep zlib
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for zlib.h... no
checking for zlibVersion in -lz... no
checking what zlib to use... internal zlib
config.status: creating zlib114/Makefile

$ # make ...

$ file .libs/libphysfs-0.1.so.8.0.0
.libs/libphysfs-0.1.so.8.0.0: ELF 32-bit LSB shared object, MIPS R3000_BE
- invalid byte order, version 1, not stripped

$ nm .libs/libphysfs-0.1.so.8.0.0  |grep inflate
0001b484 T inflate
0001b1b4 T inflateEnd
0001b264 T inflateInit2_
0001b438 T inflateInit_
0001b120 T inflateReset
0001bad8 T inflateSetDictionary
0001bbe8 T inflateSync
0001bd64 T inflateSyncPoint
000191f4 T inflate_blocks
0001a004 T inflate_blocks_free
00019088 T inflate_blocks_new
00018f80 T inflate_blocks_reset
0001a13c T inflate_blocks_sync_point
0001a204 T inflate_codes
0001ab74 T inflate_codes_free
0001a160 T inflate_codes_new
00020500 R inflate_copyright
0001abc0 T inflate_fast
0001c860 T inflate_flush
00062dd0 D inflate_mask
0001a0cc T inflate_set_dictionary
0001c3d4 T inflate_trees_bits
0001c538 T inflate_trees_dynamic
0001c7f4 T inflate_trees_fixed


What version of autoconf/automake are you using?

--ryan.






More information about the physfs mailing list