[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-dev
Subject:    Re: [LLVMdev] LLVM-gcc for ARM
From:       Viktor Kutuzov <vkutuzov () accesssoftek ! com>
Date:       2010-01-28 23:25:32
Message-ID: 6AE1604EE3EC5F4296C096518C6B77EE0194D87872 () mail ! accesssoftek ! com
[Download RAW message or body]

It works in general, but it wasn't enough for my cases. I knew about this script and \
I used this one and a script from the llvm buildbot as a start point to create a \
workable build sequence for llvm/llv-gcc as I needed. I just forgot to point out on \
this script because I don't use it routinely.

Thank you.

-Viktor.

________________________________
From: Misha Brukman [brukman@gmail.com]
Sent: Thursday, January 28, 2010 11:53 AM
To: Viktor Kutuzov
Cc: corina s; llvmdev@cs.uiuc.edu
Subject: Re: [LLVMdev] LLVM-gcc for ARM

We have had a script for a while that does this for you in \
http://llvm.org/svn/llvm-project/llvm/trunk/utils/crosstool/ARM/ . It also uses the \
CodeSourcery toolchain so it saves you some effort.

Does that work for you?

On Mon, Jan 18, 2010 at 2:52 PM, Viktor Kutuzov \
<vkutuzov@accesssoftek.com<mailto:vkutuzov@accesssoftek.com>> wrote: Hello Corina,

I used a two-stage sequence to build the llvm and llvm-gcc with the codesourcery \
toolchain and my custom built arm toolchain. There is some scripted chunks for each \
step. I have attached them as a single file to this email. May be it will help you \
somehow.

Viktor.

---
From: llvmdev-bounces@cs.uiuc.edu<mailto:llvmdev-bounces@cs.uiuc.edu> \
[llvmdev-bounces@cs.uiuc.edu<mailto:llvmdev-bounces@cs.uiuc.edu>] On Behalf Of corina \
                s [corina_fff@yahoo.com<mailto:corina_fff@yahoo.com>]
Sent: Friday, January 15, 2010 12:54 PM
To: llvmdev@cs.uiuc.edu<mailto:llvmdev@cs.uiuc.edu>
Subject: [LLVMdev] LLVM-gcc for ARM


Hello,

I am building llvm-gcc4.2-2.6  for ARM target.
I used the next command line option:>>../configure  --enable-languages=c,c++ \
--enable-checking --target=arm-eabi>> and then>> make target_alias=arm-eabi>>And then \
I obtain the following error:In file included from \
../../gcc/config/arm/arm.c:59:./../../libcpp/internal.h: In function \
‘ufputs’:./../../libcpp/internal.h:693: warning: implicit declaration of function \
‘fputs_unlocked’../../gcc/config/arm/arm.c: At top \
level:../../gcc/config/arm/arm.c:514: error: ‘MASK_INTERWORK’ undeclared here (not in \
a function)../../gcc/config/arm/arm.c: In function \
‘optimization_options’:../../gcc/config/arm/arm.c:23444: warning: unused parameter \
‘level’What would be the problem?It is OK  the configure line? Thanks,Corina

_______________________________________________
LLVM Developers mailing list
LLVMdev@cs.uiuc.edu<mailto:LLVMdev@cs.uiuc.edu>         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev


[Attachment #3 (text/html)]

<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="GENERATOR" content="MSHTML 8.00.6001.18882">
<style id="owaTempEditStyle"></style><style title="owaParaStyle"><!--P {
	MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
</head>
<body ocsi="x">
<div style="FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZE: 13px">
<div></div>
<div dir="ltr"><font color="#000000" size="2" face="Tahoma">It works in general, but \
it wasn't enough for my cases. I knew about this script and I used this one and \
</font><font color="#000000" size="2" face="Tahoma">a script from the llvm buildbot \
as a start point to create a workable build sequence for llvm/llv-gcc as I needed. I \
just forgot to point out&nbsp;on this script because I don't use it \
routinely.</font></div> <div dir="ltr"><font size="2" \
face="tahoma"></font>&nbsp;</div> <div dir="ltr"><font size="2" face="tahoma">Thank \
you.</font></div> <div dir="ltr"><font size="2" face="tahoma"></font>&nbsp;</div>
<div dir="ltr"><font size="2" face="tahoma">-Viktor.</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font>&nbsp;</div>
<div style="DIRECTION: ltr" id="divRpF875463">
<hr tabindex="-1">
<font color="#000000" size="2" face="Tahoma"><b>From:</b> Misha Brukman \
[brukman@gmail.com]<br> <b>Sent:</b> Thursday, January 28, 2010 11:53 AM<br>
<b>To:</b> Viktor Kutuzov<br>
<b>Cc:</b> corina s; llvmdev@cs.uiuc.edu<br>
<b>Subject:</b> Re: [LLVMdev] LLVM-gcc for ARM<br>
</font><br>
</div>
<div></div>
<div>We have had a script for a while that does this for you in&nbsp;<a \
href="http://llvm.org/svn/llvm-project/llvm/trunk/utils/crosstool/ARM/" \
target="_blank">http://llvm.org/svn/llvm-project/llvm/trunk/utils/crosstool/ARM/</a> \
. <div>It also uses the CodeSourcery toolchain so it saves you some effort.</div>
<div><br>
</div>
<div>Does that work for you?</div>
<div><br>
<div class="gmail_quote">On Mon, Jan 18, 2010 at 2:52 PM, Viktor Kutuzov <span \
dir="ltr"> &lt;<a href="mailto:vkutuzov@accesssoftek.com">vkutuzov@accesssoftek.com</a>&gt;</span> \
wrote:<br> <blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; \
PADDING-LEFT: 1ex" class="gmail_quote"> Hello Corina,<br>
<br>
I used a two-stage sequence to build the llvm and llvm-gcc with the codesourcery \
toolchain and my custom built arm toolchain. There is some scripted chunks for each \
step. I have attached them as a single file to this email. May be it will help you \
somehow.<br> <br>
Viktor.<br>
<br>
---<br>
From: <a href="mailto:llvmdev-bounces@cs.uiuc.edu">llvmdev-bounces@cs.uiuc.edu</a> \
[<a href="mailto:llvmdev-bounces@cs.uiuc.edu">llvmdev-bounces@cs.uiuc.edu</a>] On \
Behalf Of corina s [<a \
                href="mailto:corina_fff@yahoo.com">corina_fff@yahoo.com</a>]<br>
Sent: Friday, January 15, 2010 12:54 PM<br>
<div class="im">To: <a href="mailto:llvmdev@cs.uiuc.edu">llvmdev@cs.uiuc.edu</a><br>
</div>
Subject: [LLVMdev] LLVM-gcc for ARM<br>
<div>
<div></div>
<div class="h5"><br>
<br>
Hello,<br>
<br>
I am building llvm-gcc4.2-2.6 &nbsp;for ARM target.<br>
I used the next command line option:&gt;&gt;../configure \
&nbsp;--enable-languages=c,c&#43;&#43; --enable-checking --target=arm-eabi&gt;&gt; \
and then&gt;&gt; make target_alias=arm-eabi&gt;&gt;And then I obtain the following \
error:In file included from ../../gcc/config/arm/arm.c:59:./../../libcpp/internal.h:  \
In function ‘ufputs’:./../../libcpp/internal.h:693: warning: implicit declaration of \
function ‘fputs_unlocked’../../gcc/config/arm/arm.c: At top \
level:../../gcc/config/arm/arm.c:514: error: ‘MASK_INTERWORK’ undeclared here (not in \
a function)../../gcc/config/arm/arm.c:  In function \
‘optimization_options’:../../gcc/config/arm/arm.c:23444: warning: unused parameter \
‘level’What would be the problem?It is OK<br> &nbsp;the configure line? \
Thanks,Corina</div> </div>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> &nbsp; &nbsp; &nbsp; \
&nbsp; <a href="http://llvm.cs.uiuc.edu" target="_blank"> \
http://llvm.cs.uiuc.edu</a><br> <a \
href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" \
target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br> <br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</body>
</html>



_______________________________________________
LLVM Developers mailing list
LLVMdev@cs.uiuc.edu         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

--===============1824022063==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic