Upgraded to macOS High Sierra 10.13.2 ... linker problems lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- MISV · 2018-01-11 00:56 I use Lazarus 1.8.0 No other changes to working system than upgrading macOS Now when compiling I get Exit code 256 An error occured while linking Error while linking Not sure where to start looking for problem ---------------------------------------------------------------------- skalogryz · 2018-01-11 01:06 Try set i386 as cpu target explicitly ---------------------------------------------------------------------- MISV · 2018-01-11 23:23 Hi Okay - I have set "Tools | Configure build Lazarus" to Target CPU i386 - and this appears to work until compiling Indy - then that as always breaks ad the idStreamVCL issue. ... Anyhow - my problem is for a project of mine that compiled fine earlier - I am not trying to compile Lazarus. I have gotten a bit further. I was able to in addition to earlier reported error also get: file not found: /usr/lib/crt1.o An error occured while linking Error while linking ... Update: I will try redownload xcode commandline tools: xcode-select -- install (seems to hang) and investigate further (seems GCC related as well) ---------------------------------------------------------------------- MISV · 2018-01-12 11:34 Seems my xcode / commandline tools installation got reset by the High Sierra upgrade. I have now downloaded xcode 9.2 and command line tools (the latter manually from Apple developer downloads) It appears to work now - but I will return if I find other issues ---------------------------------------------------------------------- hayanninja · 2018-01-28 11:17 If you're having issues, try changing the compiler executable setting (in IDE Options -> Environment -> Files), change "fpc" at the end of it to "ppc386". This solved all compiler-related issues I was having on Mac (I'm also on High Sierra). If doing this, make sure to compile against the Carbon widgetset rather than Cocoa.