I am trying to compile the cfrontend for gcc3, not gcc4. <br>

<br>

I did ./configure --prefix=/opt/llvmgcc --enable-languages=c,c++<br>
<br>
After adding the --enable-languages flag I get<br>
"xgcc: installation problem, cannot exec `gccas': No such file or directory"<br>
<br>
It is true, I don't have gccas in my PATH, nor does the file gccas appear in my cfrontend directory. <br>
<br>
Is my configuration wrong, yet again, or do I need to get a copy of gccas?<br>
<br>
Thank you for your time,<br>
James Supancic<br>
<br><br><div><span class="gmail_quote">On 6/16/06, <b class="gmail_sendername">Chris Lattner</b> <<a href="mailto:sabre@nondot.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sabre@nondot.org
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, 16 Jun 2006, James Supancic wrote:<br>> I am having some trouble getting llvm to build.<br>> I found some strange stuff going on in gcc/f/com.*<br><br>This sounds like you enabled the fortran frontend, which isn't supported.
<br>Please read the README.LLVM file in the root directory of the llvmgcc4<br>source distro.<br><br>-Chris<br><br>> In com.h I find<br>> ffeinfoKindType ffecom_gfrt_basictype ( ffecomGfrt ix);<br>> yet, in com.c
 I see
<br>> ffeinfoBasicType ffecom_gfrt_basictype ( ffecomGfrt gfrt)<br>><br>> I tried changing the line in com.h to<br>> ffeinfoBasicType ffecom_gfrt_basictype ( ffecomGfrt ix);<br>><br>> and then doing make clean && make
<br>> but I got a horde of link errors.<br>><br>> In desperation I attempted the other obvious solution to the error....<br>> I undid the change to com.h and changed the line in com.c to<br>> ffeinfoKindtype ffecom_gfrt_basictype ( ffecomGfrt gfrt)
<br>><br>> This leads to more link errors. The errors appear to be the same as those I<br>> got before. Therefor I think the link errors are unrelated to the problems<br>> in com.*<br>><br>> What is the proper definition of ffecom_gfrt_basictype?
<br>><br>> Is this a mistake, or is something wrong with my build system?<br>><br>> <a href="http://llvm.org/docs/CFEBuildInstrs.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://llvm.org/docs/CFEBuildInstrs.html
</a><br>> tells me to do<br>> make tools-only
<br>> (gmake=make on my host), but when I attempt to do so I receive an error<br>> informing me that the target tools-only does not exist, the above problems<br>> occur with a simple "make". Did someone update the Makefile but not the
<br>> documentation, did I download a corrupt version of cfrontend, is my "make"<br>> broken, or something else entirely?<br>><br>> Thank you for your time,<br>> James Supancic<br>><br>> On 6/16/06, James Supancic <
<a href="mailto:arrummzen@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">arrummzen@gmail.com</a>> wrote:<br>>><br>>> Which version of gcc should be used to compile the cfrontend version 
1.7?<br>>><br>>> Thank you for your time,<br>
>> James Supancic<br>>><br>><br><br>-Chris<br><br>--<br><a href="http://nondot.org/sabre/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://nondot.org/sabre/</a><br><a href="http://llvm.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://llvm.org/</a><br>_______________________________________________
<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></blockquote></div><br>