更换语言:
   Contact us
  • Follow CooCox
  •         
  • CooCox Market
  •         
  • Tech Support
  •     
Home  › CoIDE ›Compiler Setting

Compiler Setting 

Before you use CoIDE to start your project, you need to config the GCC compiler and debugger at first.

CooCox suggest you to choose ARM GCC as the compiler since it is from ARM official. If you want to know more details about ARM GCC, please click here. In additional, you can also choose the other GCC compiler such as CodeSoucery GCC.

ARM GCC 4.7 Features:

  • All GCC 4.7 features, plus latest mainline features
  • Additional code size optimizations
  • Newlib-nano: newlib branch optimized for code size

Learn more ARM GCC 4.7 function

Download:  GCC ARM Embedded

Note:

     As CoIDE support different GCC compiler, you need to pay attention to the following point when you switch between the compilers:

  • The different compilers have different C libraries, for example: ARM GCC have base C Library and Semihosting Library, Retarget Library. But Code Soucery GCC only have the base C Library. See: Project Configuration
  • ARM GCC and Code Soucery GCC use different link.ld when they compile the same project. CoIDE will gernerate different link.ld when you create the project, so it is strongly recommended of you to set the GCC compiler before you start.
  • If you want to use ARM GCC to compiler the project you created under Code Sourcery GCC, you need to delete the Build.xml, link.ld, memory.ld. Then check a component and reconfigure the project after set the GCC.

Then you need to do the following operations.

 
  1. 1. After launching CooCox CoIDE, Click "Select Toolchain path" under the Project menu.
  2. 2. Click the browse button, select the folder which contains the arm-none-eabi-gcc.exe and the other gcc excute files.
  3. 3. For example, select the bin folder.
  4. 4. Click OK button to save the setting.
      

After set the GCC Toolchain, you can use the CoIDE to create a project and try the other function.
See: CoIDE QuickStart.

© 2009 -2011 CooCox - Terms of Use         Business Model         Market             About us             Terms and Conditions