Changeset 124 for trunk/Target


Ignore:
Timestamp:
Jan 14, 2022, 3:03:42 PM (3 years ago)
Author:
chronos
Message:
  • Modified: Use IFDEF UNIX instead of IFDEF LINUX.
  • Modified: Localized error message.
Location:
trunk/Target
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Target/UTargetC.pas

    r105 r124  
    3535  ImageIndex := 23;
    3636  Capabilities := [tcCompile, tcRun];
    37   {$IFDEF Windows}
     37  {$IFDEF WINDOWS}
    3838  CompilerPath := 'c:\Program Files\MinGW\bin\gcc.exe';
    3939  CompiledExtension := '.exe';
    4040  RunExtension := '';
    4141  {$ENDIF}
    42   {$IFDEF Linux}
     42  {$IFDEF UNIX}
    4343  CompilerPath := '/usr/bin/gcc';
    4444  CompiledExtension := '';
  • trunk/Target/UTargetCSharp.pas

    r90 r124  
    3535  ImageIndex := 27;
    3636  Capabilities := [tcCompile, tcRun];
    37   {$IFDEF Windows}
     37  {$IFDEF WINDOWS}
    3838  CompilerPath := 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Roslyn\csc.exe';
    3939  ExecutorPath := '';
    4040  {$ENDIF}
    41   {$IFDEF Linux}
     41  {$IFDEF UNIX}
    4242  CompilerPath := '/usr/bin/mcs';
    4343  ExecutorPath := '';
  • trunk/Target/UTargetFPC.pas

    r87 r124  
    3232  ImageIndex := 22;
    3333  Capabilities := [tcCompile, tcRun];
    34   {$IFDEF Linux}
     34  {$IFDEF WINDOWS}
     35  CompiledExtension := '.exe';
     36  CompilerPath := 'fpc.exe';
     37  RunExtension := '';
     38  {$ENDIF}
     39  {$IFDEF UNIX}
    3540  CompiledExtension := '';
    3641  CompilerPath := '/usr/bin/fpc';
    37   RunExtension := '';
    38   {$ENDIF}
    39   {$IFDEF Windows}
    40   CompiledExtension := '.exe';
    41   CompilerPath := 'fpc.exe';
    4242  RunExtension := '';
    4343  {$ENDIF}
  • trunk/Target/UTargetJava.pas

    r96 r124  
    3535  ImageIndex := 24;
    3636  Capabilities := [tcCompile, tcRun];
    37   {$IFDEF Windows}
     37  {$IFDEF WINDOWS}
    3838  CompilerPath := 'c:\Program Files\Java\bin\javac.exe';
    3939  ExecutorPath := 'c:\Program Files\Java\bin\java.exe';
    4040  {$ENDIF}
    41   {$IFDEF Linux}
     41  {$IFDEF UNIX}
    4242  CompilerPath := '/usr/bin/javac';
    4343  ExecutorPath := '/usr/bin/java';
  • trunk/Target/UTargetPHP.pas

    r87 r124  
    3535  ImageIndex := 21;
    3636  Capabilities := [tcCompile, tcRun];
    37   {$IFDEF Windows}
     37  {$IFDEF WINDOWS}
    3838  CompilerPath := '';
    3939  ExecutorPath := 'c:\Program Files\PHP\php.exe';
    4040  {$ENDIF}
    41   {$IFDEF Linux}
     41  {$IFDEF UNIX}
    4242  CompilerPath := '';
    4343  ExecutorPath := '/usr/bin/php';
  • trunk/Target/UTargetPython.pas

    r87 r124  
    3535  ImageIndex := 26;
    3636  Capabilities := [tcCompile, tcRun];
    37   {$IFDEF Windows}
     37  {$IFDEF WINDOWS}
    3838  CompilerPath := '';
    3939  ExecutorPath := 'c:\Program Files\Python\python.exe';
    4040  {$ENDIF}
    41   {$IFDEF Linux}
     41  {$IFDEF UNIX}
    4242  CompilerPath := '';
    4343  ExecutorPath := '/usr/bin/python';
Note: See TracChangeset for help on using the changeset viewer.