[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] libs...
Hi!
On Sun, Jun 27, 1999 at 03:41:33PM +0000, kellis wrote:
>
> I got my hands on the libs for snprntf() and vsnprntf()
^^^^^^^
You mean snprintf()?
^
>
> These come from the Xfree src (latest)..
>
> Are we able to use those into our mintlibs?
>
> If not why not?
> And if not, why are we restraining ourselves?
snprintf() is included in the portlib. And - sorry for repeating myself -
it is currently not possible to include anything from the portlib into the
MiNTLib because the portlib requires the socketlib (its header files and
also some functions/variables).
Now if I included for example `unproblematic' functions like snprint() it
wouldn't help anything because you would still have to link against the
portlib to get the rest. If I included the entire portlib you couldn't
compile MiNTLib without MiNTNet. Unfortunately you also can't compile
MiNTNet without MiNTLib. :-(
The solution: Get the portlib _and_ the socketlib into the MiNTLib. But
for that I have to wait for Torsten Lang to make a new release of MiNTNet,
so that we can start to split up MiNTNet, this is planned for the near
future.
If you want to compile GNU software and don't feel like editing the
Makefile.{in,am} or configure.in/configure, simply do like
make "LIBS=-lport -lsocket"
This will override the variable $(LIBS) in all Makefiles and you usually
get what you want. For other software you may have to edit the Makefiles.
Ciao
Guido
--
http://stud.uni-sb.de/~gufl0000
mailto:gufl0000@stud.uni-sb.de