<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 03/30/2015 11:23 AM, Chao Yan wrote:<br>
</div>
<blockquote
cite="mid:CALxA4=B=zxKTgfnFG_HsSUUqcb+UZZdw06+c9gspPm+omOHtZg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-03-29 19:41 GMT-05:00 Richard
Pennington <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:rich@pennware.com" target="_blank">rich@pennware.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="overflow:hidden">I also use my own Makefiles
to build compiler-rt for ELLCC. I build for ARM, Mips,
Microblaze, PowerPC, and x86. This is the list of files
I came up with: <a moz-do-not-send="true"
href="http://ellcc.org/viewvc/svn/ellcc/trunk/libecc/src/compiler-rt/sources.mk?view=markup"
target="_blank">http://ellcc.org/viewvc/svn/ellcc/trunk/libecc/src/compiler-rt/sources.mk?view=markup</a><br>
<br>
More info at <a moz-do-not-send="true"
href="http://ellcc.org" target="_blank">http://ellcc.org</a></div>
</blockquote>
</div>
<br>
I've check the compiler-rt source code and try to run "make
arm-linux-engeabi" in ellcc/libecc directory. I got the
following errors:</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">
<div class="gmail_extra">Making libcompiler-rt for
arm-linux-engeabi in compiler-rt-build</div>
<div class="gmail_extra">arm-linux-engeabi</div>
<div class="gmail_extra">cp: cannot stat ‘Makefile.lib’: No
such file or directory</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">I've searched through the directory
but there is no "Makefile.lib". Run "locate Makefile.lib" I
find:</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">
<div class="gmail_extra">/usr/src/linux-headers-3.13.0-45/scripts/Makefile.lib</div>
<div class="gmail_extra">/usr/src/linux-headers-3.13.0-45/scripts/dtc/libfdt/Makefile.libfdt</div>
<div class="gmail_extra">/usr/src/linux-headers-3.13.0-45-generic/scripts/Makefile.lib</div>
<div class="gmail_extra">/usr/src/linux-headers-3.13.0-46/scripts/Makefile.lib</div>
<div class="gmail_extra">/usr/src/linux-headers-3.13.0-46/scripts/dtc/libfdt/Makefile.libfdt</div>
<div class="gmail_extra">/usr/src/linux-headers-3.13.0-46-generic/scripts/Makefile.lib</div>
<div class="gmail_extra">/usr/src/linux-headers-3.13.0-48/scripts/Makefile.lib</div>
<div class="gmail_extra">/usr/src/linux-headers-3.13.0-48/scripts/dtc/libfdt/Makefile.libfdt</div>
<div class="gmail_extra">/usr/src/linux-headers-3.13.0-48-generic/scripts/Makefile.lib</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">I've tried to use these
Makefile.lib but they are not working properly:</div>
<div class="gmail_extra">
<div class="gmail_extra">arm-linux-engeabi</div>
<div class="gmail_extra">make[1]: *** No rule to make
target `install'. Stop.</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Am I missing something? BTW in
your makefile line 49:</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">$(OUT)cp -p Makefile.lib
compiler-rt-build/$@/Makefile<br>
</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">The $(OUT) stuff at the beginning
seems not useful?</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Thanks,</div>
<div class="gmail_extra">Chao</div>
</div>
<div class="gmail_extra"><br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
Hi Chao,<br>
<br>
I don't want to bring noise to the mailing list. I'll respond
privately.<br>
<br>
-Rich<br>
</body>
</html>