pfalcon / axtls Goto Github PK
View Code? Open in Web Editor NEWPycopy fork of axTLS
Home Page: https://github.com/pfalcon/pycopy
Pycopy fork of axTLS
Home Page: https://github.com/pfalcon/pycopy
See micropython/micropython#2143.
(Also reported upstream to Cameron Rich via email: http://axtls.sourceforge.net/contact.htm)
The build of axTLS fails on macOS because endian.h is in the "machine" subdirectory. But it's actually not even necessary to explicitly #include <machine/endian.h> because it's already included from <sys/types.h>.
The problematic include is in the file is crypto/os_int.h
This is causing the build of micropython to fail since it depends on axTLS (via a submodule pointing to the fork at https://github.com/pfalcon/axtls). The micropython issue concerning the endian.h bug is here: micropython/micropython#2143
I'm patching axTLS as part of the micropython "formula" on Homebrew, but it would be great if this could be fixed upstream in svn://svn.code.sf.net/p/axtls and then get picked up by the pfalcon fork, so that the patching is no longer necessary.
I try to build axtls on Windows 10 using MSYS2.
In the file os_port.h I find the statement:
os_port_micropython.h
When I changed it to
#include <os_port_micropython.h>
I can build axtls.
I have no experience in C, so I don't know wether the intended behaviour can be created by any compiler or linker option.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.