similar to: [LLVMdev] Mips instructions using llvm?

Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] Mips instructions using llvm?"

2012 Nov 13
3
[LLVMdev] Mips instructions using llvm?
Hi Eli, What do you mean by "kind of vague" ? So does not guarantee to generate correct instructions ? I just tried what you said but getting following error ? Any ideas ? What I did is clang hello.c -S -target mips-unknown-linux Error: In file included from hello.c:1In file included from /usr/include/stdio.h:28/usr/include/features.h:323:10 fatak error 'bits/predefs.h' file not
2012 Nov 13
0
[LLVMdev] Mips instructions using llvm?
On Mon, Nov 12, 2012 at 4:41 PM, janarbek <canarbekmatay at yahoo.com> wrote: > > Hi All, > > Is there any way to generate MIPS instructions from C code in llvm ? "Generate MIPS instructions" is kind of vague, but something like "clang myfile.c -S -target mips-unknown-linux" will make clang generate MIPS assembly. -Eli
2012 Nov 13
0
[LLVMdev] Mips instructions using llvm?
> What do you mean by "kind of vague" ? So does not guarantee to generate correct instructions ? >Your question is vague.  Generally, you get better answers if you ask better questions. Sorry, I didn't mean to be rude. My question is does that mean institution generated may not guarantee what the "instructions" mean to be ? >This sounds like you are using headers
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 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
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 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 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
2012 Nov 13
1
[LLVMdev] Mips instructions using llvm?
On 12 Nov 2012, at 17:22, janarbek wrote: > What do you mean by "kind of vague" ? So does not guarantee to generate correct instructions ? Your question is vague. Generally, you get better answers if you ask better questions. > I just tried what you said but getting following error ? Any ideas ? > What I did is clang hello.c -S -target mips-unknown-linux > > Error:
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 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
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
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 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 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
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 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 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>