Did you restart from scratch (e.g. a fresh clone and not just make clean) before trying the order I proposed?<div><br></div><div>All this is a bit of alchemy but I can tell you how I understand it:</div><div><br></div><div>
Gambit is a self compiling system. Gambit needs gambit to compile itself. When you download a release, it comes with a gsc.exe that it can use to build itself but when you clone from the repo to get the latest, you have only source code. That is what the make bootstrap does: it builds the gsc.exe needed to build gambit from the c files contained in the repo. This is why the logical order is: configure, make bootstrap, make.</div>
<div><br></div><div>PS: There also was a bug on Windows where you would get that _io.c not found error but Marc told me it was fixed. In case it's not really fixed, here's the workaround I used:</div><div><br></div>
<div>touch gsc-boot.bat</div><div><br></div><div>Guillaume</div><br><div class="gmail_quote">On Thu, Dec 13, 2012 at 5:56 PM, Steve Graham <span dir="ltr"><<a href="mailto:jsgrahamus@yahoo.com" target="_blank">jsgrahamus@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif">Same error.<br><br>I cannot find the file _io.c anywhere in the gambit or lower directories, although I do see a os_io.c in the gambit/lib directory.<br>
<div><span><br></span></div><div><br></div>  <div style="font-family:times new roman,new york,times,serif;font-size:12pt"> <div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div class="im"> <div dir="ltr">
 <font face="Arial"> <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Guillaume Cartier <<a href="mailto:gcartier@jazzscheme.org" target="_blank">gcartier@jazzscheme.org</a>><br> <b><span style="font-weight:bold">To:</span></b> Steve Graham <<a href="mailto:jsgrahamus@yahoo.com" target="_blank">jsgrahamus@yahoo.com</a>> <br>
<b><span style="font-weight:bold">Cc:</span></b> Gambit List <<a href="mailto:Gambit-list@iro.umontreal.ca" target="_blank">Gambit-list@iro.umontreal.ca</a>> <br> <b><span style="font-weight:bold">Sent:</span></b> Thursday, December 13, 2012 1:40 PM<br>
 <b><span style="font-weight:bold">Subject:</span></b> Re: [gambit-list] Error building Gambit<br> </font> </div> <br></div><div><div class="h5"><div><div>Try the following:</div><div><br></div><div><span style="font-size:16px">./configure</span><br style="font-size:16px">

<span style="font-size:16px">make bootstrap</span><br style="font-size:16px"><span style="font-size:16px">make bootclean</span><br style="font-size:16px">
<span style="font-size:16px">make</span></div><div><br></div><div><div>On Thu, Dec 13, 2012 at 2:58 PM, Steve Graham <span dir="ltr"><<a rel="nofollow" href="mailto:jsgrahamus@yahoo.com" target="_blank">jsgrahamus@yahoo.com</a>></span> wrote:<br>

<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif">I have an x86-64 system running Windows 7 Home Premium with Mingw.<br>

<br>Just tried to build the latest system I downloaded with git:<br>  git clone <a rel="nofollow" href="https://github.com/feeley/gambit.git" target="_blank">https://github.com/feeley/gambit.git</a><br>  cd gambit<br><br>
There were no errors with:<br>
<div>./configure<br>make<br>make bootstrap<br>make bootclean</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">

This is what happened when I ran make:</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">sh-3.1$
 make<br>rm -f gsc-boot<br>cp gsc-boot.unix gsc-boot<br>chmod +x gsc-boot<br>if test ".bat" != ""; then \<br>          rm -f gsc-boot.bat; \<br>          cp gsc-boot.bat.windows gsc-boot.bat; \<br>        fi<br>

making all in include<br>make[1]: Entering directory `/c/Users/Steve/Desktop/gambit/include'<br>major=`echo v4.6.6 | sed -e "s/v//g" -e "s/\.[^.]*\.[^.]*//g"`; \<br>        minor=`echo v4.6.6 | sed -e "s/v[^.]*\.//g" -e "s/\.[^.]*//g"`; \<br>

        revision=`echo v4.6.6 | sed -e "s/v[^.]*\.[^.]*\.//g" -e "s///g"`; \<br>        version_num=`eval expr "\( 100000 \\* $major \) + \( 1000 \\* $minor \) + $revision"`; \<br>        echo "#error \"The version indicated in ___VERSION is not
 supported by gambit.h\"" > gambit-not$version_num.h; \<br>        echo "#error \"You are probably compiling C code generated by a Gambit compiler earlier or later than v4.6.6\"" >> gambit-not$version_num.h; \<br>

        echo "#error \"___VERSION will be set to $version_num to reduce other errors\"" >> gambit-not$version_num.h; \<br>        echo "#undef ___VERSION" >> gambit-not$version_num.h; \<br>

        echo "#define ___VERSION $version_num" >> gambit-not$version_num.h; \<br>        echo "#include \"gambit.h\"" >> gambit-not$version_num.h<br>make[1]: Leaving directory `/c/Users/Steve/Desktop/gambit/include'<br>

making all in lib<br>make[1]: Entering directory `/c/Users/Steve/Desktop/gambit/lib'<br>../gsc-boot
 -:~~bin=../bin,~~lib=../lib,~~include=../include -f -c  -check _io.scm<br>gcc -D_WINDOWS  -Wno-unused -Wno-write-strings -O2 -fno-math-errno -fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fwrapv -fno-keep-inline-dllexport -fmodulo-sched -freschedule-modulo-sched<br>

uled-loops -fno-common -mieee-fp   -I"../include" -c -o "_io.o" -I. -DHAVE_CONFIG_H -D___GAMBCDIR="\"/usr/local/Gambit-C\"" -D___SYS_TYPE_CPU="\"i686\"" -D___SYS_TYPE_VENDOR="\"pc\"" -D___SYS_TYPE_OS=<br>

"\"mingw32\"" -D___CONFIGURE_COMMAND="\"./configure '--enable-single-host' '--enable-c-opt' '--enable-gcc-opts'"\" -D___OBJ_EXTENSION="\".o\"" -D___EXE_EXTENSION="\".exe\"" -D___BAT_EXTENSION="\".bat\<br>

"" -D___PRIMAL _io.c -D___LIBRARY<br>gcc.exe: error: _io.c: No such file or directory<br>gcc.exe: fatal error: no input files<br>compilation terminated.<br>make[1]: *** [_io.o] Error 1<br>make[1]: Leaving directory `/c/Users/Steve/Desktop/gambit/lib'<br>

make:
 *** [all-recursive] Error 1<br>sh-3.1$</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">

Any ideas what went wrong?</div><span><font color="#888888"><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">

<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman,new york,times,serif">Steve<br></div></font></span></div></div><br>_______________________________________________<br>


Gambit-list mailing list<br>
<a rel="nofollow" href="mailto:Gambit-list@iro.umontreal.ca" target="_blank">Gambit-list@iro.umontreal.ca</a><br>
<a rel="nofollow" href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
<br></blockquote></div><br></div>
</div><br><br> </div></div></div> </div>  </div></div></blockquote></div><br>