Home > C Compiler > C Compiler Cannot Create Executables Error

C Compiler Cannot Create Executables Error

Why don't we use the étale definition of sheaves in Algebraic Geometry Determine maximum frequency of input signal to make system LTI Is it safe to use cheap USB data cables? Target: i686-apple-darwin9 Configured with: /var/tmp/gcc/gcc-5484~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9 Thread model: posix gcc version 4.0.1 (Apple Inc. So, you should run, as given in the README: ./configure CFLAGS="-O3" share|improve this answer answered Jul 12 '15 at 18:52 muru 70.7k12127179 add a comment| up vote 2 down vote Looks Where in the GCC installation docs does it say to run autoconf? this contact form

That is invalid, and causing the compilation to fail. To build older versions of Ruby you must have the official GCC compiler installed on your system. After a 10 minute compilation it ended with the below error. gcc checking whether the C compiler (gcc ) works... http://unix.stackexchange.com/questions/146402/configure-error-c-compiler-cannot-create-executables

gcc: error: missing argument to '-march=' COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.8.1-10ubuntu9' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug yeschecking for gcc... no checking for c++... share|improve this answer edited Jul 25 at 1:26 answered Jul 29 '12 at 20:03 stereoscott 9,34042130 4 This worked for me, thanks!

Then, inspired by Rimian, I checked my gcc : gcc -v and then I got a message saying I did not aggreed. I ran a brew uninstall of gcc (gcc46 for me) and reran the code for the ruby installation (old project old ruby v) $ brew uninstall gcc46 $ rvm install 1.9.3 Cheers! –Vishal Jul 25 '14 at 15:08 add a comment| up vote 6 down vote CC='' tells me, you no compiler is set. Seems very valid to me! –Andy Dent Jun 7 '12 at 22:41 | show 5 more comments 11 Answers 11 active oldest votes up vote 91 down vote accepted You have

Browse other questions tagged command-line compiling gcc make or ask your own question. g++: error: missing argument to '-march=' configure:4417: $? = 0 configure:4406: g++ -v >&5 Using built-in specs. The issue is this: gcc checking whether the C compiler works... Blogs Recent Entries Best Entries Best Blogs Blog List Search Blogs Home Forums HCL Reviews Tutorials Articles Register Search Search Forums Advanced Search Search Tags Search LQ Wiki Search Tutorials/Articles Search

gcc checking for C compiler default output file name... I bet you don't have all the right packages installed to > > use gcc. > > config.log content > > configure:630: checking host system type > configure:651: checking target system COLLECT_GCC_OPTIONS='-v' '-march=native' '-o' 'x' /usr/local/libexec/gcc/i686-pc-linux-gnu/4.7.3/cc1 -quiet -v hello.c -march=core2 [...] The ruby-2.1.1 configure script does use -march, but only to detect an atomic builtin (__sync_val_compare_and_swap), it never gets that far anyway. Invocation command line was $ ./configure --prefix=/usr --sysconfdir=/etc 1. --------- ##
2.

Also don't build in > the source directory. g++: error: missing argument to '-march=' COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.8.1-10ubuntu9' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug Issue #127 C compiler cannot create executables Added by Linda Feliciano over 5 years ago. Is it unethical to poorly translate an exam from Dutch to English and then present it to the English speaking students?

no configure: error: in `/var/folders/fn/1kz6tqdd2b58vl6lggn7ks4r0000gn/T/ruby-build.20130901135911.4559/ruby-2.0.0-p247': configure: error: C compiler cannot create executables See `config.log' for more details make: *** No targets specified and no makefile found. http://mediastartpage.com/c-compiler/configure-error-c-compiler-cannot-create-executables.html Here's my config.log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. I tried the ./configure command again with no variables and all went well. How can I declare sovereignty from the American government and start my own micro nation?

What is exactly meant by a "data set"? Core tests. ##
3. ----------- ## configure:3069: checking for a BSD-compatible installconfigure:3137: result: /usr/bin/install -cconfigure:3148: checking whether build environment is saneconfigure:3198: result: yesconfigure:3339: checking for a thread-safe mkdir -pconfigure:3378: result: Arch Linux HomePackagesForumsWikiBugsAURDownload Index Rules Search Register Login You are not logged in. navigate here Since due to checking for gcc... /usr/bin/gcc the following is certainly not in the config.log, right?

yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3820: $? = 4 configure:3809: gcc -qversion >&5 gcc: error: missing argument to '-march=' gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated.

ia64-redhat-linux-ar checking for ia64-redhat-linux-lipo...

There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Nylex View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Nylex 05-04-2007, 08:23 PM #3 mirex LQ Newbie Registered: May 2007 Posts: config.log content configure:630: checking host system type configure:651: checking target system type configure:669: checking build system type configure:724: checking for a BSD compatible install configure:777: checking whether ln works configure:801: checking yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk...

It was created by configure, which was generated by GNU Autoconf 2.63. Status:ClosedStart date:27.04.2011Priority:LowAssignee:Tobias BrunnerCategory:- Affected version:4.5.1 Resolution: Description Hi. no checking for xlC... his comment is here i686-pc-linuxlibc1 checking host system type...

Both my gcc and base-devel were somehow corrupted, but after forcing a reinstall my builds are going along nicely. How can I get this to work? Why are password boxes always blanked out when other sensitive data isn't? Last edited by intelligo (2010-02-04 00:33:14) Offline #2 2010-02-03 16:54:53 tavianator Member From: Waterloo, ON, Canada Registered: 2007-08-21 Posts: 858 Website Re: [SOLVED] configure: error: C compiler cannot create executables Well,

This is free software; see the source for copying conditions. Here's what I'm getting: j-court-demones-macbook-pro:libevent-1.4.12-stable jcourtdemone$ ./configure; make checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... Invocation command line was $ ./configure --prefix=/home/joshua/.rvm/rubies/ruby-1.9.3-p448 --with-gcc=clang --disable-install-doc --enable-shared ## --------- ## ## Platform. ## ## --------- ## hostname = trisquel6 uname -m = i686 uname -r = 3.2.0-52-generic-pae uname I've also run makepkg as root.

How did your system get into its current state? –Michael Hampton♦ Mar 7 '14 at 13:53 Question edited as per your concern.... –Pradeep Gupta Mar 7 '14 at 13:58 no checking for KCC... Do students wear muggle clothing while not in classes at Hogwarts (like they do in the films)?

© Copyright 2017 mediastartpage.com. All rights reserved.