Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 May 2005 00:22:16 -0700
From:      "Darren Pilgrim" <dmp@bitfreak.org>
To:        "'Viatcheslav Fedorov'" <teodora@rambler.ru>
Cc:        freebsd-stable@freebsd.org
Subject:   RE: Building kernel, -mno-3dnow and stuff.
Message-ID:  <000801c561c3$a90ac720$0a2a15ac@SMILEY>
In-Reply-To: <003d01c561c2$117b7360$db99ed53@lmda6q67alsbow>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Viatcheslav Fedorov
> 
> cc -O -pipe -march=pentiumpro -march=athlon-tbird 
> -I/<...cut...>  -mno-mmx -mno-3dnow -mno-sse -mno-sse2

These are disabled because they cause problems when used in the kernel.

> my ``/etc/make.conf'' file:
> -------------------------------------
> CPUTYPE=athlon-tbird
> CFLAGS= -O -pipe -march=pentiumpro
> COPTFLAGS= -O -fomit-frame-pointer -march=pentiumpro -pipe
> -------------------------------------

You should not put -march in your FLAGS variables.  CPUTYPE determines the
correct architecture- and processor-specific compiler flags.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000801c561c3$a90ac720$0a2a15ac>