On Fri, Nov 19, 2010 at 7:33 PM, Jason Garrett-Glaser <span dir="ltr"><<a href="mailto:jason@x264.com">jason@x264.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On Fri, Nov 19, 2010 at 4:12 PM, Sean McGovern <<a href="mailto:gseanmcg@gmail.com">gseanmcg@gmail.com</a>> wrote:<br>
> On Sun, Oct 10, 2010 at 7:39 PM, Sean McGovern <<a href="mailto:gseanmcg@gmail.com">gseanmcg@gmail.com</a>> wrote:<br>
>><br>
>> On Sun, Oct 10, 2010 at 7:29 PM, Sean McGovern <<a href="mailto:gseanmcg@gmail.com">gseanmcg@gmail.com</a>> wrote:<br>
>>><br>
>>> Submitted for approval, here is a patch that fixes build of x264 on SPARC<br>
>>> Solaris 10.<br>
>>> Some notes about the patch:<br>
>>><br>
>>> As before, this still assumes you have the GNU compiler & toolchain<br>
>>> (except Sun's assembler), I have successfully built gcc 4.5.1 myself for<br>
>>> SPARC and have been using that. I have not made any attempt to build with<br>
>>> Sun Studio, although I do have it installed.<br>
>>> On Solaris, neither /usr/xpg4/bin/grep nor /usr/bin/grep are capable of<br>
>>> handling binary files directly, so I have instead piped the conftest.o<br>
>>> through /usr/bin/strings, which also works on many other *ix platforms<br>
>>> including Linux and MacOS X.<br>
>>> SPARC is an acronym (<a href="http://www.sparc.org/standards/SPARCV9.pdf" target="_blank">http://www.sparc.org/standards/SPARCV9.pdf</a> , section<br>
>>> 0.1) -- all references have been changed to uppercase (there weren't many).<br>
>>> sun4v's are 64-bit capable as well, so catch this in the configure<br>
>>> script.<br>
>>><br>
>>> Additionally, although it's largely harmless, builders may want to add<br>
>>> the LARGEFILE arguments to CFLAGS to squelch a warning. My build script<br>
>>> (bash-syntax) does it thus:<br>
>>> LFS_CFLAGS=$(getconf LFS_CFLAGS)<br>
>>> CFLAGS="${CFLAGS} ${LFS_CFLAGS}"<br>
>>> I would be more than happy to share my build script if anyone wants a<br>
>>> copy.<br>
>>> -- Sean McG<br>
>><br>
>> It helps a bunch when the patch is um... actually attached. Yeah.<br>
>> -- Sean McG<br>
><br>
> Ping?<br>
<br>
</div></div>Patch fails to apply, send an updated git-format-patch please.<br>
<br>
Jason<br>
_______________________________________________<br>
x264-devel mailing list<br>
<a href="mailto:x264-devel@videolan.org">x264-devel@videolan.org</a><br>
<a href="http://mailman.videolan.org/listinfo/x264-devel" target="_blank">http://mailman.videolan.org/listinfo/x264-devel</a><br>
</blockquote></div><br><br>Oops! My bad, one of today's commits conflicted... this one should apply against current HEAD.<br><br>-- Sean McG<br>