@@ -319,9 +319,10 @@ export abstract class CodeBuilder {
319319 outDir . CreateDir ( true ) ;
320320
321321 // generate command line
322- const cmds = [ `${ this . getBuilderExe ( ) . path } ` ] . concat ( this . getCommands ( ) ) ;
323- const exeName : string = resManager . getMonoName ( ) ;
324- const commandLine = CmdLineHandler . getCommandLine ( exeName , cmds ) ;
322+ const commandLine = CmdLineHandler . getCommandLine (
323+ this . getBuilderExe ( ) . noSuffixName ,
324+ this . getCommands ( )
325+ ) ;
325326
326327 return commandLine ;
327328 }
@@ -385,12 +386,12 @@ export abstract class CodeBuilder {
385386 target : this . project . getCurrentTarget ( ) ,
386387 toolchain : toolchain . name ,
387388 toolchainLocation : toolchain . getToolchainDir ( ) . path ,
388- toolchainCfgFile : toolchain . modelName ,
389+ toolchainCfgFile : NodePath . normalize ( `../cfg/ ${ toolchain . modelName } ` ) ,
389390 buildMode : 'fast|multhread' ,
390391 showRepathOnLog : settingManager . isPrintRelativePathWhenBuild ( ) ,
391392 threadNum : settingManager . getThreadNumber ( ) ,
392393 rootDir : this . project . GetRootDir ( ) . path ,
393- dumpPath : File . ToLocalPath ( this . project . ToRelativePath ( dumpDir , false ) || dumpDir ) ,
394+ dumpPath : File . ToLocalPath ( outDir ) ,
394395 outDir : File . ToLocalPath ( outDir ) ,
395396 ram : memMaxSize ?. ram ,
396397 rom : memMaxSize ?. rom ,
@@ -934,7 +935,7 @@ export class ARMCodeBuilder extends CodeBuilder {
934935
935936 extraCommands . push ( {
936937 name : 'axf to elf' ,
937- command : `mono "\${BuilderFolder} ${ File . sep } utils ${ File . sep } axf2elf${ exeSuffix ( ) } " -d "${ tool_root_folder } " -b "${ ouput_path } .bin" -i "${ ouput_path } .axf" -o "${ ouput_path } .elf" > "${ axf2elf_log } "`
938+ command : `axf2elf -d "${ tool_root_folder } " -b "${ ouput_path } .bin" -i "${ ouput_path } .axf" -o "${ ouput_path } .elf" > "${ axf2elf_log } "`
938939 } ) ;
939940 }
940941
0 commit comments