-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
32bit support? #250
Comments
Oh ! That's perfect ! We need someone to check and add/replace conversion like |
Hmm. Didn't expect this to not have been tested at all. Checking 32-bit stuff on a 64-bit system should be pretty easy, just make a 32-bit chroot. Too bad travis doesn't provide this... |
A 32-bit chroot ? |
Oh.. you might not be running Linux?.. My bad haha. |
Problem is that compiling rgtk on that netbook takes around 45 minutes or something like that, chroot on a beefier machine seems to be the better option |
In case anyone finds it useful, a 32-bit chroot is as simple as
This will also allow to test with various GTK versions. |
@gkoz: I'm under linux and I didn't know that, thanks for the tip ! |
@GuillaumeGomez |
That was just laziness though, when running a system in a chroot you need to mount |
Hum... I was going to use a linux live usb to test 32-bit (taht's how I was doing before) but I'll give a try to your solution. |
So the more correct way to start the chroot would be
And if you're going to use a recent version of Ubuntu, your kernel better not be too old... |
As I want to be able to compile this Rust binding for GTK+ on ARMv7, which is also a 32-bit architecture, I am currently working on a patch that fixes this particular issue. |
Also, to set up a 32-bit chroot, do the following: Download a rootfs for the distribution you want to use: Debian
Gentoo
Ubuntu
Entering the chroot32 environment
Note: you can also save this as a shell script. Leaving the chroot32 environmentSimply type
|
Hi,
i just wanted to compile my program on i386 (Atom based netbook) but the steps show the following errors. I guess this is due to the netbook being 32bit? Or could this be something different?
The text was updated successfully, but these errors were encountered: