gcc issues on an AMD Duron Server

Daniel Carrera dcarrera@math.umd.edu
Tue Jun 17 04:21:00 GMT 2003

Hash: SHA1

Notice in this line:

> checking whether the C compiler (gcc -O2 -march=3Di386 -funroll-loops =

That -march=3Di386 is wrong, it should be one of:


If you are on a Duron system, then -march=athlon is the best for you.  If 
that gives you trouble, try -march=i686.  I'm 90% sure that a Duron and an 
Athlon are the same, that the difference is just the L2 cache which 
doesn't affect the compiler.  So -march=athlon should work for you.

Hope that helps.

On Mon, Jun 16, 2003 at 03:55:57PM -0400, Phillip C. Roberts wrote:
> When I make an attempt to compile anything with gcc i get a i686 error.  =
> I am working with RH 7.3 on a box with a Duron Processor.  What should =
> my SPECS file be set to for such a system?
> Below is a copy of the error that I recieve when attempting to configure =
> apache on the box.
> Configuring Apache Portable Runtime library ...
> checking for APR... reconfig
> configuring package in srclib/apr now
> loading cache /usr/updates/httpd-2.0.46/./config.cache
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking build system type... i686-pc-linux-gnu
> Configuring APR library
> Platform: i686-pc-linux-gnu
> checking for working mkdir -p... (cached) yes
> APR Version: 0.9.4
> checking for chosen layout... apr
> checking for gcc... gcc
> checking whether the C compiler (gcc -O2 -march=3Di386 -funroll-loops =
> configure: error: installation or configuration problem: C compiler =
> cannot create executables.
> configure failed for srclib/apr
> I recieve errors no matter what I attempt to compile with gcc...
> Thanks in advance for any input....
> Phillip Roberts

- -- 
Daniel Carrera         | OpenPGP fingerprint:
Graduate TA, Math Dept | 6643 8C8B 3522 66CB D16C D779 2FDD 7DAC 9AF7 7A88
UMD  (301) 405-5137    | http://www.math.umd.edu/~dcarrera/pgp.html
Version: GnuPG v1.2.2 (SunOS)


More information about the Gcc-help mailing list