Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] Stacker Example"
2008 Apr 09
2
[LLVMdev] Compiling Stacker compiler
On Tue, Apr 8, 2008 at 8:00 PM, Gordon Henriksen
<gordonhenriksen at mac.com> wrote:
> On 2008-04-08, at 20:21, Lane Schwartz wrote:
>
> > I checked out the Stacker directory from svn, and put it in my llvm-
> > src/projects directory. Unfortunately, when I run make, I get the
> > errors below. I wondered whether the stacker code might simply be
> > out of
2007 Mar 09
0
[LLVMdev] compile errors with demo projects Stacker and Hello
If I remember correctly, you get the following warning when you
configure LLVM:
configure:2087: WARNING: Unknown project (Stacker) won't be configured
automatically
That leads would lead me to believe that you need to run configure
inside llvm/projects/Stacker (and inside llvm/projects/Hello) before you
run gmake inside of them. I don't know for sure, but perhaps that might
fix
2008 Apr 09
0
[LLVMdev] Compiling Stacker compiler
On Tue, Apr 8, 2008 at 8:25 PM, Lane Schwartz <dowobeha at gmail.com> wrote:
> OK. Thanks for the info. Is there a working sample project that I could look at?
>
> I'm interested in tinkering around with my own custom frontend for a
> toy language, and I was hoping for something I could use as a template
> in getting a project set up properly.
Did you try the
2007 Mar 09
2
[LLVMdev] compile errors with demo projects Stacker and Hello
Hi all!
I have sucessfully installed LLVM 1.9 under FreeBSD on a x86 PC.
I have successfully executed "An Example Using the LLVM Tool Chain" that is
written in the document http://llvm.org/docs/GettingStarted.html
When I tried out the demo projects "Hello" and "Stacker" I get compile errors. When I run "gmake" in the directory
2004 Sep 03
1
[LLVMdev] Stacker config problems
I'm also getting these errors:
gmake[2]: Entering directory `/usr/home/llvm/projects/Stacker'
../../Makefile.common:60: ../../Makefile.config: No such file or directory
../../Makefile.common:65: /Makefile.rules: No such file or directory
gmake[2]: *** No rule to make target `/Makefile.rules'. Stop.
gmake[2]: Leaving directory `/usr/home/llvm/projects/Stacker'
Everything else
2008 Apr 09
0
[LLVMdev] Compiling Stacker compiler
On 2008-04-08, at 20:21, Lane Schwartz wrote:
> I checked out the Stacker directory from svn, and put it in my llvm-
> src/projects directory. Unfortunately, when I run make, I get the
> errors below. I wondered whether the stacker code might simply be
> out of date
It is. The fixes are likely mechanical, but just require someone
stepping up and submitting a patch.
— Gordon
2005 Feb 14
2
[LLVMdev] Removing $(LLVM_SRC_ROOT)/autoconf dependensies in Stacker, llvm-java [PATCH]
Hi!
In current LLVM CVS:
llvm/projects/Stacker/Makefile.common.in
llvm/projects/sample/Makefile.common.in
llvm-java/llvm-java/Makefile.common.in
have line:
include $(LLVM_OBJ_ROOT)/Makefile.common
that have line:
include $(LLVM_OBJ_ROOT)/Makefile.config
(also $(LLVM_OBJ_ROOT)/Makefile.config used in llvm-test/Makefile.config.in)
and
llvm/Makefile.config.in have lines:
INSTALL_SH :=
2003 Nov 18
3
[LLVMdev] Stacker
As a learning aid for myself and for other would be source language
writers for LLVM, I have decided to write a very simple language I'm
calling "Stacker". Its kinda like Forth but way, way, way simpler. Its
nowhere near ANS Forth and it won't be useful for much other than
demonstrating how to create a source language using LLVM. I thought I'd
mention this just so everyone
2005 Feb 15
0
[LLVMdev] Removing $(LLVM_SRC_ROOT)/autoconf dependensies in Stacker, llvm-java [PATCH]
Personally, I don't think LLVM projects should need much in the way of
autoconf stuff. They certainly don't need to replicate things like
install-sh and mkinstalldirs. I'd vote for taking these out of the
projects rather than making the makefiles deal with them. I think in
most cases these are just historical artifacts that have been with the
projects since long before the new
2008 Apr 09
2
[LLVMdev] Compiling Stacker compiler
Hi, I'm new to LLVM, and I'm trying to get things set up. So far I've
successfully gotten the C and C++ frontends to run, using the
pre-compiled Mac OS X PPC binaries. I've also successfully compiled
the main LLVM package (minus the gcc frontend).
I'm now trying to get the Stacker sample project to compile.
I checked out the Stacker directory from svn, and put it in my
2005 Feb 15
0
[LLVMdev] Removing $(LLVM_SRC_ROOT)/autoconf dependensies in Stacker, llvm-java [PATCH]
On Mon, 2005-02-14 at 20:53, Chris Lattner wrote:
> On Mon, 14 Feb 2005, Reid Spencer wrote:
>
> > Personally, I don't think LLVM projects should need much in the way of
> > autoconf stuff. They certainly don't need to replicate things like
> > install-sh and mkinstalldirs. I'd vote for taking these out of the
> > projects rather than making the makefiles
2005 Feb 15
3
[LLVMdev] Removing $(LLVM_SRC_ROOT)/autoconf dependensies in Stacker, llvm-java [PATCH]
On Mon, 14 Feb 2005, Reid Spencer wrote:
> Personally, I don't think LLVM projects should need much in the way of
> autoconf stuff. They certainly don't need to replicate things like
> install-sh and mkinstalldirs. I'd vote for taking these out of the
> projects rather than making the makefiles deal with them. I think in
> most cases these are just historical artifacts
2005 Jul 09
0
[LLVMdev] Configure failed for Stacker with --enable-targets=x86
Hi LLVM'ers,
when configuring llvm on mingw32:
/C/projects/src/llvm-1/llvm/configure
--prefix=/C/MinGW/msys/home/Administrator/llvm --enable-targets=x86
I got this error:
configure: configuring in projects/Stacker
configure: running /bin/sh
'/C/projects/src/llvm-1/llvm/projects/Stacker/configure'
--prefix=/C/MinGW/msys/home/Administrator/llvm
2008 Apr 15
1
[LLVMdev] Linking to LLVM libs from new project
Hi all,
I have a new sample project set up in my llvm/projects directory, and
I'd eventually like my frontend to generate an LLVM IR tree. To do so,
I believe I need to link to the appropriate LLVM libraries. That's
where I'm stuck.
I can't seem to find any specific documentation that describes how to
set up a new project to link to LLVM libraries.
To get started, I added a
2005 May 04
0
[LLVMdev] Re: stacker doc
Hi Lalo,
Its been a while since I've had a Stacker question!
The answer is in the StackerCompiler::handle_while function in
StackerCompiler.cpp in projects/Stacker/lib/compiler. Apparently the
control value is only examined (not popped) for the "WHILE" operator.
Take for example the prime.st sample program. The first thing it does is
process the arguments with a WHILE loop:
2006 Feb 28
1
[LLVMdev] Using llvm-gcc with a simple program and the '-c' option
Reid Spencer wrote:
> On Mon, 2006-02-27 at 20:43 -0800, Wink Saville wrote:
>
>>> Try passing "-L/opt/llvm-1.6/llvm-gcc/lib/ -lcrtend" to llvm-ld.
>>>
>> This didn't work for me:
>> llvm-ld -o t1.app t1.bc t1.a -L/opt/llvm-1.6/llvm-gcc/lib/ -lcrtend.a
>>
>> I get two warning's about library 'crtend' missing
2005 Jan 01
1
[LLVMdev] configure: error: invalid variable name: CPPFLAGS
Hi,
I get this error:
---------------
configure: configuring in projects/Stacker
configure: running /bin/sh
'/C/projects/src/llvm-2/llvm/projects/Stacker/configure'
--prefix=/C/LLVM/tools/ '--prefix=/C/LLVM/tools/' 'CPPFLAGS=-D__MINGW
-DLLVM_ON_WIN32=1' --cache-file=/dev/null
--srcdir=/C/projects/src/llvm-2/llvm/projects/Stacker
configure: error: invalid variable
2009 Sep 19
2
[LLVMdev] Native Assembler for ARM
Hello,
I hope I'm not missing something obvious. I'm trying to get a native
binary for ARM from a .s file. If I try to run "as -arch arm
myFile.s" I get an error message indicating that no installed
assembler exists for arm.
as: assembler (/usr/bin/../libexec/gcc/darwin/arm/as or /usr/bin/../
local/libexec/gcc/darwin/arm/as) for architecture arm not installed
Installed
2007 Jun 30
6
[LLVMdev] Repository Layout
All,
I'm finding the current layout a bit frustrating, not to mention that it
breaks all the documentation. We currently have modules laid out like
this:
llvm/trunk/...
llvm/branches/...
llvm/tags/...
stacker/trunk/...
stacker/branches/...
stacker/tags/...
and similarly for all the other modules (test-suite, java, poolalloc,
etc.). Unfortunately, this "standard"
2006 Dec 30
2
[LLVMdev] nightly tester grawp
Reid,
Click on any of these logs and you'll see the same asm parsing
issues. It's been going on for much of the week.
http://llvm.org/nightlytest/machines/2006-12-29_05:40:12-Build-Log.txt
http://llvm.org/nightlytest/machines/2006-12-29_05:40:12-Build-Log.txt
llvm[4]: Compiling stacker_rt.ll to stacker_rt.bc for Release build
(bytecode)