Patch #2219 2007-10-22 22:03

pauliusz

Add ARM and AVR for linux. Fix GDC includes.
Download
2219-Add_ARM_and_AV.patch (1.5 KB)
Category
Application::Refinement
Status
Accepted
Close date
2007-10-31 11:28
Assigned to
 
Index: src/plugins/compilergcc/compilergcc.cpp
===================================================================
--- src/plugins/compilergcc/compilergcc.cpp    (revision 4547)
+++ src/plugins/compilergcc/compilergcc.cpp    (working copy)
@@ -59,8 +59,9 @@
 #include "compilerMINGW.h"
 #ifdef __WXGTK__
 // TODO (mandrav#1#): Find out which compilers exist for linux and adapt this
-    #include "compilerGDC.h"
     #include "compilerDMD.h"
+    #include "compilerGNUARM.h"
+    #include "compilerGNUAVR.h"
 #endif
 #ifdef __WXMSW__
     #include "compilerMSVC.h"
@@ -68,19 +69,16 @@
     #include "compilerBCC.h"
     #include "compilerDMC.h"
     #include "compilerOW.h"
-    #include "compilerGDC.h"
     #include "compilerDMD.h"
     #include "compilerGNUARM.h"
     #include "compilerGNUAVR.h"
     #include "compilerGNUMSP430.h"
     #include "compilerCYGWIN.h"
 #endif
-#ifdef __WXMAC__
-    #include "compilerGDC.h"
-#endif
 #include "compilerICC.h"
 #include "compilerSDCC.h"
 #include "compilerTcc.h"
+#include "compilerGDC.h"
 #include "compilerGNUPOWERPC.h"
 #include "compilerGNUTRICORE.h"
 
@@ -336,6 +334,8 @@
     CompilerFactory::RegisterCompiler(new CompilerGDC);
 #if defined(__WIN32__) || defined(__linux__)
     CompilerFactory::RegisterCompiler(new CompilerDMD);
+    CompilerFactory::RegisterCompiler(new CompilerGNUARM);
+    CompilerFactory::RegisterCompiler(new CompilerGNUAVR);
     CompilerFactory::RegisterCompiler(new CompilerGNUPOWERPC);
     CompilerFactory::RegisterCompiler(new CompilerGNUTRICORE);
 #endif