static linking

1999-04-09 Thread Jeppe Sommer
I am trying to get the QNX 4 port of kaffe back on track. I could use a little guidance here w.r.t. the setup of libtool for static linking (dynamic linking is not available on QNX 4). My first shot was the --disable-shared and --with-staticlib options to configure. This gave linker errors

Re: static linking

1999-04-09 Thread Kiyo Inaba
>My first shot was the --disable-shared and --with-staticlib options to >configure. This gave linker errors, because three libraries were >missing in the Makefile for the Kaffe executable: libengine, >libkthread, and libltdl. At least you have to specify --with-staticvm and --with-staticlib first

Re: static linking

1999-04-10 Thread Alexandre Oliva
On Apr 9, 1999, Kiyo Inaba <[EMAIL PROTECTED]> wrote: > also have to specify --disable-shared, and let this ML know > this. At least in m68k/netbsd, I have to do so, and I think this > is a bug in libtools. Do you *still* have to do it? I have fixed the libtool problem that caused it to think

Re: static linking

1999-04-10 Thread Kiyo Inaba
>Do you *still* have to do it? I have fixed the libtool problem that >caused it to think it could create shared libraries when it did not >know how to do it, so if you update your CVS tree or get release >1.0b4, the problem should be fixed. Please let me know if this is not >the case. Sure, I

Re: static linking

1999-04-11 Thread Kiyo Inaba
>>Do you *still* have to do it? I have fixed the libtool problem that >>caused it to think it could create shared libraries when it did not >>know how to do it, so if you update your CVS tree or get release >>1.0b4, the problem should be fixed. Please let me know if this is not >>the case. >Sur

Re: static linking

1999-04-11 Thread Alexandre Oliva
On Apr 11, 1999, Kiyo Inaba <[EMAIL PROTECTED]> wrote: > Still libtool tries to link with ltdl.lo rather than with ltdl.o when > I did not specify '--disable-shared'. Yup, this is even documented in kaffe/FAQ/FAQ.libtool. --with-staticvm and --with-staticlib are Kaffe-specific flags, that do no