i guess we should call it fp/lazarus (like gnu/linux)?
i may understand simple, basic unix commands, but i do not grok the file structure of unix. nor the purpose of all the various directories, e.g. /usr/local/... etc. nor how to tell if something listed with ls is a binary or a directory, since there are no file extensions for binary files. i feel blind as a bat, stumbling around in terminal. unfortunately I've used DOS for 25 years, ls -F helps somewhat.
as you mentioned earlier in this thread, i likely have multiple versions of fp/lazarus "installed", because I originally downloaded the dmg's, but could never get anything to work, and had no idea where the fp/lazarus files were installed, in order to remove the failed install.
fpc version is 2.4.0.
if i change compiler path to
/Developer/freepascal/fpc/compiler/fpc
i get error dialog:
Invalid compiler filename
The compiler file "/Developer/freepascal/fpc/compiler/fpc" is not an executable.
created a new project, here is the code
program Project1;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes
{ you can add units after this };
begin
writeln('hello word');
end.
would not compile, here are the errors:
ld: can't open out file for writing: /Users/rxrick/Documents/lithium, errno=21
An error occurred while linking
project1.lpr(13,4) Error: Error while linking
project1.lpr(13,4) Fatal: There were 1 errors compiling module, stopping
if i change compiler path to
/usr/local/bin/ppc386
then attempt build:
Error: Error while linking