Re: building parrot with clang + llvm

2008-09-11 Thread Moritz Lenz
NotFound wrote: > On Wed, Sep 10, 2008 at 8:12 PM, chromatic <[EMAIL PROTECTED]> wrote: > >> The line numbers reported by clang seem sensible enough, but do they match >> values in src/pmc/default.str? Mine contains: >> >> #define _CONST_STRING_45 80 >> #define _CONST_STRING_103 534 >> #define _C

Re: building parrot with clang + llvm

2008-09-11 Thread Vasily Chekalkin
Moritz Lenz wrote: I tried to build parrot with the clang, an llvm frontend. It provides a script called 'ccc', which accepts the same options as gcc. Configure works fine (perl Configure.pl --verbose --cc=ccc --link=ccc). Works for me with "perl Configure.pl --cc=llvm-gcc --link=llvm-gcc".

Re: building parrot with clang + llvm

2008-09-11 Thread Moritz Lenz
Vasily Chekalkin wrote: > Moritz Lenz wrote: >> I tried to build parrot with the clang, an llvm frontend. It provides a >> script called 'ccc', which accepts the same options as gcc. > > Works for me with "perl Configure.pl --cc=llvm-gcc --link=llvm-gcc". That works for me too, but it's a complet

Re: building parrot with clang + llvm

2008-09-10 Thread NotFound
On Wed, Sep 10, 2008 at 8:12 PM, chromatic <[EMAIL PROTECTED]> wrote: > The line numbers reported by clang seem sensible enough, but do they match > values in src/pmc/default.str? Mine contains: > > #define _CONST_STRING_45 80 > #define _CONST_STRING_103 534 > #define _CONST_STRING_144 _CONST_STR

Re: building parrot with clang + llvm

2008-09-10 Thread chromatic
On Wednesday 10 September 2008 11:07:41 Moritz Lenz wrote: > That doesn't the seem to be case here. I tried with a small sample > script that include a .str file, and it works fine. > > A > ack -a '_CONST_STRING_65\b' > > didn't find anything; so is this a broken macro expansion somewhere? The li

Re: building parrot with clang + llvm

2008-09-10 Thread Moritz Lenz
chromatic wrote: > On Wednesday 10 September 2008 10:45:12 Moritz Lenz wrote: > >> I tried to build parrot with the clang, an llvm frontend. It provides a >> script called 'ccc', which accepts the same options as gcc. >> >> Configure works fine (perl Configure.pl --verbose --cc=ccc --link=ccc). >>

Re: building parrot with clang + llvm

2008-09-10 Thread chromatic
On Wednesday 10 September 2008 10:45:12 Moritz Lenz wrote: > I tried to build parrot with the clang, an llvm frontend. It provides a > script called 'ccc', which accepts the same options as gcc. > > Configure works fine (perl Configure.pl --verbose --cc=ccc --link=ccc). > > src/pmc/default.c:65:36

building parrot with clang + llvm

2008-09-10 Thread Moritz Lenz
I tried to build parrot with the clang, an llvm frontend. It provides a script called 'ccc', which accepts the same options as gcc. Configure works fine (perl Configure.pl --verbose --cc=ccc --link=ccc). The build starts fine, but fails while compiling the first pmc: clang -emit-llvm-bc -x c -o