Re: Autoconf-ing mklifboot

[email protected] (Jochen Kunz)
Newsgroups gmane.os.netbsd.ports.hp700
Message-ID <[email protected]>
On Mon, 07 Jun 2004 10:13:57 -0500
Zach Lowry <[email protected]> wrote:

> Next on my todo list is trying to make mklifboot/mkboot more portable.
> It seems that mklifboot references headers in sys/sys, when then in
> turn reference header files from machine/, such as machine/endian.h.
> This file is not located there on Linux, however.
Be prepared: This is a horrible include mess. There is a near endless
chain of dependencys.

> Is autoconf the best tool
> for determining the locations of these files, as suggested by
> Jochen?
I sugested autoconf only because some people seem to like it. I don't
like it. I saw it failing too often, especially on non-GNUified, non-GCC
systems. Fighting with a failing autoconf script can be a nightmare.

> Or, should I put #ifdefs in the files in sys/sys? Or is there an
> even better solution?
One big problem was sys/exec_elf.h and its dependencys. Maybe you can
find a "self containd" variant of elf.h? (Binutils?)
-- 



tschüß,
         Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.