Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jul 2005 11:20:57 -0700
From:      garys@opusnet.com (Gary W. Swearingen)
To:        freebsd-questions@freebsd.org
Subject:   Re: How do I build i386 arch on Athlon 64?
Message-ID:  <098y09fdva.y09@mail.opusnet.com>
In-Reply-To: <56br56vyrs.r56@mail.opusnet.com> (Gary W. Swearingen's message of "Wed, 13 Jul 2005 20:42:47 -0700")
References:  <56br56vyrs.r56@mail.opusnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I finally found a clue right there in /usr/src/Makefile, where
it talks about "TARGET_ARCH".  But when I used it with i386, it seemed
to be compiling for the default gcc (386, I suppose), even when I
had CPUTYPE=athlon-xp in "/etc/make.conf".  This seems to be doing
the job (though it's still building):

make TARGET_ARCH=i386 TARGET_CPUTYPE=athlon-xp <make-target>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?098y09fdva.y09>