unfortunately I do not have access to a 64 bit machine but maybe I am reading the README wrong -<div><div><br></div><div>The following are required to build Barrelfish and its tools:</div><div> * GCC 4.x (4.3.3 and 4.3.4 are known to work but 4.4 currently fails;</div>
<div>            cross-compiling from i386 works)</div><div><br></div><div>Does the above mean that I could cross-compile the 64 bit version from a 32 bit machine?</div><div><br></div><div>Regards,</div><div>Kashyap</div>
<br><div class="gmail_quote">On Thu, Feb 11, 2010 at 3:32 PM, Richard Black <span dir="ltr">&lt;<a href="mailto:Richard.Black@microsoft.com">Richard.Black@microsoft.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">










<div lang="EN-GB" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">The readme with the release (<a href="http://www.barrelfish.org/release_20091219.html" target="_blank">http://www.barrelfish.org/release_20091219.html</a>)
says “</span><span lang="EN">Initial (incomplete) ports to ARM, x86_32 and
Beehive architectures. We do not expect these to be usable by anyone yet</span><span style="font-size:11.0pt;color:#1F497D">” but
the compile error you post below appears to be about compiling x86_32; please try
from a freshly created build tree for x86_<b>64</b>.</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">

<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> <a href="mailto:barrelfish-bounces@lists.inf.ethz.ch" target="_blank">barrelfish-bounces@lists.inf.ethz.ch</a>
[mailto:<a href="mailto:barrelfish-bounces@lists.inf.ethz.ch" target="_blank">barrelfish-bounces@lists.inf.ethz.ch</a>] <b>On Behalf Of </b>C K Kashyap<br>
<b>Sent:</b> 11 February 2010 09:57<br>
<b>To:</b> René Rebe<br>
<b>Cc:</b> <a href="mailto:barrelfish-users@lists.inf.ethz.ch" target="_blank">barrelfish-users@lists.inf.ethz.ch</a><br>
<b>Subject:</b> [Barrelfish] Re: [Barrelfish-users] RE: Compilation error</span></p>

</div><div><div></div><div class="h5">

<p class="MsoNormal"> </p>

<p class="MsoNormal">Thanks Rene,</p>

<div>

<div>

<p class="MsoNormal">When I set the env variable LANG=C (which
was en_US.UTF-8) The compilation proceeds till here -  </p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal">./tools/tools/flounder/flounder -S ../if/pci.if
./x86_32/usr/pci/_for_app_pci/pci_flounder_server.c </p>

</div>

<div>

<p class="MsoNormal">Generating
x86_32/usr/pci/_for_app_pci/pci_flounder_server.o.depend</p>

</div>

<div>

<p class="MsoNormal">mkdir -p ./x86_32/usr/bench/urpc_bench/_for_app_urpc_receive</p>

</div>

<div>

<p class="MsoNormal">touch
./x86_32/usr/bench/urpc_bench/_for_app_urpc_receive/.marker</p>

</div>

<div>

<p class="MsoNormal">./tools/tools/flounder/flounder -h ../if/bench.if
./x86_32/include/if/bench_types.h </p>

</div>

<div>

<p class="MsoNormal">Generating
x86_32/usr/bench/urpc_bench/_for_app_urpc_receive/receive.o.depend</p>

</div>

<div>

<p class="MsoNormal">In file included from ../usr/bench/urpc_bench/urpc_bench.h:23,</p>

</div>

<div>

<p class="MsoNormal">              
  from ../usr/bench/urpc_bench/receive.c:15:</p>

</div>

<div>

<p class="MsoNormal">../include/barrelfish/monitor_client.h:17:30: error:
if/monitor_types.h: No such file or directory</p>

</div>

<div>

<p class="MsoNormal">make: ***
[x86_32/usr/bench/urpc_bench/_for_app_urpc_receive/receive.o.depend] Error 1</p>

</div>

<div>

