Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Oct 2010 14:37:12 -0700
From:      David Brodbeck <gull@gull.us>
To:        spellberg_robert <emailrob@emailrob.com>
Cc:        fbsd_questions <freebsd-questions@freebsd.org>
Subject:   Re: [fbsd_questions] i386 vs amd64, on intel_64
Message-ID:  <AANLkTintm_XubwCCRNJci99Y4M6nwbFr=oiKqBw2%2Ba9M@mail.gmail.com>
In-Reply-To: <4CAA3030.3090001@emailrob.com>
References:  <4CAA3030.3090001@emailrob.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 4, 2010 at 12:51 PM, spellberg_robert <emailrob@emailrob.com> w=
rote:
> =A0q: =A0 =A0if i install an "amd64" version on an "intel_64" platform,
> =A0 =A0 =A0 =A0 =A0am i restricted to 16 64_bit registers and 48_bit poin=
ters or
> =A0 =A0 =A0 =A0 =A0can i compile for both cpu_models
> =A0 =A0 =A0 =A0 =A0[ perhaps, with nothing more complicated than a compil=
er option ] ?

Take a look at gcc's -m32 and -m64 options.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTintm_XubwCCRNJci99Y4M6nwbFr=oiKqBw2%2Ba9M>