Comments (3)
It has been a few years since we've tried to build on OpenBSD, FreeBSD, NetBSD, or OpenSolaris, and some of the bits have likely rotted. If you want to give it a try, you'll need to use a host machine supporting one of the currently working machine types to create the boot and header files, debug whatever comes up in that process, then copy the boot files to the target machine and debug whatever comes up when building the executable there.
Here are steps for building the boot and header files, assuming, for concreteness, the host is 64-bit Linux and the target is 64-bit OpenBSD. Replace the machine types (a6le and a6osx) with different machine types as appropriate for your situation.
./configure
make
./workarea a6ob
(cd a6ob/s ; make -f Mf-cross m=a6le xm=a6ob base=../../a6le)
This should leave the boot and header files in a6ob/boot/a6ob, which you can copy to the target machine's boot/a6ob to complete the build. On the target machine, you can update configure to recognize the target machine following the pattern of the existing entries, then run configure and make as usual. If you don't feel like updating configure, ./configure -m=a6ob might work once the boot and header files are in place.
from chezscheme.
Here's another approach, a bit simpler:
./configure
make
mkdir boot/a6ob
(cd a6le; make -f Mf-boot a6ob.boot)
This should leave boot & header files for a6ob in boot/a6ob.
This commit now describes this approach in the 'make bootfiles'
description.
Now that this is documented, I'm closing the issue.
from chezscheme.
Awesome that worked like a dream! I just had to double time-t-bits and use gmake instead of make.
I don't have the tests succeeding yet but I'm working on it.
https://github.com/rain-1/ChezScheme
from chezscheme.
Related Issues (20)
- Why is `main.o` installed? HOT 3
- Bug in fixnum arithmetic HOT 1
- bytevector-reference-ref & set! fail to correctly check size of bytevectors smaller than ptr-bytes - 1 HOT 1
- Warnings from GCC `-fanalyzer`
- new RNG is very broken HOT 4
- chezscheme 10 cannot be built from tarball HOT 1
- Non-tail calls to errorf sometimes treated as tail calls with debug-level 2 HOT 5
- weird cond expansion HOT 8
- a few questions regarding packaging chez-scheme HOT 6
- [PATCH] Update user's guide link in README HOT 1
- Bug in V format prefix parameter HOT 1
- native eol style HOT 4
- error: use of unknown builtin '__builtin_add_overflow' HOT 1
- How to cross compile on macOS for a different macOS architecture HOT 3
- Build fails if I set CC_FOR_BUILD HOT 1
- set! creates new bindings HOT 3
- Build/Embed Chez Scheme with larger C/C++ program HOT 3
- Unexpected result using conditional procedure and set! HOT 2
- Mysterious invalid syntax when building transformer output with `quote-syntax`
- Primitive macro matching procedure application? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chezscheme.