> On 29 May 2015, at 19:03, Rich Felker wrote: > > This logic looks wrong. For example, "-L foo" would result in input=1, > no? And same for any other options with arguments. > > Rich Hmm, I’m afraid you’re right. I’ll need to rethink this approach... I was slightly annoyed by it being needed in the first place, but there’s no other way from what I could see than these markers to figure out what comes from a user and what doesn’t, since clang re-orders -l and -L arguments. If they weren’t needed I could just move -lc to the linker wrapper... -S