Eric K Richardson

Results 394 comments of Eric K Richardson

Note that `clang` will most of the time give you the correct or a very close target triple. If you use that one and it isn't perfectly correct it will...

Looking at the following code we can see it is dropping into the `#else`. https://github.com/scala-native/scala-native/blob/main/posixlib/src/main/resources/scala-native/sys/stat.c#L47-L49 Most likely Termux would support the `#if` case using `st_atime` etc. You might try passing...

Edit: You should be able to put that in your build via compiling options - https://scala-native.org/en/stable/user/sbt.html#sbt-settings-and-tasks Something like this but it may not work depending on the system. ```scala nativeConfig...

I found this so we may be able to add to the `#if` - https://github.com/termux/termux-api-package/blob/master/termux-api.c

@mio-19 Let use know if you make progress. This seems like an important platform to support.

It would be great if you could write up the setup and add it to the docs or put all the steps here and someone else could add it to...

>Is it possible to pass compile options by environment variables or flags instead of writing into build.sbt? I have thought about that by supporting the standard env vars supported by...

@LeeTibbert Is probably the person to advise. I am glad you are working with this. You are probably the first.

I probably did this initial implementation and since I was on macOS, I used the macOS definitions. From `/usr/include/sys/termios.h` Note: that `termios.h` points to this file ``` typedef unsigned long...

@noelwelsh Can you provide a small reproduction I can use? I have a couple of ideas.