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