Wiki copymirror

This is a mirror of the wiki at pascal.chat. Editing, history and sign-in are there.

MySQL on Zaurus

1 - Create symlinks:

text
ln -s /usr/lib/libmysqlclient.so.6 /usr/lib/libmysqlclient.so
ln -s /lib/libm.so.6 /usr/lib/libm.so
ln -s /lib/libc.so.6 /usr/lib/libc.so

2 - To create this "libgcc.so" you need GCC on your zaurus, otherwise, just copy libgcc.so to your /usr/lib directory.

text
mkdir /mnt/card/tmpdir  
cd /mnt/card/tmpdir  
ar x /mnt/card/gcc/lib/gcc-lib/arm-linux/2.95.2/libgcc.a  
gcc -shared -fno-shared-data -o libgcc.so /mnt/card/tmpdir/*.o
cp libgcc.so /usr/lib

3 - Finally, compile your program using:

text
fpc -k-lgcc testdb.pp

From the Free Pascal wiki, page "MySQL on Zaurus", as it stood on 2013-04-20 after a change by Jwdietrich, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 2, last changed by WikiArchive .