[PATCH v2 5/5] Cygwin: add find_fast_cwd_pointer_aarch64.

Jeremy Drake cygwin@jdrake.com
Thu Mar 27 17:28:27 GMT 2025


> 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?


More information about the Cygwin-patches mailing list