Hello Again Taylor,

Once more, much obliged for the instructions. I complete all the steps on
the x86 host system without error. However, when I scp the mit-scheme
directory over to the odroid and run cd microcode && ./configure, i get the
error "checking for native-code support... configure: error: unable to
determine host architecture". I have to assume that putting the
--enable-native-code=svm1-32le on this command couldn't hurt, so I tried
that. it seems to have gotten rid of the architecture error.

Once on the "make -j4 cross-target" step in the microcode directory, I get
this error message "make: *** No rule to make target 'cross-target'.
Stop.". The only way to get the make to move forward is to remove the
"cross-target" argument. When I enter make -j4, it compiles.

Likewise, "env FAST=y make check" returns a "make: *** No rule to make
target 'check'.  Stop." error.

Finally, I tried to run the sudo make install command back in the src
directory just as a shot in the dark. It returned the error below...
/bin/sh ./microcode/mkinstalldirs /usr/local/lib/mit-scheme-svm1-32le-10.90
/usr/bin/install -c -m 644 ./etc/optiondb.scm
/usr/local/lib/mit-scheme-svm1-32le-10.90/.
/usr/bin/install -c -m 644 ./etc/plugins.scm
/usr/local/lib/mit-scheme-svm1-32le-10.90/.
/usr/bin/install -c -m 644 lib/*.com
/usr/local/lib/mit-scheme-svm1-32le-10.90/.
/usr/bin/install: cannot stat 'lib/*.com': No such file or directory
make: *** [Makefile:881: install-auxdir-top] Error 1

This error I have seen quite a few times when trying this process on my
own. It at least seemed to happen either when I attempted the install
process multiple times or attempted the compile process multiple times. To
get it to go away, I would have to delete the mit-scheme directory and
re-extract the tar file so I could build in a clean directory again. I'm
not sure why this is the case. I also have tried creating empty junk files
in the required directories; such as hack.com in the lib directory just to
get by this check. However that method never gets me far.

Also, at your recommendation I am happy to say I have purchased a odroid
C4! I'm actually using the xu4 for a physical design which frankly works
much better with the placements of the ports on the xu4. While I like the
stats of the C4, it will be a bit awkward to change the design around all
the usb/ethernet ports at one end of the system. Either way, looking
forward to tinkering with it!

Thank you for your time.
-kit

On Fri, May 1, 2020 at 6:28 AM Taylor R Campbell <campb...@mumble.net>
wrote:

> > Date: Fri, 1 May 2020 00:36:17 -0400
> > From: James Flaherty <kitcat425....@gmail.com>
> >
> > When I input
> > ./configure --enable-cross-compiling --enable-native-code=svm1-32le
> >
> > The configure fails at step "checking for native-code support" with the
> > error "configure: error: unknown compiler architecture: svm1-32le". I
> > downloaded the mit-scheme-10.1.10-svm1.tar.gz package on my desktop linux
> > to run this build. From fiddling around with this build system, I know it
> > is checking the config.sub file for known architectures. Should I add
> > anything to this file to make it recognize the svm1-32le argument?
>
> There's a lot of changes that aren't in the 10 branch at all yet,
> including cross-compiling svm1 across byte order and word size.
> Probably easiest if you start from master:
>
> git clone https://git.savannah.gnu.org/git/mit-scheme.git
>

Reply via email to