Displaying 20 results from an estimated 26 matches for "llvmcc1".
Did you mean:
llvmcc
2007 Aug 24
0
[LLVMdev] etc/llvm/c contains unresolved specify %llvmcc1%
After I uncommented line 55 in etc/llvm/c, I tried
again to use llvmc to compile a program, to no avail:
$ llvmc -c main.c
llvmc: Can't find program '%llvmcc1%'
I have, however, a cc1 from llvm-gcc-4.0:
$ find dist -name cc1
dist/libexec/gcc/i686-pc-linux-gnu/4.0.1/cc1
Blindly substituting this into the etc/llvm/c file
brings me only so far:
$ /usr/src/llvm/dist/bin/llvm-as: /tmp/llvm_9pMElI/main.trans:3,0: /tmp/llvm_9pMElI/main.trans:3: error:...
2006 Aug 13
2
[LLVMdev] Problem with stock llvmc configuration for C
.../.../llvm/tools/llvmc/c:28: Error: Expecting a program name
/.../llvm/tools/llvmc/c had 2 errors. Terminating.
The first error relates to the following line(s):
lang.libs=%llvmgccdir%/lib %llvmgccdir%/lib \
%llvmgccdir%/lib/gcc/%llvmgccarch%
... the other one to:
translator.command=%llvmcc1% -quiet %in% -o %out% \
...
Apparently, %llvmgccdir% and %llvmcc1% are not recognized as a useful
variable by the llvmc configuration parser. I found out in tools/
llvmc/Configuration.cpp that two other library-related variables
exist, notably %libdir% and %libs%, but it's not clear wh...
2006 Aug 14
0
[LLVMdev] Problem with stock llvmc configuration for C
...ogram name
> /.../llvm/tools/llvmc/c had 2 errors. Terminating.
>
> The first error relates to the following line(s):
>
> lang.libs=%llvmgccdir%/lib %llvmgccdir%/lib \
> %llvmgccdir%/lib/gcc/%llvmgccarch%
>
> ... the other one to:
>
> translator.command=%llvmcc1% -quiet %in% -o %out% \
> ...
>
Okay.
> Apparently, %llvmgccdir% and %llvmcc1% are not recognized as a useful
> variable by the llvmc configuration parser.
Actually, they are. See tools/llvmc/ConfigurationDriver.cpp around line
304. Also, they are recognized by the lexer. Its...
2007 May 09
2
[LLVMdev] Compiling glibc on Linux
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...
2006 Aug 16
3
[LLVMdev] Problem with stock llvmc configuration for C
Hi,
Op 14-aug-06, om 09:29 heeft Reid Spencer het volgende geschreven:
>
>> Apparently, %llvmgccdir% and %llvmcc1% are not recognized as a useful
>> variable by the llvmc configuration parser.
>
> Actually, they are. See tools/llvmc/ConfigurationDriver.cpp around
> line
> 304. Also, they are recognized by the lexer. Its more likely that when
> you configured LLVM you didn't provide t...
2007 Aug 24
2
[LLVMdev] llvmc doesn't work for compilation nor linking
...output type value
/usr/src/llvm/dist/etc/llvm/c had 1 errors. Terminating.
The offending line contains:
optimizer.output = bytecode
which doesn't seem to be understood by llvmc. If I uncomment this
line, I get another error message:
$ llvmc -c a.c -o a.o
llvmc: Can't find program '%llvmcc1%'
However, I can use it for linking:
$ llvm-gcc --emit-llvm -c a.c -o a.o
$ llvm-gcc -c main.c -o main.o
$ llvmc a.o main.o -o main
Wow, nice. Unfortunately, the result doesn't run:
$ ./main
'main' function not found in module.
That seems true, because llvm-dis doesn't...
2007 Aug 24
0
[LLVMdev] llvmc doesn't work for compilation nor linking
...d 1 errors. Terminating.
>
>
> The offending line contains:
>
> optimizer.output = bytecode
>
> which doesn't seem to be understood by llvmc. If I uncomment this
> line, I get another error message:
>
> $ llvmc -c a.c -o a.o
> llvmc: Can't find program '%llvmcc1%'
>
>
>
>
> However, I can use it for linking:
>
> $ llvm-gcc --emit-llvm -c a.c -o a.o
> $ llvm-gcc -c main.c -o main.o
> $ llvmc a.o main.o -o main
>
> Wow, nice. Unfortunately, the result doesn't run:
>
> $ ./main
> 'main' function not fo...
2007 May 09
2
[LLVMdev] Compiling glibc on Linux
...>
>> 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 compi...
2007 May 09
0
[LLVMdev] Compiling glibc on Linux
...:
> 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...
2007 May 09
0
[LLVMdev] Compiling glibc on Linux
...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...
2007 May 09
2
[LLVMdev] Compiling glibc on Linux
...pile 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
>&g...
2007 May 09
0
[LLVMdev] Compiling 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
> >&g...
2009 Dec 13
0
[LLVMdev] Problem running 2.6 test-suite on cygwin
> LLVM tools and LLVM-GCC I've built seem to work.
> Can it be due to LLVM_SRC_ROOT == LLVM_OBJ_ROOT?
No. This is usually due to absence of llvm-gcc. You need reconfigure
llvm once again with lvm-gcc path added and make sure it was hooked
properly (look into Makefile.config for paths, etc).
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg
2006 Aug 17
0
[LLVMdev] Problem with stock llvmc configuration for C
Bram Adams wrote:
> Hi,
>
> Op 14-aug-06, om 09:29 heeft Reid Spencer het volgende geschreven:
>
>>
>>> Apparently, %llvmgccdir% and %llvmcc1% are not recognized as a useful
>>> variable by the llvmc configuration parser.
>>
>>
>> Actually, they are. See tools/llvmc/ConfigurationDriver.cpp around line
>> 304. Also, they are recognized by the lexer. Its more likely that when
>> you configured LLVM y...
2007 May 09
3
[LLVMdev] Compiling glibc on Linux
...gt;>>> 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 k...
2007 May 09
0
[LLVMdev] Compiling glibc on Linux
...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 appr...
2009 Dec 13
3
[LLVMdev] Problem running 2.6 test-suite on cygwin
...re
> llvm once again with lvm-gcc path added and make sure it was hooked
> properly (look into Makefile.config for paths, etc).
As I mentioned, it looks like llvm-gcc is installed properly. From
Makefile.config:
LLVMGCC := /usr/local/bin/llvm-gcc.exe
LLVMGXX := /usr/local/bin/llvm-g++.exe
LLVMCC1 := /usr/local/libexec/gcc/i686-pc-cygwin/4.2.1/cc1.exe
LLVMCC1PLUS := /usr/local/libexec/gcc/i686-pc-cygwin/4.2.1/cc1plus.exe
LLVMGCC_VERSION := 4.2.1
LLVMGCC_MAJVERS := 4
LLVMGCC_LANGS := c,c++
It looks to me that this:
make[4]: *** No rule to make target `Output/sse.expandfft.linked.rbc',...
2011 Jan 19
0
[LLVMdev] About test suits Cont2
.... It seems LLVMCC_EMITIR_FLAG was not set during my
configuration.
My linux is Fedora Core 13, cpu is intel i3, and host gcc is 4.4.5.
*
2. After the reconfigure process, I have search LLVM in config.log, and all
the results are below:
[qali at qali llvm-2.8-ori]$ grep "^LLVM" config.log
LLVMCC1='/home/qali/build/llvm-gcc4.2-2.8-x86_64-linux/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.2.1/cc1'
LLVMCC1PLUS='/home/qali/build/llvm-gcc4.2-2.8-x86_64-linux/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.2.1/cc1plus'
LLVMCC_OPTION='llvm-gcc'
LLVMGCC='/home/qali/build/...
2010 Nov 12
0
[LLVMdev] LLVM test-suite support for dragonegg / Fortran
...ECHO_T}$llvm_cv_llvmgcc_sanity" >&6; }
if test "$llvm_cv_llvmgcc_sanity" = "yes" ; then
{ echo "$as_me:$LINENO: checking llvm-gcc component support" >&5
echo $ECHO_N "checking llvm-gcc component support... $ECHO_C" >&6; }
- llvmcc1path=`"$LLVMGCC" --print-prog-name=cc1`
+ llvmcc1path=`$LLVMGCC --print-prog-name=cc1`
LLVMCC1=$llvmcc1path
- llvmcc1pluspath=`"$LLVMGCC" --print-prog-name=cc1plus`
+ llvmcc1pluspath=`$LLVMGCC --print-prog-name=cc1plus`
LLVMCC1PLUS=$llvmcc1pluspath
llvmgccdir=`ec...
2009 Jun 17
1
[LLVMdev] Configure problem of llvm2.5 in Mac OS X 10.4.11
...;
INSTALL_LTDL_TRUE=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
JIT=''
LDFLAGS='-flat-namespace'
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBADD_DL=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LINKALL='-Wl,-all_load'
LLVMCC1=''
LLVMCC1PLUS=''
LLVMGCC=''
LLVMGCCDIR=''
LLVMGCCLIBEXEC=''
LLVMGCC_LANGS=''
LLVMGCC_MAJVERS=''
LLVMGCC_VERSION=''
LLVMGXX=''
LLVM_BINDIR=''
LLVM_CONFIGTIME=''
LLVM_COPYRIGHT='Copyright (c) 2003-2008 Univer...