x86-64 precompiled binary question

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Wed Jun 9 14:36:05 UTC 2010


On Wed, Jun 09, 2010 at 10:31:13AM -0400, bob 295 wrote:
> We've been producing i386 precompiled binary versions of the SIMPL open source 
> stuff for a while now.    This works well enough for those with 32 bit 
> machines.   It doesn't work very well for 64 bit machines.
> 
> What is the equivalent GCC flag to produce x86-64 code to the lowest common 
> denominator for 64 bit machines?   ie. what do Linux distributions use when 
> they produce an x86-64 version? 
> 
> I looked up -mtune=generic on the GCC man page but it appears to produce some 
> kind of hybrid 32bit/64bit code.  Very confusing.
> 
> Thanks in advance for your help.

You simply run gcc.  The defaults is the lowest common denominator,
and very good for all current machines (well except probably the P4s,
but who cares).

-- 
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list