Index | Thread | Search

From:
Greg Steuck <gnezdo@openbsd.org>
Subject:
Re: GHC on OpenBSD/arm64?
To:
حبيب محمد الأمين محمد الهـاد <ha.alamin@gmail.com>
Cc:
Lydia Sobot <chilledfrogs@disroot.org>, ports@openbsd.org
Date:
Mon, 11 Nov 2024 21:05:14 -0800

Download raw body.

Thread
حبيب محمد الأمين محمد الهـاد <ha.alamin@gmail.com> 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