No, this is correct for building a shared library under Linux.
Do you really want to build shared libraries? What exactly is the goal of your cross compilation?
Most likely, especially if your linker doesn't know about the soname option, you only need static libraries, so make static should be enough for you.
--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/87shte8pkv.fsf%40posteo.net.
For more options, visit https://groups.google.com/d/optout.
Hi,
I am working with an embedded device whose build system is Yocto and my
long term goal is to use the gRPC for an small piece of software that
will run on the device.
It might be the compiler used by Yocto isn't right for gRPC :
Looking at the Makefile I can see load of lines using the
$(Q) (quiet ?)
$(E) (echo ?)
Which I have never seen, are they built-in make functions ?
Is there a way to tell make to show me the full compiler's output ?
> send an email to grpc-io+unsubscribe@googlegroups.com.
> To post to this group, send email to grp...@googlegroups.com.
> Visit this group at https://groups.google.com/group/grpc-io.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/87shte8pkv.fsf%40posteo.net
> .
> For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscribe@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/87eg4x8gxc.fsf%40posteo.net.
--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscribe@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/20160907192836.GA1331%40propane.slrz.net.
D'oh, thank you, I didn't spot that he was directly using ld instead of gcc.
On Wed, Sep 7, 2016 at 12:28 PM, Lars Seipel <lars....@gmail.com> wrote:
On Mon, Sep 05, 2016 at 01:05:04PM +0000, Pietro wrote:
> arm-phytec-linux-gnueabi-ld
> : unrecognized option '
> -Wl,-soname,libgpr.so.1
That specific error is likely avoided by using the gcc or g++ compiler
drivers (as appropriate) instead of plain ld.
> Shouldn't that line be -soname=libgrp.so ?
The -Wl flag instructs the driver program to pass through the arguments
(-soname and libgpr.so.1) to ld, so the resulting ld command line will
contain "-soname libgpr.so.1".
--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.