Can you explain what you mean by does not work? Are you still getting illegal instructions? You may also need to set -mtune. This is what we use for the intel-corei7-64 BSP in the Yocto Project which enables the Nehalem and Baytrail and later CPUs (including the E3825 on the MinnowBoard MAX):
-march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2 Thanks, Darren On 3/3/15 11:13 AM, Benjamin Schubert wrote: > Hey, > > Sorry for the long delay. I tried with -march=corei7 without any > success. that does not work either. > > Anybody found something else ? > > Thanks a lot > > Le lun. 23 févr. 2015 à 23:00, Darren Hart <[email protected] > <mailto:[email protected]>> a écrit : > > Native uses your host CPU, if you want something tailored for the > MinnowBoard MAX Bay Trail SoC, you should use march=corei7. > -- > Darren Hart > Intel Open Source Technology Center > > From: Michael Jarvis <[email protected] > <mailto:[email protected]>> > > Reply-To: MinnowBoard Development and Community Discussion > <[email protected] > <mailto:[email protected]>> > Date: Monday, February 23, 2015 at 11:53 AM > > To: MinnowBoard Development and Community Discussion > <[email protected] > <mailto:[email protected]>> > Subject: Re: [MinnowBoard] [MinnowBoardMax] gcc flags > > I usually use "-mtune=native". Does that not work for you? > > > > On Sat, Feb 21, 2015 at 3:58 PM, Benjamin Schubert > <[email protected] <mailto:[email protected]>> wrote: > > Hey everyone ! > > I've been strugling for a while on setting up correct gcc > flags for the minnowboard max. > > I'm using GCC 4.9.2 with CFLAGS="-march=silvermont" and I > get illegall instructions on some programs. > > Has anyone managed to have working CFLAGS that are not > -march=native ? > > Thanks a lot > > _______________________________________________ > elinux-MinnowBoard mailing list > [email protected] > <mailto:[email protected]> > http://lists.elinux.org/mailman/listinfo/elinux-minnowboard > > > > > -- > *Michael Jarvis* > McKinney, TX USA > http://about.me/michael.a.jarvis > _______________________________________________ > elinux-MinnowBoard mailing list > [email protected] > <mailto:[email protected]> > http://lists.elinux.org/mailman/listinfo/elinux-minnowboard > > _________________________________________________ > elinux-MinnowBoard mailing list > elinux-MinnowBoard@lists.__elinux.org > <mailto:[email protected]> > http://lists.elinux.org/__mailman/listinfo/elinux-__minnowboard > <http://lists.elinux.org/mailman/listinfo/elinux-minnowboard> > > > > _______________________________________________ > elinux-MinnowBoard mailing list > [email protected] > http://lists.elinux.org/mailman/listinfo/elinux-minnowboard > -- Darren Hart Intel Open Source Technology Center _______________________________________________ elinux-MinnowBoard mailing list [email protected] http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
