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 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 16 64_bit registers and 48_bit pointers or >>> can i compile for both cpu_models >>> [ perhaps, with nothing more complicated than a compiler option ] >>> ? >> >> >> Take a look at gcc's -m32 and -m64 options. >> > > > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"