Messages in this thread | | | Date | Thu, 16 Dec 1999 16:47:10 -0600 (CST) | From | Adam Heath <> | Subject | Re: [PATCH] asm*/resource.h fix for glibc |
| |
On Thu, 16 Dec 1999, Jamie Lokier wrote:
> > Use configure. Add a note to the readme(make KSRC=/path/to/foo/include). > > > > How often do you compile other programs and not have to modify some system > > dependant setting? > > Almost always. It's either `make', `./configure; make', or `gcc -o foo > foo.c'. I can't remember the last time I had to use a system dependent > setting for the build process. (Configuration is a different matter). > > In this case `./configure' wouldn't be enough because, well, where are > your kernel header files? OTOH it would work much of the time to check > that <linux/version.h> and <linux/config.h> match the running kernel > version, in either /usr/include/linux or /usr/src/linux/include/linux. > > A bit of a pain for those one C source file distributions though. > > > Are you saying all systems are alike? Where's the fun in that? > > I like to keep things easy for the folks who use my software.
Only unstable kernels would be changing so fast as to make following them and keeping systems in sync difficult. So when compiling utility programs for those special consideration needs to be made.
However, compiling for stable kernels should always give you a sane environment. With debian, are glibc is currently compiled against 2.2.13(well, in potato).
Anyone compiling and writing utility progs for unstable kernels needs to know that having to upgrade to the latest unstable kernel is not always possible(1).
> > -- Jamie >
1: I can't run any 2.3 kernels right now, because my network card is a macronix, that only works with tulip 0.90. Before Alan Cox added that driver to 2.2, I was just dropping in Donald Becker's tulip.c in. I can't do that in 2.3.
----BEGIN GEEK CODE BLOCK---- Version: 3.12 GCS d- s: a-- c+++ UL++++ P+ L++++ !E W+ M o+ K- W--- !O M- !V PS-- PE++ Y+ PGP++ t* 5++ X+ tv b+ D++ G e h*! !r z? -----END GEEK CODE BLOCK----- ----BEGIN PGP INFO---- Adam Heath <doogie@debian.org> Finger Print | KeyID 67 01 42 93 CA 37 FB 1E 63 C9 80 1D 08 CF 84 0A | DE656B05 PGP AD46 C888 F587 F8A3 A6DA 3261 8A2C 7DC2 8BD4 A489 | 8BD4A489 GPG -----END PGP INFO-----
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |