[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Custom boot floppies?
- From: Tim Moloney <moloney netsrq com>
- To: redhat-list redhat com
- Subject: Re: Custom boot floppies?
- Date: Tue, 31 Aug 1999 21:15:21 -0400 (EDT)
On 31-Aug-99 Steve Borho wrote:
> On Tue, Aug 31, 1999 at 03:09:00PM -0400, George Lenzer wrote:
>
> [...]
>
>> How important are libs to support some hardware if you are compiling
>> support into the kernel?
>
> The kernel doesn't need any libs.
>
>> How can I find out which libs I will need for certain applications?
>
> ix% ldd /bin/sh
> libtermcap.so.2 => /lib/libtermcap.so.2 (0x40019000)
> libc.so.6 => /lib/libc.so.6 (0x4001d000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
> If you need to put the root filesystem on the floppy, then kernel size
> becomes a major issue, and you'll probably want to go back to at least
> 2.0, maybe even earlier.
>
> [...]
With libraries and root filesystem size in mind, I'm trying to link
some programs with libc5 instead of libc6 on my RH60 system.
Unfortunately, I'm not having any success. As an example, I do the
following:
hello> gcc -nostdlib -L/usr/i486-linux-libc5/lib -lc -o hello hello.c
ld: warning: cannot find entry symbol _start; defaulting to 08048184
hello> ldd hello
libc.so.6 => /lib/libc.so.6 (0x40016000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
hello> ./hello
Hello, world!
Segmentation fault (core dumped)
hello>
Any pointers on how I can do this correctly. =)
_____ ___ ___ ___
(_ _)( )( \/ ) Tim Moloney Think of something
) ( ) ( ) ( moloney netsrq com witty and imagine it
(___) (___)(__)\/(__) Sarasota, Florida was written here.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]