> Naah, I don't know. > > If you ask me, I would introduce a new directory aarch64 and > move the fastcwd_aarch64.cc file into that dir. Then rename > them both to fastcwd.cc. > > Makefile.am should add the file to TARGET_FILES= for x86_64, i.e. > > If/when we later add a native aarch64 target, you should have > only one file aarch/fastcwd.cc, which is built into Cygwin if > TARGET_X86_64 and in a second block defining TARGET_FILES= for > TARGET_AARCH64. > > Make sense?
I am concerned about having two source files with the same basename in winsup/cygwin/Makefile.am. Are you sure that won't cause any conflicts such as with ar or something like that?