CortexM3 GCC 4.3.2

Vivek Kumar Gupta gkvivek@zilog.com
Tue Nov 18 13:24:00 GMT 2008


Thanks Yann, for fixing my doubts.

While building tool chain for CortexM3 with GCC 4.3.2, I am getting
error.
Kindly see if this can fix by some way.

I understand that now mcpu is deprecated so I have not used in setting.

When I use Architure level as "armv7m" and Tune for CPU as "cortex-m3"

[ALL  ]    For  real value is 
[ALL  ]    For cortex-m3 real value is cortexm3
[ALL  ]    Unknown arch used in --with-arch=armv7m
[ERROR]    make[1]: *** [configure-gcc] Error 1
[ALL  ]    make[1]: Leaving directory
`/newhd/gccCortexM3/ct-ng-trunk-20081115/targets/arm-unknown-linux-uclib
cgnueabi/build/build-cc-core-static'
[ERROR]    Build failed in step 'Installing static core C compiler'


When I use Architure level as "armv7-m" and Tune for CPU as "cortex-m3"

[ALL  ]    For cortex-m3 real value is cortexm3
[ALL  ]    For cortex-m3 real value is cortexm3
[ALL  ]    Unknown arch used in --with-arch=armv7-m
[ERROR]    make[1]: *** [configure-gcc] Error 1
[ALL  ]    make[1]: Leaving directory
`/newhd/gccCortexM3/ct-ng-trunk-20081115/targets/arm-unknown-linux-uclib
cgnueabi/build/build-cc-core-static'

I also tried "armv7m" and "cortexm3" still it is giving error.
I have seen gcc 4.3.2 manual also so according to them right way is
"armv7-m" and cortex-m3"

What extactly I have to use for Architure level  and Tune for CPU ?
Or I have to change some thing else here.


Regards
Vivek

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list