Comment #8 on issue 670 by osu...@gmail.com: Not Able to compile protobuf for mips platform
https://code.google.com/p/protobuf/issues/detail?id=670

After more digging it appears to build to MIPS32 (2.4.1, 2.5.0, 2.6.1):

./configure -host=mips32 CXX=mips-linux-gnu-g++ CXXFLAGS="-D__MIPSEL__ -march=mips32" --disable-shared

After make:

file src/protoc
src/protoc: ELF 32-bit MSB executable, MIPS, MIPS32 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, BuildID[sha1]=0x25cf7add05893f48e8c5bd2b256bd784d81045e4, with unknown capability 0x41000000 = 0xf676e75, with unknown capability 0x10000 = 0x70401, not stripped


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to