------- Comment #3 from dj at redhat dot com 2009-01-26 19:46 ------- Subject: Re: New: libiberty make_relative_prefix_1 mistakes directories for executables
Your code conditionally includes <sys/stat.h> but doesn't conditionally enable the other code. If sys/stat.h isn't found, perhaps the code could revert to the old access() code? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38966