You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not really an issue but has anyone had success compiling for MIPS. I took the source code and did the following:
export GOARCH=mips
export GOMIPS=softfloat
export GOOS=linux
export CC=/compile/mips-gcc472-glibc216-32bit-r2.3.3/bin/mips-linux-gnu-gcc
## (Also tried with mips-linux-uclibc-gnu-gcc since the device has uclibc)
make clean
make
It creates a websocketd binary but when I run it on the device I get:
./websocketd: line 1: syntax error: unexpected "("
This is not really an issue but has anyone had success compiling for MIPS. I took the source code and did the following:
It creates a websocketd binary but when I run it on the device I get:
./websocketd: line 1: syntax error: unexpected "("
When I run the 'file' command on it, I get:
websocketd: ELF 32-bit MSB executable, MIPS, MIPS32 version 1 (SYSV), statically linked, stripped
When I run the 'file' command on another working binary file on the system, I get:
hl_client: ELF 32-bit LSB executable, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked, interpreter /lib/ld-uClibc.so.0, stripped
Thanks for any help...
The text was updated successfully, but these errors were encountered: