<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Apr 4, 2013, at 3:34 PM, Filipe Cabecinhas wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi all,<div><br></div><div style="">I've changed the Makefiles around to compile the debugserver binary using them.</div></div></blockquote>So did I ;).<br><blockquote type="cite"><div dir="ltr"><div style="">I moved debugserver.cpp and debugserver-entitlements.plist from source/... onto driver/...</div></div></blockquote>I think this is a good idea. Wish I'd thought of that...</div><div><br></div><div>Later on, maybe we can make this a normal LLDB library, and/or split it into several different libraries.<br><blockquote type="cite"><div dir="ltr"><div style=""> and created a makefile there that will create the debugserver tool and sign it (Not with the correct signature for now, but I have a patch for llvm's makefiles to correct it).</div></div></blockquote>I have my own patch for that issue, too. I really should've piped up earlier :). I also have some other patches to the LLVM build system that I really need to get upstreamed, including one that adds support for assembly source files.<br><blockquote type="cite"><div dir="ltr">
<div><br></div><div style="">I fixed the references I could find for those two files in the Xcode project file (both on the project files and on the entitlements for debugserver on iOS).</div><div><br></div><div style="">I brought in <a href="http://generate-vers.pl/">generate-vers.pl</a> from lldb/scripts to create debugserver_vers.c for Mac OS X (we could in the future abstract the script and keep only one copy, or use the same version numbering as clang and lldb-linux).</div></div></blockquote>IMO, unless we're being built Apple-style (i.e. with the Xcode project), we really should use the same versioning scheme as Clang and LLDB on Linux. But that's just my opinion.<br><blockquote type="cite"><div dir="ltr">
<div style=""><br></div><div style="">I also added Makefiles for the subdirectories under debugserver/source, of course.</div></div></blockquote><blockquote type="cite"><div dir="ltr"><div style=""><br></div><div style="">Apple folks: Could you check out the xcodeproj files and confirm that everything is okay with you?</div>
<div style="">Linux/FreeBSD/others: Please test it to see what changes may be needed to not break the build. I'm thinking about only including debugserver in DIRS if uname -s is Darwin.</div></div></blockquote>That's what I did in mine.</div><div><br></div><div>Hang on, maybe I can see about putting our patches together. Mine has some other stuff (e.g. dependency tracking for the MIG source, universal build support) that yours doesn't have.</div><div><br></div><div>Chip</div><div><br><blockquote type="cite">
<span><lldb-makefiles.patch></span>_______________________________________________<br>lldb-commits mailing list<br><a href="mailto:lldb-commits@cs.uiuc.edu">lldb-commits@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits<br></blockquote></div><br></body></html>