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

cannot find crt1.o #4

Open
wumao opened this issue Mar 4, 2016 · 0 comments
Open

cannot find crt1.o #4

wumao opened this issue Mar 4, 2016 · 0 comments

Comments

@wumao
Copy link

wumao commented Mar 4, 2016

lumi@ubuntu:/root/test$ mipsel-linux-gccgo test.go -static -o test
/root/mipsel-linux-gcc-5.3.0/bin/../lib/gcc/mipsel-linux/5.3.0/../../../../mipsel-linux/bin/ld: cannot find crt1.o: No such file or directory
/root/mipsel-linux-gcc-5.3.0/bin/../lib/gcc/mipsel-linux/5.3.0/../../../../mipsel-linux/bin/ld: cannot find crti.o: No such file or directory
/root/mipsel-linux-gcc-5.3.0/bin/../lib/gcc/mipsel-linux/5.3.0/../../../../mipsel-linux/lib/libgobegin.a: error adding symbols: Archive has no index; run ranlib to add one
collect2: error: ld returned 1 exit status

lumi@ubuntu:/root/test$ mipsel-linux-
mipsel-linux-addr2line mipsel-linux-gcc-5.3.0 mipsel-linux-ld
mipsel-linux-ar mipsel-linux-gcc-ar mipsel-linux-ld.bfd
mipsel-linux-as mipsel-linux-gccgo mipsel-linux-nm
mipsel-linux-c++ mipsel-linux-gcc-nm mipsel-linux-objcopy
mipsel-linux-c++filt mipsel-linux-gcc-ranlib mipsel-linux-objdump
mipsel-linux-cgo mipsel-linux-gcov mipsel-linux-ranlib
mipsel-linux-cpp mipsel-linux-gcov-tool mipsel-linux-readelf
mipsel-linux-elfedit mipsel-linux-go mipsel-linux-size
mipsel-linux-g++ mipsel-linux-gofmt mipsel-linux-strings
mipsel-linux-gcc mipsel-linux-gprof mipsel-linux-strip

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