You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IIRC Dune automatically adds .exe to filenames when installing executables for Windows contexts. In addition to the support for variables in the referenced PRs, I'm wondering if it would be better for Dune to perform automatic conversion of items ending .o to .obj and .a to .lib for contexts using the Microsoft C compiler.
There might want to be some kind of syntax or semantics which prevents this kind of translation for very special cases (for example FlexDLL) where you might manipulate both .o and .obj files in the same place. However, for 99% of cases, writing .o in a dune is not portable.
The text was updated successfully, but these errors were encountered:
I wondered about this as well. It would definitely be easier for Linux programmers. However, I wonder how intuitive it would be for others, such as OSX programmers as I believe the extensions are already different.
I'm wondering if we should simply start with warning the user when they use these unportable extensions. I'm not sure if the automatic translation in rules is very intuitive.
Only difference on osx is that there are special frameworks and .dylib extensions, but those are only as a result of explicit invocations. The rest is quite similar to Linux
Related: #690, #962, #1189
IIRC Dune automatically adds
.exe
to filenames when installing executables for Windows contexts. In addition to the support for variables in the referenced PRs, I'm wondering if it would be better for Dune to perform automatic conversion of items ending.o
to.obj
and.a
to.lib
for contexts using the Microsoft C compiler.There might want to be some kind of syntax or semantics which prevents this kind of translation for very special cases (for example FlexDLL) where you might manipulate both
.o
and.obj
files in the same place. However, for 99% of cases, writing.o
in adune
is not portable.The text was updated successfully, but these errors were encountered: