25 Sep
2001
25 Sep
'01
6:38 p.m.
Prof. A Olowofoyeku (The African Chief) wrote:
On 25 Sep 2001, at 11:08, Frank Heckenbach wrote: [...]
gpc -shared -o libmylib.so mylib.pas
Strange - my Windows versions of GPC (both Mingw and Cygwin) do not understand '-shared' - but GCC seems to recognise it.
I don't know how it was built -- ISTR there are some patches used, and perhaps they disable `-shared' (but why?). Anyway, it shouldn't be a big issue, you can compile with GPC and link with GCC, something like: gpc -c mylib.pas gcc -shared -o libmylib.so mylib.o -lgpc -lm Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html