Error Unrecognized Command Line Option
Contents |
here for a quick overview of the site Help Center error unrecognized command line option -std=c++0x Detailed answers to any questions you might have Meta Discuss
Error Unrecognized Command Line Option -std=c++11
the workings and policies of this site About Us Learn more about Stack Overflow the cc1 error unrecognized command line option m64 company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss
Android Unrecognized Command Line Option
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 a minute: Sign up Unrecognized Command Line Option '-stdlib=libc++' with MacPorts gcc48 up vote 8 down vote favorite Context I'm trying to compile gcc command line the package "root_numpy" which is a link between the scientific analysis software "root" and the python package "numpy". It's used as part of the root wrapper "rootpy". I get a g++ error when the following line is executed: g++ -bundle -undefined dynamic_lookup -g -arch x86_64 -headerpad_max_install_names -arch x86_64 build/temp.macosx-10.6-x86_64-2.7/root_numpy/src/_librootnumpy.o -o build/lib.macosx-10.6-x86_64-2.7/root_numpy/_librootnumpy.so -L/Users/bwells/bin/root/lib -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lpthread -Wl,-rpath,/Users/bwells/bin/root/lib -stdlib=libc++ -lm -ldl -lTreePlayer g++: error: unrecognized command line option '-stdlib=libc++' The same problem occurs when I compile a "hello world" program with the flag: dhcp-130-112:helloworld bwells$ g++ -stdlib=libc++ helloworld.cpp g++: error: unrecognized command line option '-stdlib=libc++' Without that flag, it compiles fine: dhcp-130-112:helloworld bwells$ g++ helloworld.cpp dhcp-130-112:helloworld bwells$ ls a.out helloworld.cpp My compiler version is: dhcp-130-112:helloworld bwells$ g++ --version g++ (MacPorts gcc48 4.8.2_2) 4.8.2 Copyright (C) 2013 Free Software Foundation, Inc. This is fre
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn
While Building Android Gingerbread Error
more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags
Gcc Error Unrecognized Command Line Option
Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, cc1plus error unrecognized command line option 11 helping each other. Join them; it only takes a minute: Sign up How to resolve error “unrecognized command line option '-std=c++1y'” when using mingw32-make.exe up vote 0 down vote favorite I've been trying to build a set of http://stackoverflow.com/questions/24419832/unrecognized-command-line-option-stdlib-libc-with-macports-gcc48 code given to me for a research project. I'm running windows 7 and the code I am working with is in c++. I'm using the CMake 3.5.2 GUI to configure and generate a makefile for the code. I've never used CMake before, so I could be wrong about how I'm operating it, but I built a Makefile first with the generator titled "MinGW Makefiles". This seems to have worked fine after choosing "None" for the "CMAKE_BUILD_TYPE" http://stackoverflow.com/questions/37555424/how-to-resolve-error-unrecognized-command-line-option-std-c1y-when-using parameter. Then, using command prompt I attempted to run mingw32-make while in the "build" directory, which is where the Makefile generated by CMake was stored. When I tried to do this, these errors were returned in command prompt: G__~1.EXE: error: unrecognized command line option '-std=c++1y' mingw32-make[2]: *** [CMakeFiles/finch-maze_gen.dir/src/maze_gen/maze_gen.cpp.obj] Error1 mingw32-make[1]: *** [CMakeFiles/finch-maze_gen.dir/all] Error 2 mingw32-make: *** [all] Error 2 The mingw32-make.exe file that I am using is in the Program Files for CodeBlocks. I'm pretty sure that when I downloaded CodeBlocks I downloaded the MinGW version. I tried using the generator titled "CodeBlocks - MinGW Makefiles" in CMake and then opening the CodeBlocks project created in the build folder, then building it with the "build" button in CodeBlocks. The error message in CodeBlocks was identical to the one given to me in command prompt. So far, I've found this resource explaining the meaning of '-std=c++1y'. Apparently it means that the language standard is being set to the 2014 version of c++. As far as I can tell, Error 1 has something to do with improper spacing, or a use of spacing when there should be tabs Does anyone know a good fix for any of the errors? Also, I am considering using make.exe instead of mingw32-make.exe. Does anyone have any suggestions on where to download this? Or will it even make any difference if I u
Sign in Pricing Blog Support Search GitHub This repository Watch 401 Star 3,961 Fork 1,056 JohnLangford/vowpal_wabbit Code Issues 35 Pull requests 4 Projects 0 https://github.com/JohnLangford/vowpal_wabbit/issues/965 Wiki Pulse Graphs New issue unrecognized command line option ‘-stdlib=libc++’ when making http://askubuntu.com/questions/834369/error-unrecognized-command-line-option-fstack-protector-strong with autogen on On Mac OS X 10.11.3 #965 Closed kamal94 opened this Issue Mar 19, 2016 · 2 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants kamal94 commented Mar 19, 2016 git clone https://github.com/JohnLangford/vowpal_wabbit cd command line vowpal_wabbit sh autogen.sh --enable-libc++ make OUTPUT: git clone https://github.com/JohnLangford/vowpal_wabbit Cloning into 'vowpal_wabbit'... remote: Counting objects: 38776, done. remote: Total 38776 (delta 0), reused 0 (delta 0), pack-reused 38776 Receiving objects: 100% (38776/38776), 97.58 MiB | 3.22 MiB/s, done. Resolving deltas: 100% (29241/29241), done. Checking connectivity... done. 18:36:23 ~/Repositories $ cd vowpal_wabbit 18:36:37 ~/Repositories/vowpal_wabbit master ✔ unrecognized command line $ sh autogen.sh --enable-libc++ glibtoolize: putting auxiliary files in '.'. glibtoolize: copying file './ltmain.sh' glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'acinclude.d'. glibtoolize: copying file 'acinclude.d/libtool.m4' glibtoolize: copying file 'acinclude.d/ltoptions.m4' glibtoolize: copying file 'acinclude.d/ltsugar.m4' glibtoolize: copying file 'acinclude.d/ltversion.m4' glibtoolize: copying file 'acinclude.d/lt~obsolete.m4' configure.ac:15: installing './compile' configure.ac:13: installing './config.guess' configure.ac:13: installing './config.sub' configure.ac:3: installing './install-sh' configure.ac:3: installing './missing' cluster/Makefile.am: installing './depcomp' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 c
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Android kernel 'fstack-protector-strong not supported` error up vote 0 down vote favorite I'm running Ubuntu 14.04. I have GCC 4.9 installed on my machine. I am trying to compile the Android kernel and I'm getting the below error, Makefile:660: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h make[1]: `include/generated/mach-types.h' is up to date. CC kernel/bounds.s arm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-fstack-protector-strong’ make[1]: *** [kernel/bounds.s] Error 1 make: *** [prepare0] Error 2 Any way that I could solve this? 14.04 command-line kernel compiling gcc share|improve this question edited Oct 7 at 21:53 Owen Hines 1,351222 asked Oct 7 at 21:03 Kush 11 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote You need to edit the MakeFile in the kernel/rpi directory we're working in. See: "Makefile:660: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler" Go to line 660 and comment out the block of code relating to CONFIG_CC