I tried cross compiling as below:

./configure --disable-shared CC=m68k-linux-gnu-gcc CXX=m68k-linux-gnu-g++ 
CFLAGS="-march=isac -mcpu=54455 -msoft-float" CXXFLAGS="-march=isac 
-mcpu=54455 -msoft-float" --host=x86_64 --with-protoc=/bin/protoc (already 
generated for x86) --prefix=XXX 

and the error is as follows:

In file included from ./google/protobuf/stubs/atomicops.h:59,
                 from 
google/protobuf/stubs/atomicops_internals_x86_gcc.cc:36:
./google/protobuf/stubs/platform_macros.h:61:2: error: #error Host 
architecture was not detected as supported by protobuf
In file included from 
google/protobuf/stubs/atomicops_internals_x86_gcc.cc:36:
./google/protobuf/stubs/atomicops.h:188: error: stray '#' in program
./google/protobuf/stubs/atomicops.h:188: error: expected constructor, 
destructor, or type conversion before string constant
make[3]: *** [atomicops_internals_x86_gcc.lo] Error 1




On Thursday, 17 July 2014 08:46:42 UTC+5:30, Giri Guntipalli wrote:
>
> you are unable to build protobuff library? or compile generated source 
> from proto files? 
>
> send steps you followed and error that you are getting.
>
> Giri.
>
> On Monday, 14 July 2014 10:42:28 UTC+5:30, pradeep moka wrote:
>>
>>
>>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to