<div class="gmail_quote">On Sun, Oct 2, 2011 at 11:41 PM, Marc J. Driftmeyer <span dir="ltr"><<a href="mailto:mjd@reanimality.com">mjd@reanimality.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF" text="#000000">Should not this change include a fs check for
/usr/lib/x86_64-linux-gnu/crt1.o as one of the else if options, not
to mention the rest of the architectures Debian supports and builds
clang against?</div></blockquote></div><br><div>Currently, I'm trying to get Clang to as closely match the GCC mainline behavior as I can, without breaking existing distros.</div><div><br></div><div>I'm hoping to have time to extend this logic to deal with most distros, if not all.</div>
<div><br></div><div>Currently, Clang doesn't handle Debian's multiarch setup correctly at all. I'm going to try to get to this, but its on the bottom of my immediate list because we don't have any reasonable existing support.</div>
<div><br></div><div><br></div><div>For reference, I specifically checked mainline GCC to see whether it cared about crt1.o or not, and it didn't. It only cared whether the directory existed. I've faithfully reproduced that here for better or worse.</div>
<div><br></div><div>Now, keep in mind, I'm currently only poking the library search paths. I'm also going to look at the code to actually locate crt1.o etc, that's still to come.</div>