> -----Original Message----- > From: > avr-gcc-list-bounces+eric.weddington=atmel....@nongnu.org > [mailto:avr-gcc-list-bounces+eric.weddington=atmel....@nongnu. > org] On Behalf Of David Brown > Sent: Thursday, September 03, 2009 5:57 PM > To: avr-gcc-list@nongnu.org > Subject: [avr-gcc-list] Re: AVR32 -march > > Joshua Perry wrote: > > Does anyone know the difference between the settings for > the arch flag > > on avr32-gcc? It shows available ucr1, ucr2, and ucr3. I'm > having some > > issues with code causing processor exceptions; It's running > on an EV1105 > > which uses the AT32UC3A0512. > > > > This is the wrong mailing list
Agree that it's the wrong mailing list. However, to try and answer the OP's question: You shouldn't have to use -march, as that sets the architecture. You should just use the -mpart=uc3a0512 switch to set the device that you want to use. The archictectures of ucr1, ucr2, and ucr3 are just generic architecture names that select the instruction set to use. _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list