[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Optimisation level on ARM

Andy Dachs wrote:
> Hi,
> Has anyone had success with the ARM bsps and any optimisation level for CFLAGS_OPTIMIZE_V in the .cfg file?
> I can successfully build a StrongArm BSP and run the sample executables with:
> CPU_CFLAGS = -mcpu=strongarm1100 -msoft-float
> But when I've tried the same CPU_FLAGS and:
> Any executable (hello, ticker etc) crashes shortly after startup.  It could well be something in my BSP...

Just a guess but you are probably right.  It is probably optimizing
somethign in your initialization code that is tinkering with HW
and is not using volatile.

> Regards,
> Andy
> Surrey Satellite Technology Limited
> http://www.sstl.co.uk
> The views expressed in this email are my own (isn't that reassuring?)
> _______________________________________________________________________
> FSmail - Get your free web-based email from Freeserve: www.fsmail.net

Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985