[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ttylinux:364] i486 build with gcc



On 05/05/13 13:28, Douglas Jerome wrote:
On 05/05/13 12:44, AndrewHolt wrote:
Hi,

I started with the latest download & updated from git.

I'll do the build again, and send you the log.  It was failing to build
  gcc.  I have been adding things and fiddling around.  I suspect that
it's something to do with the absence of a dev pacakge for glibc-2.9.

TTYLINUX_PACKAGE[i++]="glibc-2.9"
# TTYLINUX_PACKAGE[i++]="glibc-2.16.0"
# TTYLINUX_PACKAGE[i++]="glibc-devel-2.16.0"

Thanks,
Andrew
Yes, that is part of it.  If you and added binutils to
the config you saw something like:

binutils-2.23 ......... g.b.f.m__19.XXc ... DONE [ 2 minutes 23 seconds]

Notice the XX in that. There needs to be a "files-pc_i486" file in
pkg-cfg/binutils-2.23/ and pkg-cfg/gcc-4.6.3/

Are you really interested in i486? I'll try to get it going in the
next couple hours and post it to github (with the rest of the virtio
changes).

This will be some other config file in config/platform-pc_i486/, maybe
something like pc_i486_gccconfig.
It didn't "just work". I am sceptical of using glibc-2.9 (it
is old) for building gcc-4.6.3 (it is new-ish). I think I
once built gcc-4.4.6 for ttylinux i486 without much problem.

So, I am dropping this for now; don't look for it in the
github repository today.

After I get the virtio versions released I'll look at
building gcc-4.4.6 for the ttylinux pc_i46 platform.