From: Duncan <1i5t5.duncan@cox.net>
To: gentoo-amd64@lists.gentoo.org
Subject: [gentoo-amd64] Re: Emerging package as both 64 and 32 bit
Date: Mon, 18 Dec 2006 12:39:54 +0000 (UTC) [thread overview]
Message-ID: <em626p$762$2@sea.gmane.org> (raw)
In-Reply-To: 45866BE0.20905@gentoo.org
Simon Stelling <blubb@gentoo.org> posted 45866BE0.20905@gentoo.org,
excerpted below, on Mon, 18 Dec 2006 12:22:24 +0200:
> Neil Bothwick wrote:
>> What's wrong with the GRUB source package? I remember using grub-static
>> when I first went 64 bit, but haven't used it for ages. The only 32 bit
>> stuff I use here is firefox-bin and vmware.
>
> No problem, but it's 32bit.
Indeed... for backward compatibility, amd64/x86_64 boots in 32-bit mode.
Actually, I /believe/ it boots in 16-bit real mode, just like an x86, then
switches to 32-bit or 64-bit when the appropriate command is given, but
AFAIK the difference between compiling 16-bit and 32-bit code is simply a
few compile-time switches, so it uses a standard 32-bit toolchain.
My point, however, was that since everything else I run is 64-bit, if I
didn't need the 32-bit tools to compile grub -- or if I was willing to
settle for the pre-compiled grub-static -- I could save myself a *LOT* of
extra work by simply using the no-multilib subprofile, thus saving myself
all that time compiling the 32-bit side of glibc and gcc in particular.
One of these days maybe I'll probably just do it, unmerging grub, merging
grub-static, switching to the no-multilib subprofile and remerging
glibc/binutils/gcc (they may have to be remerged in a particular order,
which I don't know at this point). However, I've been thinking that for
awhile and haven't done it yet, and I'll be upgrading my pair of Opteron
242s to dual-core 285s pretty soon here, making it that much less
necessary since compiles will be rather faster then, so who knows?
Hmm... thinking about it as I write this, something new occurred to me.
There's a good probability I could compile grub independent of my system's
portage, using a LiveCD (either Gentoo or other), and could therefore go
no-multilib without losing my self-compiled grub, if I decided to. I'll
have to think on it a bit more. OTOH, simply using grub-static would be
far less hassle for what amounts to the same thing, since using a gcc I
didn't build myself would leave outside influences on the produced grub
anyway. Still, part of what was holding me up was the "just in case"
factor, for other 32-bit software as well, and now that I realize I could
compile it from a liveCD 32-bit environment or the like if necessary, that
pretty much does away with /that/ particular excuse.
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
--
gentoo-amd64@gentoo.org mailing list
next prev parent reply other threads:[~2006-12-18 12:42 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-16 15:45 [gentoo-amd64] Emerging package as both 64 and 32 bit Boky Boky
2006-12-16 17:09 ` Indarios
2006-12-16 18:15 ` Mike Doty
2006-12-16 18:17 ` [gentoo-amd64] " Duncan
2006-12-16 19:24 ` Boky
2006-12-16 20:08 ` Kevin F. Quinn
2006-12-16 20:41 ` Duncan
2006-12-18 9:31 ` Neil Bothwick
2006-12-18 10:22 ` Simon Stelling
2006-12-18 10:34 ` Neil Bothwick
2006-12-18 12:39 ` Duncan [this message]
2006-12-18 14:10 ` Etaoin Shrdlu
2006-12-19 15:01 ` Duncan
2006-12-20 21:49 ` Etaoin Shrdlu
2006-12-21 9:31 ` Duncan
2006-12-22 7:02 ` Mike Doty
2006-12-22 14:54 ` Boyd Stephen Smith Jr.
2006-12-22 21:20 ` Duncan
2006-12-23 3:44 ` Boyd Stephen Smith Jr.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='em626p$762$2@sea.gmane.org' \
--to=1i5t5.duncan@cox.net \
--cc=gentoo-amd64@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox