On Fri Aug 28, 2026 at 5:44 AM CEST, Quinn Van De Keere wrote:
>
> There are two more issues I found before everything can work smoothly: 
> the first is the new path normalization. It prepends a '/' to the path 
> regardless of platform, which is unacceptable on Windows since absolute 
> paths must begin with a drive letter. I've attached a patch to solve 
> that using 'normalize-pathname' which works just fine for me.

Yes, that is much better. I've added this (version 0.95).

> The second issue is likely with csc itself--I suspect it only considers 
> files with the .obj extension as objects on Windows. As a result, when 
> passed a .o file for linking, csc instead tries to compile it which 
> obviously fails. I've also attached an output demonstrating that. This 
> is the reason why I added the Windows-specific extensions for objects 
> and shared libraries, but if chicken-install works with the UNIX-like 
> extensions on Windows then maybe it's worth fixing on the csc level.

I changed csc to use ".o" on Windows as well, the build of CHICKEN itself
does this anyway and it removes another platform-specific thing. "csc"
still accepts ".obj" when looking for static files, in the hope of
keeping already installed object files working. Not sure how this
works out. Can you give csm 0.95 and the CHICKEN git HEAD a try?


cheers,
felix

Reply via email to