RE: Trouble compiling 2.3.39 (also 2.3.40-6) with Athlon support. .

From: Jarkko Lietolahti (jappe@mail.clinet.fi)
Date: Fri Jan 21 2000 - 08:16:11 EST


On Fri, 21 Jan 2000, Domsalla, Thorsten wrote:

Hello,
> Hi,
>
> > Hello, tried compiling both 2.3.39 and 2.3.40-6 with athlon
> > support both failing. I also tried searching archives for
> > similar case but found nothing.
>
> Some days ago I wrote about this problem in this list.
>

 Ops, sorry missed that.

> > Maybe there's something with my setup but setting processor
> > config to PPro kernel compiles just fine.
> > gcc -D__KERNEL__ -I/usr/src/linux/include -D__SMP__ -Wall
> > -mpreferred-stack-boundary=2 -DCPU=686 -march=pentiumpro
> > -mwide-multiply -fexpensive-optimizations -march=i686 -c -o
>
> There are two colliding -march compiler options (pentiumpro
> and i686). make config sets CFLAGS to ... -march=pentiumpro.
> In arch/i386 there's another Makefile that adds -march=i686
> to CFLAGS in case of an Athlon system.
>

 So, what is the correct compiles flags for athlon? Or more corrent one.

> Some of the guys guessed the problem might be my SuSE dist.
> What distribution do you use?
>
 
  Based on redhat, but with latest glibc, egcs etc rpms from whereever.

> T. J.
> --
> T. J. D O M S A L L A_________________________________
> CRM ERP Interfaces - The impossible we do immediately.
> - Miracles require 24-hour notice.
> ______________________________http://www.domsalla.de/tj/
>

--
jappe@iki.fi

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:25 EST