Comments (3)
Hi,
I don't know actually, since I've never done cross-compilation with mingw.
you can try with cmake:
# You must be in the project root
cmake .. -G "MinGW Makefiles" -DTERMIWIN_DONOTREDEFINE=yes -DCMAKE_SH="CMAKE_SH-NOTFOUND"
mingw64-make
If it doesn't work I don't know how to help you.
from termiwin.
In fact, the cause of the matter is like this.
I am adapting some software projects to the Windows platform, but found some problems during the cross-compilation process. Some source files include termios.h header file, but mingw-w64 does not have this file, so I analyze the problem from another perspective , I found that the serial-related function code of the flashrom software project may help me solve the adaptation problem, but I still havenโt fully understood the related functional logic of flashrom.
I am not going to use termiwin to solve the problem of missing header files, but I am very grateful for your reply, thank you!
If you are interested in my adaptation work, here is the URL of the related project.
from termiwin.
from termiwin.
Related Issues (10)
- hard defines for read/write/select/open/close also affects other files HOT 4
- Missing defines CREAD, CLOCAL and B600 HOT 4
- Returned handle cannot be used with "isatty" HOT 6
- Control/Charset option handling is not working HOT 3
- tcdrain is always blocking ... HOT 12
- Serial port name init seems wrong/strange HOT 1
- Any way to use with a Python packages?
- Function openSerial() changes the portname parameter
- Tons of Errors HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from termiwin.