(reduce optimization) was: ARM946E-S attempt (gdb patches / insight)
Smith, Gene SEA
Gene.Smith at siemens.com
Tue Aug 12 22:36:07 UTC 2008
Thanks for the quick answer. But still don't know what I am doing wrong.
Changed the file rtems-4.8.0/make/custom/csb337.cfg and changed the
CFLAGS_OPTIMIZE_V to first -Os -g (like you suggested) and then to -O0
-g and re-ran configure both times and always see to -O2 -g in each
invocation of gcc during make all.
From: Joel Sherrill [mailto:joel.sherrill at OARcorp.com]
Sent: Tuesday, August 12, 2008 5:36 AM
To: Smith, Gene SEA
Cc: rtems-users at rtems.com
Subject: Re: ARM946E-S attempt (gdb patches / insight)
Smith, Gene SEA wrote:
> How do you set the compile option to -O0 so it takes effect everywhere
> (building rtems and your app)?
the make/custom file.
FWIW I had to do some analysis on the SPARC and found
-Os much easier to read and ~10% smaller executables.
> -----Original Message-----
> From: rtems-users-bounces at rtems.org
> [mailto:rtems-users-bounces at rtems.org] On Behalf Of Joel Sherrill
> Sent: Monday, March 24, 2008 4:24 PM
> To: gds
> Cc: rtems-users at rtems.com
> Subject: Re: ARM946E-S attempt (gdb patches / insight)
> gds wrote:
>> In my attempt to build an ARM946E-S bsp I hijacked the existing
>> bsp as a starting point.
More information about the users