[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: Wed, 01 Sep 1999 18:55:04 -0400 (EDT)
On 01-Sep-99 Steve Borho wrote:
> On Tue, Aug 31, 1999 at 09:15:21PM -0400, Tim Moloney wrote:
>
> [Request for info on linking libc5 binaries on libc6 systems]
First, thanks for the response.
> Short answer: Install slackware on a separate partition and chroot
> yourself there.
This may work but seems like a brute force way of doing it. Surely,
it can be done with a Red Hat distribution. Installing another
distribution to cross-compile doesn't sound like a reasonable answer.
Then again, maybe it's just me. =)
> Long answer: Read the glibc and gcc documentation for how that might
> be done. It probably involves specifying
> --dynamic-linker=/lib/ld.so and a few other goodies. You'll need
> the old libc5 headers in place when you compile libc5 programs. You
> might want to read up on some of the small linux distributions which
> do this already, ie: tomsrtbt, etc.
I've scanned the gcc man page and I couldn't find a "--dynamic-linker"
option or anything similar.
I've read the Glibc2-HOWTO and that's where I learned about the
"-nostdinc" and "-nostdlib" options. It also mentions a "-b" option
but I can't get that to work. Red Hat 6.0 doesn't appear to have all
of the gcc binaries necessary in the /usr/lib/gcc-lib directory and I
don't know which RPMs to install to get them. I'd try compiling my
own gcc, ld, and libc5 but that seems to be a chicken and egg problem.
I believe that the "-b" option mentioned in the Glibc2-HOWTO is the
way to go but I need the binaries it points to. I can't be the only
guy on a Red Hat system that wants to link against libc5. If there's
not a HOWTO that covers it for Red Hat, help me get it working and
I'll write the HOWTO. =)
_____ ___ ___ ___
(_ _)( )( \/ ) 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]