[m-dev.] proposed additions: file copying in stdlib and compiler

Julien Fischer jfischer at opturion.com
Fri Nov 10 23:20:36 AEDT 2023


On Fri, 10 Nov 2023, Zoltan Somogyi wrote:

>
> On 2023-11-10 23:05 +11:00 AEDT, "Julien Fischer" <jfischer at opturion.com> wrote:

>> Since we don't support symlinks on Windows, we also copy files
>> with mmc --make instead of symlinking them. (We should revisit
>> this since Windows 11 probably has a workable version of symlinks
>> now.)
>
> Since there are still many installs of Win10 out there, we would want
> to support that as well, though not Win7; if it has been end-of-lifed
> by MS, why would we want to support it?

Windows has "supported" symlinks since Vista; however until Windows 11
you could only use them as an administrator, not in user mode (for some
bloody reason).

The compiler already lets you select whether it will use symlinks
or copy files using the --use-symlinks configuration option.
(What's lacking is any support for sylinks in the standard library
when on Windows.)

Julien.


More information about the developers mailing list