Hi,
If I configure llvm-gcc 2.6 with --target=mips or --target=mips-elf, I get:
c++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall
-Wwrite-strings -pedantic -Wno-long-long -Wno-variadic-macros
-Wmissing-format-attribute -fno-common -DHAVE_CONFIG_H -Wno-unused
-DTARGET_NAME=\"mips-elf\" -frandom-seed=0 -I. -I.
-I/home/foad/toolchain/llvm/llvm-gcc/gcc
-I/home/foad/toolchain/llvm/llvm-gcc/gcc/.
-I/home/foad/toolchain/llvm/llvm-gcc/gcc/../include
-I/home/foad/toolchain/llvm/llvm-gcc/gcc/../libcpp/include
-I/home/foad/toolchain/llvm/llvm-gcc/gcc/../libdecnumber
-I../libdecnumber -I/home/foad/toolchain/obj/llvm-obj/include
-I/home/foad/toolchain/llvm/llvm/include -DENABLE_LLVM
-I/home/foad/toolchain/llvm/llvm/include
-I/home/foad/toolchain/obj/llvm-obj/include -D_DEBUG -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -I. -I.
-I/home/foad/toolchain/llvm/llvm-gcc/gcc
-I/home/foad/toolchain/llvm/llvm-gcc/gcc/.
-I/home/foad/toolchain/llvm/llvm-gcc/gcc/../include
-I/home/foad/toolchain/llvm/llvm-gcc/gcc/../libcpp/include
-I/home/foad/toolchain/llvm/llvm-gcc/gcc/../libdecnumber
-I../libdecnumber -I/home/foad/toolchain/obj/llvm-obj/include
-I/home/foad/toolchain/llvm/llvm/include
/home/foad/toolchain/llvm/llvm-gcc/gcc/llvm-backend.cpp -o
llvm-backend.o
/home/foad/toolchain/llvm/llvm-gcc/gcc/llvm-backend.cpp:341:2: error:
#error LLVM_TARGET_NAME macro not specified by GCC backend
make[2]: *** [llvm-backend.o] Error 1
make[2]: Leaving directory `/home/foad/toolchain/obj/gcc-mips-obj/gcc'
Am I doing something wrong?
Thanks,
Jay.