I have the problems stated on other posts but their fixes either don't work or I have done them wrong. I copied a working directory from WinXP to the latest Ubuntu 16 with Laz 1.8.4 and it is the same on the latest 18 where I installed Laz 2.0.0 with FPC 3.0.4 off your download page. The program complained it couldn't find crtbeginS.o and crtrendS.o so I found the path as
/usr/lib/gcc/x86_64-linux-gnu/7
and added it in options -fl like other posts suggested.
It all went weird after that it didn't complain about the files it just failed to link. On Ubuntu 18 it gave exit code 1 but on 16 it just said exit code error no number. I am using Ubuntu 16 for further tests. I went back in to project options and tried adding the extra paths but it claimed the paths didn't exist then I noticed the IDE had added '/' to the end of the path like this
/usr/lib/gcc/x86_64-linux-gnu/7/
Every time I deleted it and clicked OK it took it without complaining the path didn't exist but looking again the forward slash was back. I see other paths don't have the final slash so I am totally confused now. Could it be opening the project by clicking on the original WinXP project under Linux that has screwed everything up?
I suppose I should try and create a new project Under Linux and bring the files in some how.
