[Devel] Re: [Users] action.c:1: error: bad value (x86_64) for -mtune= switch

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Feb 27 12:22:26 CET 2007


Hi Bastian,

Bastian Friedrich wrote:
> Hi,
>
> On Dienstag 27 Februar 2007, Bogdan-Andrei Iancu wrote:
>   
>> I changed the name of the internal variable to avoid the overlapping.
>> Please update and see if the issue is fixed now.
>>     
>
> thx, this works. :))
>
> I still do have three questions, as I don't know much about gcc 
> internals:
> a) Will this code work on Intel 64bit machines, too?
>   
yes
> b) In my understanding, OpenSER's build environment is meant to build
>    systems on the machine the code is intended to run on. Wouldn't it be
>    better to use "-mtune=native" in this case?
>   
not necessary - you want to do also cross-compiling ;)
> c) Is there any particular reason you use "mtune" instead of "march"
>    (which implies "mtune") in this context?
>   
maybe I'm wrong, but march was obsolete in some gcc versions....
> As I said, I don't know much about gcc internals, so maybe I'm plainly 
> wrong :)
>   
that applies for me also :D

regards,
bogdan
> Thx anyway,
>    Bastian
>
>   




More information about the Devel mailing list