Re: gcc 4.8.0 Ada error

Keith Marshall <[email protected]> Tue, 09 Apr 2013 21:27:08 +0100
Newsgroups gmane.comp.gnu.mingw.devel
Organization MinGW Project
Message-ID <[email protected]>
On 09/04/13 20:01, Earnie Boyd wrote:
>> I will test and find out. Do you think it should be mtune instead of
>> march (see doc linked below)? Should I set this in C_FLAGS or configure
>> (as I asked John before)?
>>
>> http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html
>
> You can tune to i686 with the architecture of i486.

IOW, -march=i486 -mtune=i686

> Use configure instead of C_FLAGS unless you have no other option.

It is CFLAGS, not C_FLAGS, and you should pass

   CFLAGS='-march=i486 -mtune=i686'

as an argument, when you run configure.  You should *never*, under any 
circumstances, muck about within an autoconf generated configure script 
with a text editor, (which is what I assume you mean by "use configure" 
as an alternative to setting CFLAGS).

-- 
Regards,
Keith.

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter