From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27694 invoked by alias); 7 Nov 2003 21:33:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 27684 invoked by alias); 7 Nov 2003 21:33:40 -0000 Date: Fri, 07 Nov 2003 21:33:00 -0000 From: "gcc-bugzilla at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20031107213332.12949.ro@techfak.uni-bielefeld.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug driver/12949] New: gcc --target-help tries to assemble and link X-Bugzilla-Reason: CC X-SW-Source: 2003-11/txt/msg00550.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12949 Summary: gcc --target-help tries to assemble and link Product: gcc Version: 3.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ro at techfak dot uni-bielefeld dot de CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: sparc-sun-solaris2.8 GCC host triplet: sparc-sun-solaris2.8 GCC target triplet: sparc-sun-solaris2.8 Running gcc --target-help, the driver tries to assemble and link, which obviously fails and gives confusing errors: Environment: System: SunOS xayide 5.10 s10_42 sun4u sparc SUNW,Ultra-1 Architecture: sun4 host: sparc-sun-solaris2.8 build: sparc-sun-solaris2.8 target: sparc-sun-solaris2.8 configured with: /vol/gnu/src/gcc/gcc/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls How-To-Repeat: $ ./xgcc -B./ -v --target-help Reading specs from ./specs Configured with: /vol/gnu/src/gcc/gcc/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls Thread model: posix gcc version 3.4 20031106 (experimental) ./cc1 -quiet -v -iprefix /amnt/figaro/volumes/obj-gcc/gcc/obj.sol2/gcc-3.4-20031106/8-gcc/gcc/../lib/gcc/sparc-sun-solaris2.8/3.4/ -isystem ./include help-dummy -quiet -dumpbase help-dummy -mcpu=v7 -auxbase help-dummy -version --target-help -o /var/tmp//ccOectLx.s Target specific options: -mno-relax Do not optimize tail call instructions in assembler or linker -mrelax Optimize tail call instructions in assembler and linker -mno-faster-structs Do not use structs on stronger alignment for double-word copies -mfaster-structs Use structs on stronger alignment for double-word copies -mno-stack-bias Do not use stack bias -mstack-bias Use stack bias -m64 Use 64-bit ABI -m32 Use 32-bit ABI -mptr32 Pointers are 32-bit -mptr64 Pointers are 64-bit -msupersparc Optimize for SuperSPARC processors -mv8 Use V8 SPARC ISA -mf934 Optimize for F934 processors -mf930 Optimize for F930 processors -msparclite Optimize for SPARCLite processors -mcypress Optimize for Cypress processors -mno-vis Do not utilize Visual Instruction Set -mvis Utilize Visual Instruction Set -mno-v8plus Do not compile for v8plus ABI -mv8plus Compile for v8plus ABI -msoft-quad-float Do not use hardware quad fp instructions -mhard-quad-float Use hardware quad fp instructions -mno-app-regs Do not use ABI reserved registers -mapp-regs Use ABI reserved registers -mno-flat Do not use flat register window model -mflat Use flat register window model -mno-impure-text Do not pass -assert pure-text to linker -mimpure-text Pass -assert pure-text to linker -mno-unaligned-doubles Assume all doubles are aligned -munaligned-doubles Assume possible double misalignment -msoft-float Do not use hardware fp -mhard-float Use hardware fp -mno-fpu Do not use hardware fp -mfpu Use hardware fp -mcmodel= Use given SPARC code model -mtune= Schedule code for given CPU -mcpu= Use features of and schedule code for given CPU There are undocumented target specific options as well. /usr/ccs/bin/as -V -Qy -s -xarch=v8 --target-help -o /var/tmp//ccNFwIxZ.o /var/tmp//ccOectLx.s /usr/ccs/bin/as: Sun Compiler Common 7.1 SunOS_10 2003/05/09 /usr/ccs/bin/as: error: unknown option '-' /usr/ccs/bin/as: error: unknown option 't' /usr/ccs/bin/as: error: unknown option 'arget-help' usage: /usr/ccs/bin/as [-V] [-Q{y,n}] [-f[O][if]#] [-q] [-s] [-S] [-K {pic,PIC}] [-o objfile] [-L] [-T] [-P [[-Yc,path] [-Ipath] [-Dname] [-Dname=def] [-Uname]]...] [-m [-Ym,path]] [-n] [-ul] [-xF] [-xarch={v7,v8,v8a,v8plus,v8plusa,v8plusb,v9,v9a,v9b}] [-xcode={pic13,pic32}] [-g] file.s...