瀏覽代碼

Patched issue with Release.Mod: options were truncated
Added ARMA2 as a standard platform

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@6777 8c9fc860-2736-0410-a75d-ab315db34111

felixf 9 年之前
父節點
當前提交
361b988642
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 1 0
      source/FoxCompiler.Mod
  2. 2 1
      source/Release.Mod

+ 1 - 0
source/FoxCompiler.Mod

@@ -566,4 +566,5 @@ BEGIN
 	AddPlatform("A2","-b=AMD --objectFile=Binary --objectFileExtension=.Obx --symbolFileExtension=.Obx");
 	AddPlatform("A2","-b=AMD --objectFile=Binary --objectFileExtension=.Obx --symbolFileExtension=.Obx");
 	AddPlatform("A2G","-b=AMD --objectFile=Generic --newObjectFile --mergeSections --objectFileExtension=.GofG --symbolFileExtension=.SymG");
 	AddPlatform("A2G","-b=AMD --objectFile=Generic --newObjectFile --mergeSections --objectFileExtension=.GofG --symbolFileExtension=.SymG");
 	AddPlatform("A2Coop","-b=AMD --cooperative --objectFile=Generic --newObjectFile --traceModule=Trace --mergeSections");
 	AddPlatform("A2Coop","-b=AMD --cooperative --objectFile=Generic --newObjectFile --traceModule=Trace --mergeSections");
+	AddPlatform("ARMA2","-b=ARM --objectFile=Generic --newObjectFile --symbolFile=Textual --mergeSections");
 END Compiler.
 END Compiler.

+ 2 - 1
source/Release.Mod

@@ -503,7 +503,8 @@ TYPE
 		prefixes : ARRAY MaxPrefixes OF Name;
 		prefixes : ARRAY MaxPrefixes OF Name;
 		excludedPackages : Strings.StringArray;
 		excludedPackages : Strings.StringArray;
 		onlyPackages: Strings.StringArray;
 		onlyPackages: Strings.StringArray;
-		compiler, compileOptions, linker, linkOptions : ARRAY 128 OF CHAR;
+		compileOptions, linkOptions: Options.Parameter; 
+		compiler, linker: ARRAY 128 OF CHAR;
 		target : ARRAY 8 OF CHAR;
 		target : ARRAY 8 OF CHAR;
 		extension : ARRAY 8 OF CHAR;
 		extension : ARRAY 8 OF CHAR;
 		symbolFileExtension : ARRAY 8 OF CHAR;
 		symbolFileExtension : ARRAY 8 OF CHAR;