mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Building on platforms other than Linux
@ 2004-08-11  9:13 Benno
  2004-08-11 18:54 ` Sam Ravnborg
  0 siblings, 1 reply; 5+ messages in thread
From: Benno @ 2004-08-11  9:13 UTC (permalink / raw)
  To: linux-kernel

Hi,

I was wondering if there were any, in priniciple, objections
to making the Linux kernel buildable on different Unix-like 
platforms?

I am currently compiling on MacOSX and this, for the most part was
fairly straightforward and simple. The biggest gotcha I had was
that libkconfig is compiled as a shared library, and unfortunately shared
libraries are done quite different on different systems. Specifically MacOSX
doesn't support gcc -shared.

libkconfig.so appears to be the only shared library created in the
build system, and given that it is only about 95K, and that you don't
often run two copies of conf at once, it doesn't seem to buy much.

The only other reason for doing it this way is to provide a plugin
style architecture but this doesn't appear evident. gconf and qconf
appear to manually load libkconfig.so (rather than linking against
it), but in both cases it appears to be the very first thing they
do is explicitly load libconfig.

It would seem that using static libraries would enhance portability,
and produce a simpler build system, however I expect I am missing some
other reasons.

In summary two questions:

1: Is portability of the build system a desirable property?

2: If so, is moving to static libraries a valid way of achieving this?

Thanks,

Benno

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-08-12  0:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-11  9:13 Building on platforms other than Linux Benno
2004-08-11 18:54 ` Sam Ravnborg
2004-08-11 19:03   ` Arjan van de Ven
2004-08-11 19:19     ` Sam Ravnborg
2004-08-12  0:22   ` [PATCH] " Benno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®