Statically compiling for armv7l
Junk <[email protected]> Wed, 7 Jun 2023 23:27:15 -0400
| Newsgroups | gmane.editors.nano.general |
|---|---|
| Message-ID | <CALyizhKcU+EdzRf51N9Yd8KrSo+Bmj11=8hPG7wNLHL9hmFtdw@mail.gmail.com> |
Hello, I am trying to statically compile nano with all included libraries for armv7l, to be used on kernel 4.14.117. I am trying to set the compiler options and settings to configure, but I am not arriving with a binary that will run on the intended target system. export CC=arm-linux-gnueabihf-gcc export CFLAGS=-O2 -Wall -static ./configure --host=arm-linux-gnueabhf Is there anything else that would be needed? This is my first time statically compiling -- please be gentle with me. Thanks, TJ