Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2018-05

Location of executable

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

C Western

Has something changed recently in fpc or Lazarus, with respect to the location of the executable produced? In my projects I have the target file name set including a directory name (including ...$(TargetCPU)-$(TargetOS)-$(LCLWidgetType)...) and the same directory set for unit output. Using trunk for fpc and Lazarus very recently the output location has switched from the directory I was expecting to the project directory. The units are in the right place, implying the -FU flag is set correctly for fpc. Furthermore Lazarus after compiling the program (in the unexpected place) then tells me the file (in the expected place) can't be found for running.

Colin

Reply by email

Mattias Gaertner
to C Western
Show quoted text 10 lines
Has something changed recently in fpc or Lazarus, with respect to the location of the executable produced? In my projects I have the target file name set including a directory name (including ...$(TargetCPU)-$(TargetOS)-$(LCLWidgetType)...) and the same directory set for unit output. Using trunk for fpc and Lazarus very recently the output location has switched from the directory I was expecting to the project directory. The units are in the right place, implying the -FU flag is set correctly for fpc. Furthermore Lazarus after compiling the program (in the unexpected place) then tells me the file (in the expected place) can't be found for running.

My fault. Sorry. Fixed.

Mattias

Reply by email

C Western
to Mattias Gaertner
Mattias Gaertner wrote 18 lines
On Wed, 30 May 2018 22:41:31 +0100 C Western via Lazarus wrote: > Has something changed recently in fpc or Lazarus, with respect to the > location of the executable produced? In my projects I have the target > file name set including a directory name (including > ...$(TargetCPU)-$(TargetOS)-$(LCLWidgetType)...) and the same directory > set for unit output. Using trunk for fpc and Lazarus very recently the > output location has switched from the directory I was expecting to the > project directory. The units are in the right place, implying the -FU > flag is set correctly for fpc. Furthermore Lazarus after compiling the > program (in the unexpected place) then tells me the file (in the > expected place) can't be found for running. My fault. Sorry. Fixed. Mattias

Indeed it is - thanks for fixing this so quickly.

Colin

Reply by email