[LLVMdev] Compiling glibc on Linux
Babak Salamat
bsalamat at uci.edu
Tue May 8 23:19:16 PDT 2007
Reid,
Thank you for your quick reply.
Yes, I have built and installed llvm-gcc and "llvm-gcc --print-prog-
name=cc1" return the correct path for cc1, so I assume its path is
set correctly in the config files, but I haven't installed config
files separately. Do I need to do that? Is there any documentation
about it?
Thank you again,
Babak
On May 8, 2007, at 7:33 PM, Reid Spencer wrote:
> Babak,
>
> As its manual page (http://llvm.org/docs/CommandGuide/html/llvmc.html)
> states, llvmc is an experimental tool:
>
> llvmc is considered an experimental LLVM tool because it has these
> deficiencies:
>
> Poor configuration support
> The support for configuring new languages, etc. is weak. There
> are many command line configurations that cannot be achieved
> with the current support. Furthermore the grammar is
> cumbersome
> for configuration files. Please see http://llvm.org/PR686 for
> further details.
>
> That said, you should be able to get it to work with llvm-gcc.
>
> Did you build llvm-gcc? Did you check the paths in the "c" config
> file?
> Did you install the config files?
>
> All of these things need to be done in order for the standard config
> file to work.
>
> Reid.
>
> On Tue, 2007-05-08 at 18:40 -0700, Babak Salamat wrote:
>> Hi,
>>
>> I am trying to compile glibc on Linux using llvm. I need to do this
>> for a research project.
>> The problem is that llvmc doesn't work, and I guess I have to set
>> CC=llvmc to get the glic compiled. For some reason llvmc complains
>> that it cannot find %llvmcc1%. I have this problem both on my Mac and
>> my Linux system. Other tools that I have tested including llvm-gcc
>> work without any problem.
>> First, I appreciate it if you let me know what can cause this problem
>> and second, tell me if you think I have any chance to compile glibc
>> using LLVM.
>>
>> Thank you,
>> Babak
>>
>> ---------------------------------------------------------------
>> Babak Salamat
>> PhD Student
>> Department of Computer Science
>> School of Information and Computer Sciences
>> University of California, Irvine
>> email: bsalamat at uci.edu
>> web: www.ics.uci.edu/~bsalamat
>> ---------------------------------------------------------------
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list