From 7b9ca7a97f8b676d8960d3abf45f6b8e504b514f Mon Sep 17 00:00:00 2001 From: Konrad Hinsen Date: Sun, 15 Jun 2025 10:28:46 +0200 Subject: [PATCH 1/3] Add instructions for building a function ldeinit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3bb6b1f3..c674d89e 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,7 @@ $ ./makeright x * The build will (attempt to) detect the OS-type and cpu-type. It will build binaries `lde` and `ldex` in `../`_`ostype.cputype`_ (with .o files in `../`_`ostype.cputype-x`_. For example, Linux on a 64-bit x86 will use `linux.x86_64`, while macOS 11 on a (new M1) Mac will use `darwin.aarch64`. * If you prefer `gcc` over `clang`, you will need to edit the makefile fragment for your configuration (`makefile-ostype.cputype-x`) and comment out the line (with a #) that defines `CC` as `clang` and uncomment the line (delete the #) for the line that defines `CC` as `gcc`. +* If you want to do your own loadups to construct sysout files (see [the Medley repository](https://github.com/Interlisp/medley) for details), you also need the `ldeinit` binary. However, the `ldeinit` you get from the above steps is *not* functional. You have to run `./makeright init clean` followed by `./makeright init` to get a correct `ldeinit` binary. ### Building with CMake We provide a `CMakeLists.txt` which provides mostly matching build capabilities to the `make` setup. From 09b32e303769917dbf063b08d5dbdd78e0f9b506 Mon Sep 17 00:00:00 2001 From: Konrad Hinsen Date: Mon, 16 Jun 2025 14:01:07 +0200 Subject: [PATCH 2/3] Corrected instructions for building ldeinit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c674d89e..05cd9aec 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ $ ./makeright x * The build will (attempt to) detect the OS-type and cpu-type. It will build binaries `lde` and `ldex` in `../`_`ostype.cputype`_ (with .o files in `../`_`ostype.cputype-x`_. For example, Linux on a 64-bit x86 will use `linux.x86_64`, while macOS 11 on a (new M1) Mac will use `darwin.aarch64`. * If you prefer `gcc` over `clang`, you will need to edit the makefile fragment for your configuration (`makefile-ostype.cputype-x`) and comment out the line (with a #) that defines `CC` as `clang` and uncomment the line (delete the #) for the line that defines `CC` as `gcc`. -* If you want to do your own loadups to construct sysout files (see [the Medley repository](https://github.com/Interlisp/medley) for details), you also need the `ldeinit` binary. However, the `ldeinit` you get from the above steps is *not* functional. You have to run `./makeright init clean` followed by `./makeright init` to get a correct `ldeinit` binary. +* If you want to do your own loadups to construct sysout files (see [the Medley repository](https://github.com/Interlisp/medley) for details), you also need the `ldeinit` binary, which you can build using `./makeright init clean` followed by `./makeright init`. ### Building with CMake We provide a `CMakeLists.txt` which provides mostly matching build capabilities to the `make` setup. From dbf2f6a0ba7d151ab5ceb48815d6d7456210f1ce Mon Sep 17 00:00:00 2001 From: Konrad Hinsen Date: Mon, 16 Jun 2025 18:05:02 +0200 Subject: [PATCH 3/3] No need to do makeright init clean --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 05cd9aec..ac732015 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ $ ./makeright x * The build will (attempt to) detect the OS-type and cpu-type. It will build binaries `lde` and `ldex` in `../`_`ostype.cputype`_ (with .o files in `../`_`ostype.cputype-x`_. For example, Linux on a 64-bit x86 will use `linux.x86_64`, while macOS 11 on a (new M1) Mac will use `darwin.aarch64`. * If you prefer `gcc` over `clang`, you will need to edit the makefile fragment for your configuration (`makefile-ostype.cputype-x`) and comment out the line (with a #) that defines `CC` as `clang` and uncomment the line (delete the #) for the line that defines `CC` as `gcc`. -* If you want to do your own loadups to construct sysout files (see [the Medley repository](https://github.com/Interlisp/medley) for details), you also need the `ldeinit` binary, which you can build using `./makeright init clean` followed by `./makeright init`. +* If you want to do your own loadups to construct sysout files (see [the Medley repository](https://github.com/Interlisp/medley) for details), you also need the `ldeinit` binary, which you can build using `./makeright init`. ### Building with CMake We provide a `CMakeLists.txt` which provides mostly matching build capabilities to the `make` setup.