Sujet : Re: Status of Posix on Windows
De : 643-408-1753 (at) *nospam* kylheku.com (Kaz Kylheku)
Groupes : comp.lang.cDate : 30. May 2024, 01:30:09
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20240529172345.943@kylheku.com>
References : 1 2 3
User-Agent : slrn/pre1.0.4-9 (Linux)
On 2024-05-29, Malcolm McLean <
malcolm.arthur.mclean@gmail.com> wrote:
OK. So bottom line is no, I can't reasonably expect my millions of
Windows Baby X programmer users to use directorytoxml.
What? On the contrary here is a .zip of the executable, with needed
DLLs:
https://www.kylheku.com/~kaz/d2xml.zipSHA256: fbd56a70a23cc34e6085c5a754c79046c0f96258e4aebda8197e82a53c3551ef
All I did weas build this on Cygwin with
gcc -O2 directorytoxml.c -o d2xml
Then bundled the d2xml.exe with the needed DLLs and zipped up.
Literally, a minute of work.
The cygwin1.dll isn't the Cygwin one but from the Cygnal project,
so this should understand native Windows paths. If you point it
at C:\Users\whoever\whatever, it should work.
Remark: I would have used the POSIX nftw function in this, instead of
rolling my own recursive traversal.
-- TXR Programming Language: http://nongnu.org/txrCygnal: Cygwin Native Application Library: http://kylheku.com/cygnalMastodon: @Kazinator@mstdn.ca