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