Building an i486 cross compiler for ABS

Re: Building an i486 cross compiler for ABS

The current gcc can build for i486 no problem. The problem is things that are statically linked.

For example, if you have libtar on your system, which is i686 and you compile pacman, it'll statically link to libtar. Even though pacman's instruction set is i486, libtar's is i686, so it won't work on an i486.

I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room- Blaise Pascal

Re: Building an i486 cross compiler for ABS

Xentac wrote:

The current gcc can build for i486 no problem. The problem is things that are statically linked.

For example, if you have libtar on your system, which is i686 and you compile pacman, it'll statically link to libtar. Even though pacman's instruction set is i486, libtar's is i686, so it won't work on an i486.

I read it whould work with the cross compiler. I build an cross compiler 3 month ago but it didn't work with static libs. Maybe I did it wrong. Is there a tutorial 4 arch? I want to build all base packages (including gcc, glibc and binutils) for an pentium 2 233 dual.