Date: Mon, 18 Jul 2011 23:23:49 -0400 From: "Brian J. McGovern" <mcgovern@beta.com> To: freebsd-arm@freebsd.org, nitw.satish@gmail.com Subject: Re: freebsd-arm Digest, Vol 276, Issue 1 Message-ID: <1311045829.1508.11.camel@bmcgover-laptop.beta.com> In-Reply-To: <20110718120023.5381410656B5@hub.freebsd.org> References: <20110718120023.5381410656B5@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> Message: 1 > Date: Mon, 18 Jul 2011 16:26:50 +0530 > From: satish kondapalli <nitw.satish@gmail.com> > Subject: Free BSD support for armv7. > To: freebsd-arm@freebsd.org > Message-ID: > <CABDOszbEMB1eU0iMzv6ihLy-pYOOE2BN33R9KN4ay4UJD2LY5w@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi, > > I am trying to compile Freebsd for ARMv7 architecture. I compiled the > kernel with the following option in my conf file. > makeoptions CONF_CFLAGS="-march=armv7" > > In the compilation time i got the following error. > head/sys/arm/arm/genassym.c:1: error: bad value (armv7) for -march= switch. > > I am new to FreeBSD, can anyone explain what i need to do in my case. > My gcc compiler info: > # gcc -v > Using built-in specs. > Target: i386-undermydesk-freebsd > Configured with: FreeBSD/i386 system compiler > Thread model: posix > gcc version 4.2.1 20070719 [FreeBSD] > > Thanks > Sateesh > > >From the gcc info page... `-march=NAME' This specifies the name of the target ARM architecture. GCC uses this name to determine what kind of instructions it can emit when generating assembly code. This option can be used in conjunction with or instead of the `-mcpu=' option. Permissible names are: `armv2', `armv2a', `armv3', `armv3m', `armv4', `armv4t', `armv5', `armv5t', `armv5te', `armv6', `armv6j', `iwmmxt', `ep9312'. Perhaps what you want is the -mcpu option? If you need -march, I'm guessing it will be one of the 'later' ones. `-mcpu=NAME' This specifies the name of the target ARM processor. GCC uses this name to determine what kind of instructions it can emit when generating assembly code. Permissible names are: `arm2', `arm250', `arm3', `arm6', `arm60', `arm600', `arm610', `arm620', `arm7', `arm7m', `arm7d', `arm7dm', `arm7di', `arm7dmi', `arm70', `arm700', `arm700i', `arm710', `arm710c', `arm7100', `arm7500', `arm7500fe', `arm7tdmi', `arm7tdmi-s', `arm8', `strongarm', `strongarm110', `strongarm1100', `arm8', `arm810', `arm9', `arm9e', `arm920', `arm920t', `arm922t', `arm946e-s', `arm966e-s', `arm968e-s', `arm926ej-s', `arm940t', `arm9tdmi', `arm10tdmi', `arm1020t', `arm1026ej-s', `arm10e', `arm1020e', `arm1022e', `arm1136j-s', `arm1136jf-s', `mpcore', `mpcorenovfp', `arm1176jz-s', `arm1026ej-s', `arm10e', `arm1020e', `arm1022e', `arm1136j-s', `arm1136jf-s', `mpcore', `mpcorenovfp', `arm1176jz-s', `arm1176jzf-s', `xscale', `iwmmxt', `ep9312'.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1311045829.1508.11.camel>