tradcpp0: Output filename specified twice

martinj@zebra.net martinj@zebra.net
Thu Oct 4 09:26:00 GMT 2001


> On Oct  2, 2001, martinj@zebra.net wrote:
> 
> > tradcpp0: Output filename specified twice
> 
> > I have experimented with the order of parameters when invoking gcc for these
> > assembler files, even with not specifying an output filename at all
> 
> Please describe how you've configured GCC, which version of GCC you've
> built, the command line you use to run GCC and the arguments gcc
> passed to tradcpp0 (add `-v' to the command line to have them
> printed).
>

The results of adding the -v option are below, following the contents of a 
script which isolates the command to assemble one source file.  The results 
shown are from running that script alone.  I hope they answer your questions.  

I have since determined that the "-imacros " option is what makes the 
difference.  If I skip that one, the files will build.  If I use it, I get the 
error.

Thanks for looking at my problem.

<command >
/home/gcc301/mips-ecoff-301/bin/mips-ecoff-gcc -v \
-imacros /es_vob/specific/include/oem_cfg.h \
-pipe -G 0 -c -x assembler-with-cpp -traditional -g0 -O2 -mips1 -mcpu=r4000 \
-DLANGUAGE_ASSEMBLY -o tmp/CEXECRRLMPA/asmr3k.o /es_vob/os/cexec/asmr3k.s


<results>
Reading specs from /home/gcc301/mips-ecoff-301/lib/gcc-lib/mips-
ecoff/3.0.1/specs
Configured with: ../gcc-3.0.1/configure --target=mips-ecoff --with-cpu=5000 --
prefix=/home/gcc301/mips-ecoff-301 -v --with-headers=/home/gcc301/build-
gcc/Include --with-libs=/home/gcc301/build-gcc/Lib --with-gnu-as --with-gnu-ld -
-with-newlib
Thread model: single
gcc version 3.0.1
 /home/gcc301/mips-ecoff-301/lib/gcc-lib/mips-ecoff/3.0.1/tradcpp0 -lang-asm -
v -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=1 -Dmips -DMIPSEB -
DR3000 -D_mips -D_MIPSEB -D_R3000 -D__mips__ -D__MIPSEB__ -D__R3000__ -
D__mips__ -D_MIPSEB -D_R3000 -D__mips -D__MIPSEB -D__R3000 -D__mips -
D__OPTIMIZE__ -D__STDC_HOSTED__=1 -D__LANGUAGE_ASSEMBLY -D_LANGUAGE_ASSEMBLY -
DLANGUAGE_ASSEMBLY -D__SIZE_TYPE__=unsigned int -D__PTRDIFF_TYPE__=int -
DLANGUAGE_ASSEMBLY -
imacros /es_vob/specific/include/oem_cfg.h /es_vob/os/cexec/asmr3k.s -o - |
 /home/gcc301/mips-ecoff-301/lib/gcc-lib/mips-ecoff/3.0.1/../../../../mips-
ecoff/bin/as -G 0 -EB -mips1 -O2 -g0 -mcpu=r4000 -v -o tmp/CEXECRRLMPA/asmr3k.o
GNU traditional CPP version 3.0.1
/home/gcc301/mips-ecoff-301/lib/gcc-lib/mips-ecoff/3.0.1/tradcpp0: Output 
filename specified twice
GNU assembler version 2.11.2 (mips-ecoff) using BFD version 2.11.2

 
> -- 
> Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist    *Please* write to mailing lists, not to me
> 
> 


---------------------------------------------
This message was sent using Inter.net Webmail.
http://www.us.inter.net/




More information about the Gcc-help mailing list