Changeset 105 for trunk/Target


Ignore:
Timestamp:
May 6, 2019, 10:32:47 AM (6 years ago)
Author:
chronos
Message:
  • Fixed: Resolved compiler warnings and notes.
  • Modified: Update packages.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Target/UTargetC.pas

    r87 r105  
    123123    Process := TProcess.Create(nil);
    124124    Process.CurrentDirectory := ExtractFilePath(CompilerPath);
    125     Process.CommandLine := LongFileName(CompilerPath) + ' ' + LongFileName(CompiledFile) + ' -o ' +
    126       LongFileName(ExtractFilePath(CompiledFile) + ExtractFileNameOnly(CompiledFile) + CompiledExtension);
     125    Process.Executable := LongFileName(CompilerPath);
     126    Process.Parameters.Add(LongFileName(CompiledFile));
     127    Process.Parameters.Add('-o');
     128    Process.Parameters.Add(LongFileName(ExtractFilePath(CompiledFile) + ExtractFileNameOnly(CompiledFile) + CompiledExtension));
    127129    Process.Options := [poWaitOnExit];
    128130    Process.Execute;
Note: See TracChangeset for help on using the changeset viewer.