Changeset 146


Ignore:
Timestamp:
Jun 5, 2023, 6:57:23 PM (18 months ago)
Author:
chronos
Message:
  • Fixed: Build on Windows.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Core.pas

    r145 r146  
    9191
    9292procedure TCore.DataModuleCreate(Sender: TObject);
     93{$IFDEF UNIX}
    9394const
    9495  LinuxDataDir = '/usr/share/LazFuck';
    9596  LinuxLanguagesDir = LinuxDataDir + '/Languages';
     97{$ENDIF}
    9698begin
    9799  DataDir := '';
  • trunk/Target/TargetC.pas

    r145 r146  
    3535  {$IFDEF WINDOWS}
    3636  CompilerPath := 'c:\Program Files\MinGW\bin\gcc.exe';
    37   CompiledExtension := '.exe';
    38   RunExtension := '';
     37  FCompiledExtension := '.exe';
     38  FRunExtension := '';
    3939  {$ENDIF}
    4040  {$IFDEF UNIX}
  • trunk/Target/TargetDelphi.pas

    r145 r146  
    3232  {$IFDEF Windows}
    3333  CompilerPath := 'c:\Program Files\Embarcadero\RAD Studio\9.0\bin\DCC32.EXE';
    34   CompiledExtension := '.exe';
    35   RunExtension := '';
     34  FCompiledExtension := '.exe';
     35  FRunExtension := '';
    3636  {$ENDIF}
    3737end;
  • trunk/Target/TargetFPC.pas

    r145 r146  
    3131  FCapabilities := [tcCompile, tcRun];
    3232  {$IFDEF WINDOWS}
    33   CompiledExtension := '.exe';
     33  FCompiledExtension := '.exe';
    3434  CompilerPath := 'fpc.exe';
    35   RunExtension := '';
     35  FRunExtension := '';
    3636  {$ENDIF}
    3737  {$IFDEF UNIX}
Note: See TracChangeset for help on using the changeset viewer.