Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 20 Jun 2012 08:36 AM by
Disable Optimization
 0 Replies
You are not authorized to post a reply.
Author Messages
New Member
New Member

20 Jun 2012 08:36 AM
    I need to build with optimization disabled for some debugging. When I attempt to build with the ENABLE_OPTIMIZER build option set to 0 I get compilation errors.

    BUILD: [00:0000000029:PROGC ] Building COMPILE Pass in C:\WINCE700\platform\AM35x_BSP\SRC\BOOTLOADER\XLDR\UART\ directory.
    BUILD: [01:0000000043:PROGC ] Compiling .\xldrmodem.c
    BUILD: [01:0000000046:ERRORE] Error(s) in directory "C:\WINCE700\platform\AM35x_BSP\SRC\BOOTLOADER\XLDR\UART\".
    BUILD: [01:0000000047:ERRORE] c:\wince700\platform\am35x_bsp\src\bootloader\xldr\uart\xldrmodem.c(114) : error C2220: warning treated as error - no 'object' file generated
    BUILD: [01:0000000048:WARNN ] Warning(s) in directory "C:\WINCE700\platform\AM35x_BSP\SRC\BOOTLOADER\XLDR\UART\".
    BUILD: [01:0000000049:WARNN ] c:\wince700\platform\am35x_bsp\src\bootloader\xldr\uart\xldrmodem.c(114) : warning C4013: 'memset' undefined; assuming extern returning int
    BUILD: [01:0000000050:ERRORE] NMAKE : fatal error U1077: 'C:\WINCE700\sdk\bin\i386\ARM\cl.EXE' : return code '0x2'

    What do I need to do to be able to build the OS Design with optimization disabled?
    You are not authorized to post a reply.