Dear Masahiro,
In message <20140516160556.e1a8.aa925...@jp.panasonic.com> you wrote:
>
> > +# Add GCC lib
> > +ifdef CONFIG_USE_PRIVATE_LIBGCC
> > +ifeq ($(CONFIG_USE_PRIVATE_LIBGCC),y)
> > +PLATFORM_LIBGCC = arch/$(ARCH)/lib/lib.a
> > +else
> > +PLATFORM_LIBGCC = -L $(CONFIG_USE_PRIVATE_LIBGCC)
Hi Alexey, Wolfgang,
> --- a/examples/standalone/Makefile
> +++ b/examples/standalone/Makefile
> @@ -38,7 +38,17 @@ targets += $(patsubst $(obj)/%,%,$(LIB)) $(COBJS)
> $(LIBOBJS-y)
> LIBOBJS := $(addprefix $(obj)/,$(LIBOBJS-y))
> ELF := $(addprefix $(obj)/,$(ELF))
>
> -gcclibdir := $(s
In case of multilib-enabled toolchains if default architecture differ from
the one examples are being built for linker will fail to link example object
files with libgcc of another (non-compatible) architecture.
Interesting enough for years in main Makefile we used CFLAGS/c_flags for this
but not
3 matches
Mail list logo