On 27 Jun 2006, at 13:23, Kenn Humborg wrote:
> Here's a CentOS 4 box, fully updated:
>> [kenn at datus kenn]$ mkdir tmp/gcc-test
> [kenn at datus kenn]$ cd tmp/gcc-test
> [kenn at datus gcc-test]$ wget
>http://ftp.heanet.ie/pub/gnu/gcc/gcc-4.1.0/gcc-core-4.1.0.tar.bz2> [kenn at datus gcc-4.1.0]$ tar -xjf gcc-core-4.1.0.tar.bz2 && cd
> gcc-4.1.0
> [kenn at datus gcc-4.1.0]$ ./configure
> ...
> [kenn at datus gcc-4.1.0]$ make
> ...
> [kenn at datus gcc-4.1.0]$ ./host-i686-pc-linux-gnu/gcc/xgcc --version
> xgcc (GCC) 4.1.0
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
All this whinging made me do something which I haven't done in nearly
a decade i.e. compile gcc myself. However, on the same OS but x86_64
the build fails with
/usr/bin/ld: crti.o: No such file: No such file or directory
crti.o only exists as /usr/lib64/crti.o so I guess I'd need to
give configure some options. But it certainly doesn't seem too
bothered about kernel headers.
Niall
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!