dang / 32bit-userland Goto Github PK
View Code? Open in Web Editor NEWAn overlay and profile for a 32bit-userland multilib version of Gentoo amd64
An overlay and profile for a 32bit-userland multilib version of Gentoo amd64
Run Gentoo amd64? Interested in a 32bit userland for it? Willing to deal with failures and fix them? This is for you! This is an overlay and a profile for 32bit userland on 64bit Gentoo. It's hard to use. This overlay uses i686 as your CHOST. It is important that you set CHOST propery in your profile to use this overlay. Boot an amd64 boot CD, and install an i686 stage3. Set up this overlay, and copy this profile over your portage, and pick the 32bit-userland profile. Patch your toolchain.eclass Copy 64bit libc from your amd64 box into /lib64 and /usr/lib64. You'll need: /lib64/libc.* /lib64/ld-* /lib64/libpthread* /lib64/libm.* /lib64/libm-* /usr/lib64/libc.* /usr/lib64/libc_* /usr/lib64/crt* /usr/lib64/libpthread* /usr/lib64/libm.* From CD, mv /lib -> /lib32 and symlink /lib32 lib (and for /usr/lib) Copy /etc/env/04multilib to the chroot and remove /lib:/usr/lib: Emerge a multilib gcc. - Make sure gcc has -mudflap - FEATURES: -sandbox userpriv - Change uintptr_t in <stdint.h> to be always 64 bit Emerge a multilib glibc. - FEATURES: -sandbox -userpriv Re-emerge python so it knows it's in lib32 not lib You now have a working 32bit-userland sysetem. Remeber to use those features when compiling gcc or glibc/linux-headers. Especially linux-headers: it will install empty headers with sandbox or userpriv, and this will break *everything*. Make sure to select a 64bit kernel and enable 32bit emulation. I've included a script in this overlay named ttsync. It allows you to sync your portage and fixes your profile and toolchain.eclass. Use it instead of emerge --sync or eix-sync
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.