This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3] dejagnu support for simple cross compilers
- To: Alexandre Oliva <aoliva at redhat dot com>
- Subject: Re: [v3] dejagnu support for simple cross compilers
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Tue, 10 Apr 2001 16:23:16 -0700 (PDT)
- cc: gcc-patches at gcc dot gnu dot org, geoffk at redhat dot com, rth at redhat dot com
> > ! LIBS="${LIBS} -B${CROSS_LIB_PATH}/"
>
> Please consider using $(FLAGS_FOR_TARGET) or some variant thereof. It
> will help finding crt0.o when it's built in libgloss, for example.
Hmm. I can't seem to get
FLAGS_FOR_TARGET
CFLAGS_FOR_TARGET
LIBCFLAGS_FOR_TARGET
to work. Any of them.
FLAGS_FOR_TARGET is defined in the top-level Makefile of my x86-linux -x-
powerpc-eabism build directory as follows:
FLAGS_FOR_TARGET = -nostdinc -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem
$$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include
-B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem
$(build_tooldir)/include -L$$r/ld
Looks encouraging, but it isn't passed down to target libs. Even if I add
it to BASE_FLAGS_TO_PASS in the toplevel Makefile, and AM_MAKEFLAGS in
libstdc++v3/Makefile.am.
No luck.
-benjamin