try this  --target=aarch64-linux-gnu

-Tom

On Friday, October 19, 2018 at 1:45:00 PM UTC-7, Joe Mulligan wrote:
>
> Hello, 
> This may not be a protobuf issue per se, but I'm hoping someone else knows 
> how to solve this problem.
> It's cost me over a day now.
>
> The situation is that I am trying to cross-compiler protobuf 3 for an ARM 
> target.
> The host system is Windows, but I am running in a CYGWIN environment, 
> using the Linaro arm cross tools.
> My configure command is:
> ./configure --build=i686-pc-cygwin --host=arm-linux-gnueabihf 
> --target=arm-linux-gnueabihf CXXFLAGS=-std=gnu++11 
> CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++ 
> --with-protoc=/usr/bin/protoc --prefix=/home/Admin/protobuf_build
>
> The failure is that at some point int the build process,  (for 
> libprotoc.la), arm-linux-gnueabihf-g++ is going to try to pull in 
> src/.libs/libprotobuf.so, which is a link to libprotobuf.so.17.0.0.
> If, under Cygwin, I specify native links, then the error is:
>     /.libs/libprotobuf.so: file format not recognized; treating as linker 
> script
>
> If I use Cygwin=winlinks ( so the link is a shortcut ), then the file is 
> not found.
>
> Playing with the command line, it looks like the Linaro compiler cant deal 
> with symbolic links of any kind under Cygwin, unless it is process through 
> the cygpath command.
> Is there any way this can be configured ? or is there another known 
> solution to this ?  I've tried to contact Linaro, but there hasn't been a 
> response.
>
> Thanks, 
> Joe
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/11a9268f-7937-4c3c-af89-31d36ef9b047%40googlegroups.com.

Reply via email to