public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc 2.95.3 building problem x86_64
@ 2008-08-09 18:06 cihan
  2008-08-09 23:27 ` Brian Dessent
  0 siblings, 1 reply; 2+ messages in thread
From: cihan @ 2008-08-09 18:06 UTC (permalink / raw)
  To: gcc-help

I have intel core2 duo 64 bit processor and I try to build gcc 2.95.3 on 
ubuntu 8.04 but the gcc cant build

 ./configure --target=x86_64-linux-gnu --host=x86_64-linux-gnu 
--build=x86_64-linux-gnu --prefix=/usr/local
Invalid configuration `x86_64-linux-gnu': machine `x86_64' not recognized
Unrecognized build system name x86_64-linux-gnu.


and

# gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v 
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr 
--enable-shared --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix --enable-nls 
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc 
--enable-mpfr --enable-checking=release --build=x86_64-linux-gnu 
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gcc 2.95.3 building problem x86_64
  2008-08-09 18:06 gcc 2.95.3 building problem x86_64 cihan
@ 2008-08-09 23:27 ` Brian Dessent
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Dessent @ 2008-08-09 23:27 UTC (permalink / raw)
  To: cihan; +Cc: gcc-help

cihan wrote:

> I have intel core2 duo 64 bit processor and I try to build gcc 2.95.3 on
> ubuntu 8.04 but the gcc cant build

Well what do you expect?  2.95.3 was released on 2001-03-19 and didn't
support x86_64.  According to wikipedia the first x86_64 processer
wasn't even released until April 2003, and according to the gcc release
notes x86_64 support was contributed for 3.1.  But I wouldn't recommend
using anything older than 3.2 if you must use these archaic versions.

Of course if you switch to a 32 bit x86 target then everything should
work fine.

Brian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-09 20:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-09 18:06 gcc 2.95.3 building problem x86_64 cihan
2008-08-09 23:27 ` Brian Dessent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).