freebsd-arm Digest, Vol 276, Issue 1

Brian J. McGovern mcgovern at beta.com
Tue Jul 19 03:23:51 UTC 2011


> Message: 1
> Date: Mon, 18 Jul 2011 16:26:50 +0530
> From: satish kondapalli <nitw.satish at gmail.com>
> Subject: Free BSD support for armv7.
> To: freebsd-arm at freebsd.org
> Message-ID:
> 	<CABDOszbEMB1eU0iMzv6ihLy-pYOOE2BN33R9KN4ay4UJD2LY5w at 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'.




More information about the freebsd-arm mailing list