Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] libstdc++ as bytecode, and compiling C++ to C"
2006 Nov 20
0
[LLVMdev] libstdc++ as bytecode, and compiling C++ to C
On Mon, 2006-11-20 at 17:49 +1100, Emil Mikulic wrote:
> I've compiled all the object files that make up libstdc++ and libsupc++
> into LLVM bytecode:
> http://goanna.cs.rmit.edu.au/~emil/libstdcxx.tar.bz2 (438KB)
>
> A simple test program, x.cpp:
>
> #include <iostream>
> int main() { std::cout << "hello world\n"; return 0; }
>
> $
2006 Nov 20
1
[LLVMdev] libstdc++ as bytecode, and compiling C++ to C
On Mon, Nov 20, 2006 at 08:01:23AM -0800, Reid Spencer wrote:
> On Mon, 2006-11-20 at 17:49 +1100, Emil Mikulic wrote:
> > I've compiled all the object files that make up libstdc++ and libsupc++
> > into LLVM bytecode:
> > http://goanna.cs.rmit.edu.au/~emil/libstdcxx.tar.bz2 (438KB)
> >
> > A simple test program, x.cpp:
> >
> > #include
2006 Nov 20
0
[LLVMdev] libstdc++ as bytecode, and compiling C++ to C
On Mon, 2006-11-20 at 17:49 +1100, Emil Mikulic wrote:
> I've compiled all the object files that make up libstdc++ and libsupc++
> into LLVM bytecode:
> http://goanna.cs.rmit.edu.au/~emil/libstdcxx.tar.bz2 (438KB)
>
> A simple test program, x.cpp:
>
> #include <iostream>
> int main() { std::cout << "hello world\n"; return 0; }
>
> $
2007 Sep 28
1
[LLVMdev] libstdc++ in LLVM bitcode
Need to know if anyone has compiled the libstdc++ to LLVM bitcode. If
it's available please where could I download it from?
Thanks.
Napi
2006 Nov 21
0
[LLVMdev] libstdc++ as bytecode, again
Okay, let's try this again. I've taken all the source and header files
needed to build libstdc++ and libsupc++, and put together a small and
very simple Makefile that automates the process.
Anyone interested can grab the whole thing from here:
http://goanna.cs.rmit.edu.au/~emil/dietstdcxx.1.tar.bz2 (101KB)
Usage instructions:
1) Run GNU make:
$ gmake
This will produce dietstdcxx.bc
2007 Sep 28
0
[LLVMdev] libstdc++ in LLVM bitcode
On Fri, Sep 28, 2007 at 10:08:31AM +0800, Mohd-Hanafiah Abdullah wrote:
> Need to know if anyone has compiled the libstdc++ to LLVM bitcode. If
> it's available please where could I download it from?
I did this last year.
Check out:
http://goanna.cs.rmit.edu.au/~emil/dietstdcxx.1.tar.bz2
--Emil
2007 Sep 20
1
[LLVMdev] 2.1 Pre-Release Available (testers needed)
Emil,
> # of expected passes 2243
> # of unexpected failures 7
> # of expected failures 5
Could you please provide a log here? It's interesting to see, what is
failing now.
--
With best regards, Anton Korobeynikov.
Faculty of Mathematics & Mechanics, Saint Petersburg State University.
2007 Sep 19
4
[LLVMdev] 2.1 Pre-Release Available (testers needed)
On Tue, Sep 18, 2007 at 06:41:38PM +1000, Emil Mikulic wrote:
> The "make check" produced:
> === Summary ===
>
> # of expected passes 2209
> # of unexpected failures 41
> # of expected failures 5
> gmake[1]: *** [check-local] Error 1
> gmake[1]: Leaving directory `/home/emil/ll/objdir-llvm/test'
> gmake: ***
2007 Sep 21
0
[LLVMdev] 2.1 Pre-Release Available (testers needed)
On Thu, Sep 20, 2007 at 08:36:39PM +0400, Anton Korobeynikov wrote:
> Emil,
>
> > # of expected passes 2243
> > # of unexpected failures 7
> > # of expected failures 5
>
> Could you please provide a log here? It's interesting to see, what is
> failing now.
Sure: http://goanna.cs.rmit.edu.au/~emil/llvm2.1-check-armfix.txt
I think
2007 May 18
2
[LLVMdev] 2.0 Pre-release tarballs online
> On Tue, May 15, 2007 at 01:23:32AM -0700, Tanya M. Lattner wrote:
>> 4) Compile llvm-gcc4 and llvm from source. Run 'make check' and do a 'make
>> ENABLE_OPTIMIZED=1 TEST=nightly report' in llvm-test.
>>
>> It would also be helpful for someone to compile/test with objdir != srcdir.
>
> This is on FreeBSD 6.2-RELEASE, on i386.
> Both llvm and
2007 May 18
0
[LLVMdev] 2.0 Pre-release tarballs online
On Tue, May 15, 2007 at 01:23:32AM -0700, Tanya M. Lattner wrote:
> 4) Compile llvm-gcc4 and llvm from source. Run 'make check' and do a 'make
> ENABLE_OPTIMIZED=1 TEST=nightly report' in llvm-test.
>
> It would also be helpful for someone to compile/test with objdir != srcdir.
This is on FreeBSD 6.2-RELEASE, on i386.
Both llvm and llvm-gcc were compiled with objdir
2007 May 18
1
[LLVMdev] 2.0-prerelease build errors
On Thu, May 17, 2007 at 03:15:09PM -0700, Tanya M. Lattner wrote:
> > Should configure also error out if perl isn't installed?
>
> Yes. Reid has changed this so that perl is now required.
>
> Thanks so much for reporting these!
You're welcome!
I'm still working on the "method four" testing that you requested.
The "make check" is done, results
2007 May 15
8
[LLVMdev] 2.0 Pre-release tarballs online
I've uploaded the 2.0 pre-release to this location:
http://llvm.org/prereleases/2.0/
If you have free time and would like to help test this release, please
download the appropriate tarballs from the website.
Here are a few ways you can help test this release:
1) Download llvm-gcc4 binary and llvm. Compile and run make check.
2) Download llvm-gcc4 binary, llvm, and llvm-test. Compile, run
2007 Sep 19
0
[LLVMdev] 2.1 Pre-Release Available (testers needed)
On Wed, Sep 19, 2007 at 05:24:12PM +1000, Emil Mikulic wrote:
> http://goanna.cs.rmit.edu.au/~emil/llvm2.1-check-debug.txt
Here's an ARM test that cores:
$ llvm-as < /home/emil/ll/llvm-2.1/test/CodeGen/ARM/2007-01-19-InfiniteLoop.ll | llc -march=arm -mattr=+v6,+vfp2
Segmentation fault (core dumped)
$ gdb `which llc` llc.core
[...]
(gdb) where
#0 0x0853d606 in
2004 Nov 20
2
[LLVMdev] Re: C back-end for llvmg++
On Nov 19, 2004, at 9:25 PM, Mohd-Hanafiah Abdullah wrote:
> Dear Dr Vikram:
>
> I need to know how to invoke llvmg++ so that it generates C code.
Here's how you can do a single file (i.e., an unlinked executable):
llvmg++ -c infile.cpp -o - | llc -march=c -o infile.cbe.c
Reid might be able to tell you how to do it with a single command using
the llvmc tool.
In future, please
2007 Sep 18
0
[LLVMdev] 2.1 Pre-Release Available (testers needed)
On Fri, Sep 14, 2007 at 11:42:18PM -0700, Tanya Lattner wrote:
> The 2.1 pre-release (version 1) is available for testing:
> http://llvm.org/prereleases/2.1/version1/
>
> [...]
>
> 2) Download llvm-2.1, llvm-test-2.1, and the llvm-gcc4.0 source.
> Compile everything. Run "make check" and the full llvm-test suite
> (make TEST=nightly report).
>
> Send
2007 May 17
0
[LLVMdev] 2.0-prerelease build errors
> llvm[2]: Flexing FileLexer.l
> llvm[2]: Bison of FileParser.y SKIPPED -- bison not found
> llvm[2]: Compiling FileLexer.cpp for Release build
> /usr/home/emil/llvm-2.0/utils/TableGen/FileLexer.l:34:24: FileParser.h: No such file or directory
>
> Is this a packaging issue where FileParser.h was omitted
> from the tarball, or does LLVM *need* bison in order to build?
No,
2005 Apr 10
1
[LLVMdev] sys::Program::ExecuteAndWait() caller problems
On Sun, 10 Apr 2005, Markus F.X.J. Oberhumer wrote:
> sys::Program::ExecuteAndWait() requires that the first element in "args"
> should be the name of the program, but (at least) llvm-ld.cpp and gccld.cpp
> fail to do so, thereby effectively swallowing the first parameter.
> This is the reason that -native-cbe has not working for some time - actually
> I wonder why no
2012 Oct 16
1
anova test for variables with different lengths
Hi all,
I want to test whether the MEAN of two different variables, (and
different number of observations) are the same. I am trying to use the
anova test but it doesn't seem to like that the number of observations
are different:
a=c(1:5)
b=c(1:3)
aov_test=aov(a~b)
>>Error in model.frame.default(formula = a ~ b, drop.unused.levels = TRUE) :
variable lengths differ (found for
2006 Nov 21
2
[LLVMdev] libstdc++ as bytecode, and compiling C++ to C
Emil:
I'm using LLVM 1.9 now. When I tried to do what you did I got the
following though:
$ llvm-g++ -emit-llvm -c x.cpp
$ llvm-link -o=linked.o x.o std/*.o sup/*.o
WARNING: Linking two modules of different target triples!
WARNING: Linking two modules of different target triples!
WARNING: Linking two modules of different target triples!
...
$ lli linked.o
lli((anonymous