You are not logged in.

#1 2010-11-06 15:05:25

Isola
Member
Registered: 2010-02-02
Posts: 99

Upgrading to 64-bit. Unsure about a few things.

Hi hi!

So in my 32-bit environment of Arch I used to `pacman -r /mnt/another_root -Syu' to upgrade a few other 32-bit systems.

Now, if I'm upgrading my main system to 64-bit, I'm pretty sure that won't work as expected. I know I can pacman -r --dbpath --cachedir --config, etc, however, I think the safest way might be to chroot into the 32-bit system from my 64-bit.

This gives me a few other questions I need to know!

If I compile a program inside the chrooted 32-bit environment, will it be a 32-bit binary, even if my "host" system is running a 64-bit OS?

Will, for example, a `mkinitcpio -p kernel26' inside the 32-bit environment build a kernel for a 32-bit system?

Perhaps there is a chroot32 program I've missed too.

These are the questions I could come up with now. General 64-bit advices would be very appreciated too. Thank you

Offline

#2 2010-11-06 15:38:09

JimboP
Member
From: UK
Registered: 2005-01-14
Posts: 22

Re: Upgrading to 64-bit. Unsure about a few things.

Found this in wiki, not sure if it helps you with building 32bit apps:
https://wiki.archlinux.org/index.php/Bu … bit_system

Offline

Board footer

Powered by FluxBB