Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the support for Windows #10

Open
arttet opened this issue Nov 18, 2019 · 4 comments
Open

Add the support for Windows #10

arttet opened this issue Nov 18, 2019 · 4 comments

Comments

@arttet
Copy link

arttet commented Nov 18, 2019

Failed to build on Windows using MinGW.

For example,

  • '_SC_PAGESIZE' undeclared in fy-emit.c:1946:22
  • There's no alloca.h in Windows
@pantoniou
Copy link
Owner

Will be addressed by using an additiional meson build system. Getting automake to work on windows is not going to work.

@mseelye
Copy link

mseelye commented Jul 4, 2020

I was able to build this, and build and run the examples on Windows in an MSys2/Mingw64 environment.

@arttet arttet changed the title Add support for Windows Add the support for Windows Jul 5, 2020
@hapejot
Copy link

hapejot commented Aug 21, 2022

I would like to see the library to be native compilable under Microsoft C, so there are no dependencies on MSys2 and Mingw64 libraries. But in order to compile this under MS C a huge amount of GNU dependencies need to be changed. And I am not sure if this is an easy task. Since most of the macros use GNU compiler specialies. The build system is not a big deal in my opinion.

Am I the only one interested in a plain windows dll without further dependencies?

@Enjection
Copy link

Enjection commented Jan 26, 2023

Just built and run some examples under windows with reduced perf and functionality:

  • disabled fy-tool
  • commented mmap-related functionality
  • commented termios related things (probably slightly affects output in diag)
  • some calls to alloca replace with malloc
  • others with _alloca

Not sure will I contribute it or not soon, because I still need to run tests properly and make my changes readable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants