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

Compile Different ARCH not work (armhf) #131

Open
gianfelicevincenzo opened this issue Apr 13, 2021 · 0 comments
Open

Compile Different ARCH not work (armhf) #131

gianfelicevincenzo opened this issue Apr 13, 2021 · 0 comments

Comments

@gianfelicevincenzo
Copy link

I tried to compile for a different architecture (in this case armhf) but it didn't work.
I've tried many ways, but nothing.

❯ ./configure CC=arm-linux-gnueabi-gcc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... arm-linux-gnueabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/opt/shc':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
❯ ./configure --host armhf
❯ ./configure --host arm
@gianfelicevincenzo gianfelicevincenzo changed the title Compiler Different ARCH not work (armhf) Compile Different ARCH not work (armhf) Apr 13, 2021
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

1 participant