This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [HELP] GCC 4.1 branch Ada status on powerpc-darwin?


Arnaud Charlet wrote:
LIBGNAT=../rts/libgnat.a GCC_LINK="$(CC) -static-libgcc $(ADA_INCLUDES)"
+TOOL_CC=$(CC) -static-libgcc


I'd rather avoid code duplication and reuse GCC_LINK if possible, or
split GCC_LINK in two if needed.

I thought so too, and indeed tried it this way at first, but got:
"../../xgcc -B../../ -static-libgcc -I- -I../rts -I. -I/Users/peter/cvsco.build/gcc-4.1/gcc-4_1-branch/gcc/ada" -DIN_GCC....
....
/bin/sh: line 1: ../../xgcc -B../../ -static-libgcc -I- -I../rts -I. -I/Users/peter/cvsco.build/gcc-4.1/gcc-4_1-branch/gcc/ada: No such file or directory


The quotes around GCC_LINK could be removed here and instead put in the the -GCC=$(GCC_LINK) bits, but it seemed easier to have a new var.

Peter


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]