Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED: xorg: host.def <- what sets these variables?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
SteepLearningCurve
n00b
n00b


Joined: 05 Feb 2005
Posts: 2
Location: Maldon, Essex, UK

PostPosted: Sat Feb 05, 2005 5:33 pm    Post subject: SOLVED: xorg: host.def <- what sets these variables? Reply with quote

I've just upgraded my CPU and changed my flags from i386 to athlon-xp, and I'm now recompiling my system (emerge -e system). Compiling groff caused major problems until I discovered the following in host.def:
Code:
#define CcCmd i386-pc-linux-gnu-gcc

so changed this to i686-pc-linux-gnu-gcc and the emerge of system now completes.
However, there are a number of other variables there which appear to be wrong such as:
Code:
#define HasMMXSupport NO
#define Has3DNowSupport NO

Others I'm not sure about.
What sets all of these variables? Do I need to recompile xorg, or would that use host.def as it is? Is there a useful script which will set these?

Thanks for your help.

Code:
emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Sempron(tm)   2400+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Feb  5 2005, 17:15:52)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups encode f77 flac font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mpeg mplayer mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS


Last edited by SteepLearningCurve on Mon Feb 14, 2005 9:29 am; edited 1 time in total
Back to top
View user's profile Send private message
SteepLearningCurve
n00b
n00b


Joined: 05 Feb 2005
Posts: 2
Location: Maldon, Essex, UK

PostPosted: Mon Feb 14, 2005 9:29 am    Post subject: Reply with quote

Solved this one myself. I hadn't changed my USE flags, so they now include "MMX MMX2 SSE 3DNOW 3DNOWEX". Re-emerged xorg with "--newuse" and the flags have been set.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum