Re: [Gtk2forpascal-devel] Examples doesn't work at all!
Brought to you by:
mgaertner
From: Mattias G. <nc-...@ne...> - 2002-07-30 21:05:22
|
On 30 Jul 2002 21:27:04 +0200 Olaf Leidinger <le...@ne...> wrote: > What's the idea? >=20 > =20 > static compiling, but dynamic linking > =20 > I have removed the lib names from the sources under linux and chang= ed make_examples.sh to do the trick. > It will compile now all examples (except the plugin) in one step. > =20 > This is not a nice solution, not even a generic one, but it should = work. > =20 > The question is if we should move gmodule to an unit of its own. If= I remember correct, the problem arises with this part. > =20 >=20 > Well, the new script doesn't work for me. First of all the -L option is= n't converted to -k-L.=20 I said, it is not generic. I have only libs and no libpaths in my pkg-con= fig. So, your solution is better. > I've patched this. But even then it sais >=20 > Free Pascal Compiler version 1.0.6 [2002/05/23] for i386 > Copyright (c) 1993-2002 by Florian Klaempfl > Target OS: Linux for i386 > Compiling ./glib/plugins/main.pas > Assembling plugin_test > Linking ./glib/plugins/main > /usr/local/bin/ld: cannot open =CC=E5=FF=BF=D2:: Datei oder Verzeichnis= nicht > gefunden > main.pas(48) Error: Error while linking > Closing script ppas.sh >=20 > My link.res and my ppas.sh are attached. >=20 > For me everything looks okay - but only for me, not for the linker ;-) Your ppas.sh is not correct. The ld line is not complete. I have just tested: There is a 255 char limi= t for the ld line. Damn!. Ok, maybe I have another idea ... Mattias |