<p class="MsoNormal">make: *** Deleting file
`x86_32/usr/bench/urpc_bench/_for_app_urpc_receive/receive.o.depend&#39;</p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal">Regards,</p>

</div>

<div>

<p class="MsoNormal">Kashyap</p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<p class="MsoNormal"> </p>

<div>

<p class="MsoNormal">On Tue, Feb 9, 2010 at 3:53 PM, René Rebe &lt;<a href="mailto:rene@rebe.name" target="_blank">rene@rebe.name</a>&gt; wrote:</p>

<div>

<div>

<p class="MsoNormal">It is not compiler related. It&#39;s a pure sed or grep locale
thing. Just set LC_LANG=C at the sed or grep invocation where the header file
is created. (If I would have had versioned source at hand I would have sent a
patch).</p>

<div>

<p class="MsoNormal"> </p>

</div>

</div>

<div>

<div>

<div>

<div>

<p class="MsoNormal">On 09.02.2010, at 11:17, C K Kashyap wrote:</p>

</div>

<p class="MsoNormal"> </p>

</div>

<div>

<div>

<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">

<p class="MsoNormal"><span style="font-size:10.0pt">Thanks
Daniel,</span></p>

<div>

<p class="MsoNormal"><span style="font-size:10.0pt">I
tried to set up 4.3 today but did not succeed - is there some pointer you can
point me to where I can read up on setting up 4.3 to co-exist with 4.4</span></p>

</div>

<div>

<p class="MsoNormal"><span style="font-size:10.0pt">Regards,</span></p>

</div>

<div>

<p class="MsoNormal"><span style="font-size:10.0pt">Kashyap</span></p>

</div>

<div>

<div>

<div>

<p class="MsoNormal"><span style="font-size:10.0pt"> </span></p>

</div>

</div>

</div>

<p class="MsoNormal"> </p>

<div>

<p class="MsoNormal">On Tue, Feb 9, 2010 at 1:47 AM, Daniel Theophanes &lt;<a href="mailto:zrega@theophad.tmbx.com" target="_blank">zrega@theophad.tmbx.com</a>&gt;
wrote:</p>

<p class="MsoNormal">Kashyap,<br>
<br>
 Compiling on gcc 4.4 will fail using the last released snapshot.  I
would<br>
 suggest you get and configure gcc4.3 .  That will build the x86_32<br>
target.<br>
<br>
 -Daniel<br>
<br>
<br>
&gt; ---Orig Message---</p>

<div>

<div>

<p class="MsoNormal">&gt; Hi folks,<br>
&gt;<br>
&gt; I am a new joinee to the list. I was trying to build barrelfish on my<br>
&gt; laptop<br>
&gt; (32 bit Fedora core 11, gcc 4.4 and ghc 6.10)<br>
&gt;<br>
&gt; I&#39;d like to build a 32 bit version of the OS<br>
&gt;<br>
&gt; Here are the steps I followed -<br>
&gt;<br>
&gt; 1. Uncompressed the source and did a cd into the source<br>
&gt; 2. mkdir build &amp;&amp; cd barrelfish<br>
&gt; 3. ../hake/hake.sh .. x86_32<br>
&gt; 4. make<br>
&gt; 5. At this point I got an error -<br>
&gt;<br>
&gt; In file included from ../kernel/arch/x86_32/irq.c:57:<br>
&gt; ./x86_32/include/asmoffsets.h:1:2: error: invalid preprocessing<br>
directive<br>
&gt; #APP<br>
&gt; ./x86_32/include/asmoffsets.h:52:2: error: invalid preprocessing<br>
directive<br>
&gt; #NO_APP<br>
&gt; make: *** [x86_32/kernel/arch/x86_32/irq.o.depend] Error 1<br>
&gt; make: *** Deleting file `x86_32/kernel/arch/x86_32/irq.o.depend&#39;<br>
&gt;<br>
&gt; 6. I removed the offending &quot;directives&quot; from asmoffsets.h and
the<br>
&gt; compilation proceeded, only to fail here -<br>
&gt;<br>
&gt; ./tools/tools/flounder/flounder -S ../if/pci.if<br>
&gt; ./x86_32/usr/pci/_for_app_pci/pci_flounder_server.c<br>
&gt; Generating x86_32/usr/pci/_for_app_pci/pci_flounder_server.o.depend<br>
&gt; mkdir -p ./x86_32/usr/bench/urpc_bench/_for_app_urpc_receive<br>
&gt; touch ./x86_32/usr/bench/urpc_bench/_for_app_urpc_receive/.marker<br>
&gt; ./tools/tools/flounder/flounder -h ../if/bench.if<br>
&gt; ./x86_32/include/if/bench_types.h<br>
&gt; Generating<br>
&gt; x86_32/usr/bench/urpc_bench/_for_app_urpc_receive/receive.o.depend<br>
&gt; In file included from ../usr/bench/urpc_bench/urpc_bench.h:23,<br>
&gt;                  from
../usr/bench/urpc_bench/receive.c:15:<br>
&gt; ../include/barrelfish/monitor_client.h:17:30: error: if/monitor_types.h:<br>
&gt; No<br>
&gt; such file or directory<br>
&gt; make: ***<br>
&gt; [x86_32/usr/bench/urpc_bench/_for_app_urpc_receive/receive.o.depend]<br>
Error<br>
&gt; 1<br>
&gt; make: *** Deleting file<br>
&gt; `x86_32/usr/bench/urpc_bench/_for_app_urpc_receive/receive.o.depend&#39;<br>
&gt;<br>
&gt; Can someone please let me know what I need to do to go forward?</p>

</div>

</div>

<p class="MsoNormal">_______________________________________________<br>
Barrelfish-users mailing list<br>
<a href="mailto:Barrelfish-users@lists.inf.ethz.ch" target="_blank">Barrelfish-users@lists.inf.ethz.ch</a><br>
<a href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a></p>

</div>

<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <br>
Regards,<br>
Kashyap<br>
_______________________________________________<br>
Barrelfish-users mailing list<br>
<a href="mailto:Barrelfish-users@lists.inf.ethz.ch" target="_blank">Barrelfish-users@lists.inf.ethz.ch</a><br>
<a href="https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users" target="_blank">https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users</a></p>

</blockquote>

</div>

</div>

</div>

<p class="MsoNormal"> </p>

<div>

<div>

<div>

<div>

<div>

<div>

<div>

<div>

<p class="MsoNormal"><span style="font-size:9.0pt;color:black">-- </span></p>

</div>

<div>

<div>

<p class="MsoNormal"><span style="font-size:9.0pt;color:black">  René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117
Berlin</span></p>

</div>

<div>

<p class="MsoNormal"><span style="font-size:9.0pt;color:black">  <a href="http://exactcode.com" target="_blank">http://exactcode.com</a>
| <a href="http://t2-project.org" target="_blank">http://t2-project.org</a> | <a href="http://rene.rebe.name" target="_blank">http://rene.rebe.name</a></span></p>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

<p class="MsoNormal"> </p>

</div>

<p class="MsoNormal" style="margin-bottom:12.0pt"> </p>

<div>

<div>

<div>

<div>

<div>

<div>

<div>

<div>

<div>

<p class="MsoNormal"><span style="font-size:9.0pt;color:black">-- </span></p>

</div>

<div>

<p class="MsoNormal"><span style="font-size:9.0pt;color:black">  René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117
Berlin</span></p>

</div>

</div>

<div>

<p class="MsoNormal"><span style="font-size:9.0pt;color:black">  DE Legal: Amtsgericht Charlottenburg HRB 105123B,
Tax-ID#: DE251602478</span></p>

</div>

<div>

<p class="MsoNormal"><span style="font-size:9.0pt;color:black">  Managing Directors: Susanne Klaus, René Rebe</span></p>

</div>

<div>

<div>

<p class="MsoNormal"><span style="font-size:9.0pt;color:black">  <a href="http://exactcode.com" target="_blank">http://exactcode.com</a>
| <a href="http://t2-project.org" target="_blank">http://t2-project.org</a> | <a href="http://rene.rebe.name" target="_blank">http://rene.rebe.name</a></span></p>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

<p class="MsoNormal"> </p>

</div>

</div>

<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <br>
Regards,<br>
Kashyap</p>

</div>

</div></div></div>

</div>


</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Kashyap<br>
</div>