Can't compile http-server with mingw64 for the armv3l #2751
-
Compile successfully:
And then got errors while trying to call:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There are tons of examples for arm with gcc. You are missing basic stdlib functions, you are not providing a proper standard library like newlib or equivalent to the linker, something the likes of That example (all of them, btw) has a Makefile for a reason. Once you solve your current problem, you'll be missing Windows networking functions You'll quite likely need to indicate the cpu, like Lines 137 to 139 in 3ae1a0f |
Beta Was this translation helpful? Give feedback.
There are tons of examples for arm with gcc. You are missing basic stdlib functions, you are not providing a proper standard library like newlib or equivalent to the linker, something the likes of
--specs
. Please learn your tools, know your system, learn how to build code for your system. We are not currently building for that architecture and compiler and Windows.That example (all of them, btw) has a Makefile for a reason. Once you solve your current problem, you'll be missing Windows networking functions
mongoose/tutorials/http/http-server/Makefile
Line 14 in 3ae1a0f
You'll quite likely need to indicate the cpu, like