This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR27599


On May 16, 2006, at 7:03 AM, Michael Matz wrote:
case ${target} in
  *-darwin*)
    # Generic darwin host support.
    out_host_hook_obj=host-darwin.o
    host_xmake_file="${host_xmake_file} x-darwin"
    ;;
esac

I.e. selecting on $target. This seems wrong to me, but I can't test any
change there. Can I replace it with testing for $host, ala the patch
below?

Ok. Just watch out for fallout. I wouldn't expect any. Internally we build cross compilers, but since they are all darwin->darwin, we don't test the distinction nor would we be hit by the change. darwin- >linux or linux->darwin are the type that would see the difference.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]