You are not logged in.

#1 2004-08-08 19:47:39

Fox
Member
Registered: 2004-07-28
Posts: 124

Building an i486 cross compiler for ABS

How to buil an i486 cross compiler for ABS?

Fox

Offline

#2 2004-08-08 20:22:53

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

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

Offline

#3 2004-08-09 11:24:49

Fox
Member
Registered: 2004-07-28
Posts: 124

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.

Thanks for help
Fox

Offline

#4 2004-08-09 15:06:35

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: Building an i486 cross compiler for ABS

That machine is, at worst, an i586.  We already have an i586 repo for current.


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

Offline

#5 2004-08-09 16:42:12

Fox
Member
Registered: 2004-07-28
Posts: 124

Re: Building an i486 cross compiler for ABS

Xentac wrote:

That machine is, at worst, an i586.  We already have an i586 repo for current.

I know this. I read this in the Mailing list, but I want to use the packages for older pc's too.

Offline

Board footer

Powered by FluxBB