[fbsd_questions] i386 vs amd64, on intel_64

2010-10-04 Thread spellberg_robert
howdy, y'all --- these may be stupid questions and, if so, i am prepared to slap my forehead with the palm of my hand. i recently acquired my first batch of intel cpus with 64_bit integer registers [ celeron 440 ], specifically for the 16 registers and the potential for a truly_gargantuan

Re: [fbsd_questions] i386 vs amd64, on intel_64

2010-10-04 Thread David Brodbeck
On Mon, Oct 4, 2010 at 12:51 PM, spellberg_robert email...@emailrob.com wrote:  q:    if i install an amd64 version on an intel_64 platform,          am i restricted to 16 64_bit registers and 48_bit pointers or          can i compile for both cpu_models          [ perhaps, with nothing more

Re: [fbsd_questions] i386 vs amd64, on intel_64

2010-10-04 Thread spellberg_robert
hmmm ..., you did not answer the question that i asked. per your statement, on i386, amd64 or both ? David Brodbeck wrote: On Mon, Oct 4, 2010 at 12:51 PM, spellberg_robert email...@emailrob.com wrote: q:if i install an amd64 version on an intel_64 platform, am i restricted to

Re: [fbsd_questions] i386 vs amd64, on intel_64

2010-10-04 Thread David Brodbeck
On a 64-bit system, if you build a binary with the -m32 flag, it should run on both i386 and x86-64 systems. A binary built with -m64 will only run on x86-64. Does that help? On Mon, Oct 4, 2010 at 1:45 PM, spellberg_robert email...@emailrob.com wrote: hmmm ..., you did not answer the question

Re: [fbsd_questions] i386 vs amd64, on intel_64

2010-10-04 Thread Michael Powell
spellberg_robert wrote: [snip] consider a dvd_image [ to pick an approach ] of a release to be found on ftp.freebsd.org. q:if the release_name includes the string i386, am i restricted to 8 32_bit registers and 32_bit pointers, notwithstanding its installation

Re: [fbsd_questions] i386 vs amd64, on intel_64

2010-10-04 Thread Dan Nelson
In the last episode (Oct 04), David Brodbeck said: On a 64-bit system, if you build a binary with the -m32 flag, it should run on both i386 and x86-64 systems. A binary built with -m64 will only run on x86-64. Does that help? Actually, -m32 on amd64 won't generate usable binaries, since

Re: [fbsd_questions] i386 vs amd64, on intel_64

2010-10-04 Thread spellberg_robert
aha ! this relates to what i found in machine/types.h, on my existing i386 version of freebsd on my intel_64 hardware platform. i will look into the questions archive. meanwhile, back at the ranch, does this mean that i need the amd64 version of freebsd to get the right headers ? Dan

Re: [fbsd_questions] i386 vs amd64, on intel_64

2010-10-04 Thread spellberg_robert
well, i looked at questions back to the beginning of august. on aug_09 i found a thread that suggests the following questions. for a given release of freebsd, q:is it that the version labeled i386 contains only 32_bit headers and source, which creates the 32_bit version of

Re: [fbsd_questions] i386 vs amd64, on intel_64

2010-10-04 Thread Dan Nelson
In the last episode (Oct 05), spellberg_robert said: well, i looked at questions back to the beginning of august. on aug_09 i found a thread that suggests the following questions. You might want to just use i386 and amd64 instead of making up your own terminology (i_386, intel_64, amd_64,