A question about assembler

Niu, Bao Qiang (Henry) niu@lucent.com
Thu Aug 3 09:27:00 GMT 2006


Andrew,

Thanks you for your quick response.

I give no argument to 'as', the 'as' is called be 'ccppc' automatically.

Below, I give the ccppc argument and error message output during the
operation.

Thanks.



ccppc -mcpu=604 -mstrict-align -mno-implicit-fp -ansi  -O2 -fvolatile
-fno-builtin  -I. -I/bld/niu/vxWorks6.2/vxworks-6.2/header
-I/bld/niu/vxWorks6.2/vxworks-6.2/target/config
-I/bld/niu/vxWorks6.2/vxworks-6.2/target/config/UTP
-I/bld/niu/vxWorks6.2/vxworks-6.2/../gnu/3.3.2-vxworks-6.2/sun4-solaris2/lib
/gcc-lib/powerpc-wrs-vxworks/3.3.2/include
-I/bld/niu/vxWorks6.2/vxworks-6.2/target/config/UTP
-I/bld/niu/vxWorks6.2/vxworks-6.2/target/h/arch/ppc
-I/bld/niu/vxWorks6.2/vxworks-6.2/target/h/types
-I/bld/niu/vxWorks6.2/vxworks-6.2/target/h/arch/arm
-I/bld/niu/vxWorks6.2/vxworks-6.2/target/h/arch/sh   -I.
-I/bld/niu/vxWorks6.2/vxworks-6.2/target/config/all
-I/bld/niu/vxWorks6.2/vxworks-6.2/target/h
-I/bld/niu/vxWorks6.2/vxworks-6.2/target/h/wrn/coreip
-I/bld/niu/vxWorks6.2/vxworks-6.2/target/src/config
-I/bld/niu/vxWorks6.2/vxworks-6.2/target/config/comps/src
-I/bld/niu/vxWorks6.2/vxworks-6.2/target/config/comps/src/dosfs2
-I/bld/niu/vxWorks6.2/vxworks-6.2/target/src/drv -DCPU=PPC604
-DTOOL_FAMILY=gnu -DTOOL=gnu -D_WRS_KERNEL -DCPU_VARIANT=_745x -DBOOTROM
-g -dA -dr  -xassembler-with-cpp -c -o romInit.o romInit.s 
as: error: unknown option '-'
as: error: unknown option 'g'
as: error: unknown option 'd'
as: error: unknown option 'arf2'
as: error: unknown option 'p'
as: error: unknown option 'p'
M4 does not have browser support, disabling browser (-b) option
as: error: unknown option 'g'
usage: as [-V] [-Q{y,n}] [-f[O][if]#] [-q] [-s]
          [-S] [-K {pic,PIC}] [-o objfile] [-L] [-T]
          [-P [[-Ipath] [-Dname] [-Dname=def] [-Uname]]...]
          [-m [-Ym,path]] [-n] [-ul] [-xF] [-xarch=v7] [-xarch=v8]
[-xarch=v8a] [-xarch=v8plus] [-xarch=v8plusa] [-xarch=v8plusb]  [-xarch=v9]
[-xarch=v9a] [-xarch=v9b]  [-xcode={pic13,pic32}] file.s...
make: *** [romInit.o] Error 1

Niu Baoqiang(Henry)

Tel :86-10-58606270
e-mail: niu@lucent.com
         


-----Original Message-----
From: Andrew Haley [mailto:aph@redhat.com]
Sent: Thursday, August 03, 2006 5:09 PM
To: Niu, Bao Qiang (Henry)
Cc: gcc-help@gcc.gnu.org
Subject: Re: A question about assembler


Do not cross post to gcc and gcc-help.  This is highly abusive behaviour.

What argument did you pass to -with-as= when you ran configure?

Andrew.



More information about the Gcc-help mailing list