Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] Cross compling with LLVM for MIPS"
2011 Sep 01
0
[LLVMdev] Cross compling with LLVM for MIPS
Using LLVM+CLANG, you can do something like:
clang -ccc-host-triple mips-unknown-linux -ccc-clang-archs mips ...
On Thu, Sep 1, 2011 at 1:15 PM, janarbek <canarbekmatay at yahoo.com> wrote:
> Hello All,
>
> I am trying to cross compile for MIPS on x86 architecture. I want to do it
> using LLVM ?
> How can I do it ? Thanks in advance.
>
>
>
2011 Sep 01
2
[LLVMdev] Cross compling with LLVM for MIPS
I have installed LLVM on my machine (ubuntu) a while ago. I think my LLVM version is 2.8. is it supported in 2.8 ? When I install i didn't configure LLVM for mips. Do I have to configure it when I build ?
Thanks in advance. Really appreciate it.
--- On Thu, 9/1/11, Bruno Cardoso Lopes <bruno.cardoso at gmail.com> wrote:
From: Bruno Cardoso Lopes <bruno.cardoso at gmail.com>
2011 Sep 01
0
[LLVMdev] Cross compling with LLVM for MIPS
> I have installed LLVM on my machine (ubuntu) a while ago. I think my LLVM version is 2.8. is it supported in 2.8 ? When I install i didn't configure LLVM for mips. Do I have to configure it when I build ?
I don't know what's the default llvm configuration for ubuntu! But you
can check for mips support using "llc --version". Yes, it's supported
in 2.8, although it
2011 Oct 26
2
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
Hi, if you change unlink to ::unlink on that line, does it help?
Ciao, Duncan.
On 10/26/11 19:27, janarbek wrote:
> Does someone have a solution for this problem ?
> I am using gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) and I have tried
> several versions of LLVM including llvm 2.9 final. I am getting same error again
> and again.
>
> I have successfully build the llvm
2011 Oct 25
2
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
The patch does inseret unistd.h as below. However, I am still getting exactly same error when I do make.if you have any suggestions please let me know.
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
===========================================
Phone : 82-42-860-1838
Fax : 82-42-860-6790 Cell Phone: 82-10-7599-1981 ===========================================
--- On Mon, 10/24/11, Eli
2011 Oct 24
2
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
I apply patch, it says patch is applied. Does the directory which I run patch matters ?
===========================================
Phone : 82-42-860-1838
Fax : 82-42-860-6790 Cell Phone: 82-10-7599-1981 ===========================================
--- On Mon, 10/24/11, Eli Friedman <eli.friedman at gmail.com> wrote:
From: Eli Friedman <eli.friedman at gmail.com>
Subject: Re:
2011 Oct 24
3
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
I am not sure if I applied correctly.I did following and it seems failed.
janarbek at ubuntu:~/Work/llvm$ patch <unistd.txt
patching file Path.inc
Hunk #1 FAILED at 51.
1 out of 1 hunk FAILED -- saving rejects to file Path.inc.rej
===========================================
Phone : 82-42-860-1838
Fax : 82-42-860-6790 Cell Phone: 82-10-7599-1981
2011 Oct 26
0
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
Hi Duncan,
unlink is a C function, right ? why need a :: ?
Or is there a class ?
--- On Wed, 10/26/11, Duncan Sands <baldrick at free.fr> wrote:
From: Duncan Sands <baldrick at free.fr>
Subject: Re: [LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
To: llvmdev at cs.uiuc.edu
Date: Wednesday, October 26, 2011, 11:10 AM
Hi, if you
2011 Oct 25
3
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
Yes,
I applied the patch on trunk version like below. It says patching file. However, when I make, the build is still failing.
janarbek at ubuntu:~/Work/llvm/llvm$ patch -p0 < unistd.txt
patching file lib/Support/Unix/Path.inc
===========================================
Phone : 82-42-860-1838
Fax : 82-42-860-6790 Cell Phone: 82-10-7599-1981
2011 Jul 01
2
[LLVMdev] Generating DFG or CDFG from C code
On Jun 30, 2011, at 10:05 PM, janarbek wrote:
>
> Hi All,
> I am reposting my question again since i think my question was not clear enough.
> I am wondering is it possible to generate Control Data Flow Graph from C using LLVM? or is it possible to get web-like structure of C code using llvm /
>
> Thanks in advance,
> Any comment suggestion would be appreciated.
>
>
2011 Oct 25
0
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
On Mon, Oct 24, 2011 at 4:58 PM, janarbek <canarbekmatay at yahoo.com> wrote:
>
> I apply patch, it says patch is applied. Does the directory which I run patch matters ?
You should be running the "patch -p0 < unistd.txt" in the root LLVM
source directory for the trunk version. If you're still getting "Hunk
#1 FAILED at 51." errors, you're not doing
2011 Oct 26
0
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
Does someone have a solution for this problem ?
I am using gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) and I have tried several versions of LLVM including llvm 2.9 final. I am getting same error again and again.
I have successfully build the llvm on another machine with gcc version of 4.3.
Thanks in advance.
make[1]: Entering directory
2011 Oct 24
0
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
On Mon, Oct 24, 2011 at 4:41 PM, janarbek <canarbekmatay at yahoo.com> wrote:
>
> I am not sure if I applied correctly.I did following and it seems failed.
>
> janarbek at ubuntu:~/Work/llvm$ patch <unistd.txt
> patching file Path.inc
> Hunk #1 FAILED at 51.
> 1 out of 1 hunk FAILED -- saving rejects to file Path.inc.rej
Try "patch -p0 < unistd.txt".
2011 Oct 25
0
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
On Mon, Oct 24, 2011 at 5:10 PM, janarbek <canarbekmatay at yahoo.com> wrote:
>
> Yes,
>
> I applied the patch on trunk version like below. It says patching file. However, when I make, the build is still failing.
>
> janarbek at ubuntu:~/Work/llvm/llvm$ patch -p0 < unistd.txt
> patching file lib/Support/Unix/Path.inc
That means it was applied.
In that case, I have
2011 Jul 01
1
[LLVMdev] Generating DFG or CDFG from C code
Unless someone else responds with "I've already done that" then you need to implement a pass. It's probably something you want to customize to your needs anyway.
-Andy
On Jun 30, 2011, at 11:50 PM, janarbek wrote:
> Hi Andrew,
> Thanks for the response. That helps a lot.
>
> So that means I have to implement a pass, right ? Sorry for dumb question. I just started
2011 Oct 24
2
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
Hello All,
I am getting following error on Ubuntu. My gcc is gcc version 4.4.5. Please let me know if you have any comments/suggestions.
In file included from /home/janarbek/Work/llvm/llvm/lib/Support/Path.cpp:299:
/home/janarbek/Work/llvm/llvm/lib/Support/Unix/Path.inc: In member function ‘bool llvm::sys::Path::eraseFromDisk(bool, std::string*) const’:
2011 Jun 30
2
[LLVMdev] Generating DFG or CDFG from C code
Hi All,
I am new to LLVM. I want to generate a Dataflow graph or Control Dataflow graph from C code using LLVM. I have no idea how to do it in LLVM. I tried to use analysis and transform passes such as "-dot-cfg" but it doesn't give what I want. I want to generate a node for each operation in C code.
Thanks in advance.JM.
-------------- next part --------------
An HTML attachment
2011 Jul 01
0
[LLVMdev] Generating DFG or CDFG from C code
Hi Andrew,
Thanks for the response. That helps a lot.
So that means I have to implement a pass, right ? Sorry for dumb question. I just started LLVM today.
===========================================
Phone : 82-42-860-1838
Fax : 82-42-860-6790 Cell Phone: 82-10-7599-1981 ===========================================
--- On Thu, 6/30/11, Andrew Trick <atrick at apple.com> wrote:
2011 Oct 24
0
[LLVMdev] LLVM build is failed giving Path.inc:714: error: ‘unlink’ was not declared in this scope
On Mon, Oct 24, 2011 at 4:27 PM, janarbek <canarbekmatay at yahoo.com> wrote:
>
> Hello All,
>
> I am getting following error on Ubuntu. My gcc is gcc version 4.4.5. Please let me know if you have any comments/suggestions.
>
> In file included from /home/janarbek/Work/llvm/llvm/lib/Support/Path.cpp:299:
> /home/janarbek/Work/llvm/llvm/lib/Support/Unix/Path.inc: In member
2011 Jul 01
0
[LLVMdev] Generating DFG or CDFG from C code
Hi All,
I am reposting my question again since i think my question was not clear enough.
I am wondering is it possible to generate Control Data Flow Graph from C using LLVM? or is it possible to get web-like structure of C code using llvm /
Thanks in advance,
Any comment suggestion would be appreciated.
Jan Ma.
===========================================
--- On Thu, 6/30/11, janarbek