MySQL on Zaurus: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: MySQL on Zaurus
| Old | New | Line | |
|---|---|---|---|
| 1 | + | 1 - Create symlinks: | |
| 2 | + | ||
| 3 | + | `ln -s /usr/lib/libmysqlclient.so.6 /usr/lib/libmysqlclient.so`\ | |
| 4 | + | `ln -s /lib/libm.so.6 /usr/lib/libm.so`\ | |
| 5 | + | `ln -s /lib/libc.so.6 /usr/lib/libc.so` | |
| 6 | + | ||
| 7 | + | 2 - To create this "libgcc.so" you need GCC on your zaurus, otherwise, just copy libgcc.so to your /usr/lib directory. | |
| 8 | + | ||
| 9 | + | `mkdir /mnt/card/tmpdir `\ | |
| 10 | + | `cd /mnt/card/tmpdir `\ | |
| 11 | + | `ar x /mnt/card/gcc/lib/gcc-lib/arm-linux/2.95.2/libgcc.a `\ | |
| 12 | + | `gcc -shared -fno-shared-data -o libgcc.so /mnt/card/tmpdir/*.o`\ | |
| 13 | + | `cp libgcc.so /usr/lib` | |
| 14 | + | ||
| 15 | + | 3 - Finally, compile your program using: | |
| 16 | + | ||
| 17 | + | `fpc -k-lgcc testdb.pp` | |
| 18 | + | ||
| 19 | + | --- | |
| 20 | + | *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](/wiki-contact).* | |
| 21 | + | Category: Databases | |
| 22 | + | Category: Linux | |
| 23 | + | Category: Operating Systems and Platforms |
