Gcc Error Unrecognized Option G
Contents |
Cross compiling gcc for mipsel error [as: unrecognized option `-G'] From: Francois DERMU
Gcc Unrecognized Command Line Option
Fri, 03 Nov 2006 12:07:26 -0800 Subject: Cross compiling gcc for mipsel error [as: unrecognized command line option fstack protector strong unrecognized option `-G'] I've compiled and installed the binutils to my /usr/local/ directory and copied the uClibc and linux headers in there too. cc1plus error unrecognized command line option Then I configured my gcc ../gcc-3.4.4/configure --enable-languages="c,c++,java" --prefix=/usr/local/majax --target=mipsel i486-linux-gnu creating cache ./config.cache checking host system type... i486-pc-linux-gnu checking target system type... mipsel-unknown-elf checking build system type... i486-pc-linux-gnu checking for a BSD compatible install... /usr/bin/install -c *** This configuration is not supported in the following subdirectories: target-libffi
Cc1 Error Unrecognized Command Line Option
target-boehm-gc target-zlib target-libjava target-libf2c target-libobjc (Any other directories should still work fine.) checking for i486-linux-gnu-ar... no checking for ar... ar checking for i486-linux-gnu-as... no checking for as... as checking for i486-linux-gnu-dlltool... no checking for dlltool... dlltool checking for i486-linux-gnu-ld... no checking for ld... ld checking for i486-linux-gnu-nm... no checking for nm... nm checking for i486-linux-gnu-ranlib... no checking for ranlib... ranlib checking for i486-linux-gnu-windres... no checking for windres... windres checking for i486-linux-gnu-objcopy... no checking for objcopy... objcopy checking for i486-linux-gnu-objdump... no checking for objdump... objdump checking for mipsel-ar... mipsel-ar checking for mipsel-as... mipsel-as checking for mipsel-dlltool... no checking for mipsel-ld... mipsel-ld checking for mipsel-nm... mipsel-nm checking for mipsel-ranlib... mipsel-ranlib checking for mipsel-windres... no checking whether to enable maintainer-specific portions of Makefiles... no updating cache ./config.cache creating ./config.status creating Makefile and Make: echo '#endif' >> fp-bit.c echo '#define QUIET_NAN_NEGATED' >> fp-bit.
liberato83 Member Registered: 2013-05-24 Posts: 5 [SOLVED] gcc: error: unrecognized command line option '-V' Hi.. this g++ error is my first post but I always read the gcc command line option forum to solve my problem! ;) thank you to all!!!! sorry for my bad english
Wshorten-64-to-32
in advanced...This is my problem:I have Archlinux x86_64 with Gnome (last version).I try to install the driver for my printer epson sx218 but when https://gcc.gnu.org/ml/gcc-help/2006-11/msg00042.html I compile the bash show:.... checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. ....now, I see the config.log file and I see the line:gcc: error: unrecognized command line option '-V'my makepkg.conf:# # https://bbs.archlinux.org/viewtopic.php?id=163913 /etc/makepkg.conf # ######################################################################### # SOURCE ACQUISITION ######################################################################### # #-- The download utilities that makepkg should use to acquire sources # Format: 'protocol::agent' DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' 'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u' 'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u' 'rsync::/usr/bin/rsync --no-motd -z %u %o' 'scp::/usr/bin/scp -C %u %o') # Other common tools: # /usr/bin/snarf # /usr/bin/lftpget -c # /usr/bin/wget ######################################################################### # ARCHITECTURE, COMPILE FLAGS ######################################################################### # CARCH="x86_64" CHOST="x86_64-unknown-linux-gnu" #-- Compiler and Linker Flags # -march (or -mcpu) builds exclusively for an architecture # -mtune optimizes for an architecture, but builds for whole processor family CPPFLAGS="-D_FORTIFY_SOURCE=2" CFLAGS="-march=native -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4" CXXFLAGS="${CFLAGS}" LDFLAGS="-Wl, -O1,--sort-common,--as-needed,-z,relro" #-- Make Flags: change this for DistCC/SMP systems MAKEFLAGS="-j2" #-- Debugging flags DEBUG_CFLAGS="-g -fvar-tracking-assignments" DEBUG_CXXFLAGS="-g -fvar-tracking-assignments" ######################################################################### # BUILD ENVIRONMENT ######################################################################### # # Default
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and http://stackoverflow.com/questions/14674597/cc1plus-error-unrecognized-command-line-option-std-c11-with-g policies of this site About Us Learn more about Stack Overflow the https://groups.google.com/d/topic/comedi_list/mrHWCIueFLs company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes command line a minute: Sign up cc1plus: error: unrecognized command line option “-std=c++11” with g++ up vote 39 down vote favorite 7 I'm trying to compile using g++ and either the -std=c++11 or c++0x flags. However, I get this error cc1plus: error: unrecognized command line option "-std=c++11" g++ --version g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54) Copyright (C) 2006 Free Software Foundation, Inc. command line option This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. c++ c++11 compiler-errors g++ std share|improve this question edited Jun 4 '14 at 18:20 asked Feb 3 '13 at 16:25 user1382306 3 it's -std=c++0x with g++ –stefan Feb 3 '13 at 16:27 2 @stefan Incorrect, both are possible. Which gnu version are you using? C++11 is only supported in >= 4.3. –antonijn Feb 3 '13 at 16:27 2 Run g++ --version . Then post the version number here. –Konfle Dolex Feb 3 '13 at 16:29 3 That's horribly old. That version does not support C++11. Install a later version like 4.7 for C++11 support. –Konfle Dolex Feb 3 '13 at 16:33 3 It is possible the sysadmins did install a C++11 capable compiler, but did not make it the default one. You can check which specific versions of GCC are installed by trying to auto-complete the command g++- in you console window. –Bart van Ingen Schenau Feb 3 '13 at 16:42 | show
från GoogleLogga inDolda fältSök efter grupper eller meddelanden