From: Greg Steuck Subject: Re: GHC on OpenBSD/arm64? To: حبيب محمد الأمين محمد الهـاد Cc: Lydia Sobot , ports@openbsd.org Date: Mon, 11 Nov 2024 21:05:14 -0800 حبيب محمد الأمين محمد الهـاد writes: > I've been keeping the commands in a shell script, though I was still > a bit surprised it worked to get to the same point first try. I was > running the commands manually, as the script didn't fetch the sources, > extract the sysroot, etc. Thanks for the detailed script. I can tell you put a lot of work into this. I think a step is still missing as the recipe references a cross-compiler which isn't there in ghc source directory by default. The script has this CC which isn't there: env \ SYSROOT= \ CC="$PWD/bin/aarch64-unknown-openbsd-cc" \ ... ./configure ... Do you recall where this should come from? Thanks Greg