Home > C Compiler > C Compiler Cannot Create Executables Linux From Scratch

C Compiler Cannot Create Executables Linux From Scratch

Contents

so it appears to work... Send a Postcard! | Blog | PGP Key: F99FFE0FEAE999BD Offline #12 2010-11-19 00:08:44 colbert Member Registered: 2007-12-16 Posts: 809 Re: [SOLVED] C compiler cannot create executables Nope, get that from other If something changed I can check but not sure what/how you referring to specifically.Hmmm as for tmp dir, all I have is in /etc/yaourtrc "TMPDIR="/tmp" and no probs so far with I'm using my ubuntu system to configure and install it, but whenever I do this, I always get a "c compiler can't create executables". his comment is here

In addition, #-- specify a space-delimited list of hosts running in the DistCC cluster. #DISTCC_HOSTS="" ######################################################################### # GLOBAL PACKAGE OPTIONS # These are default values for the options=() settings ######################################################################### # Both my gcc and base-devel were somehow corrupted, but after forcing a reinstall my builds are going along nicely. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started Do you need a 32 bit apache? –casey Jul 24 '14 at 18:41 Apparantly yes.

Configure Error C Compiler Cannot Create Executables Ubuntu

Last edited by colbert (2010-11-19 00:44:56) Offline #2 2010-11-18 07:15:57 linux-ka Member From: ADL Registered: 2010-05-07 Posts: 232 Re: [SOLVED] C compiler cannot create executables do you have the permission to All rights reserved. Target: i686-pc-linux-gnu Configured with: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-threads=posix --mandir=/usr/share/man --infodir=/usr/share/info --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch --with-tune=generic Thread model: posix gcc version 4.4.3 (GCC) configure:2984: $? = 0 configure:2991: gcc

How can I check that the voltage output from this voltage divider is 2.25V? Thanks again for the help! Can anybody help me solve this? none checking for gcc...

In it, you'll get: The week's top questions and answers Important community announcements Questions that need answers see an example newsletter By subscribing, you agree to the privacy policy and terms Checking Whether The C Compiler Works... No share|improve this answer answered May 3 '10 at 0:03 caf 156k14195326 Sorry, does not work :( –user142019 May 3 '10 at 0:06 1 Well, the problem is that http://www.linuxquestions.org/questi...-error-592512/ -- Cheers Malcolm (Linux Counter #276890) SLED 10.0 SP2 x86_64 Kernel 2.6.16.60-0.23-smp up 2 days 11:29, 2 users, load average: 0.01, 0.02, 0.04 GPU GeForce 8600 GTS Silent - http://stackoverflow.com/questions/2755527/c-compiler-cannot-create-executables-when-trying-to-build-binutils Offline #4 2010-02-03 22:11:00 tavianator Member From: Waterloo, ON, Canada Registered: 2007-08-21 Posts: 858 Website Re: [SOLVED] configure: error: C compiler cannot create executables This is the offending line from config.loggcc:

Some time ago I had the same discussion and the conclusion was that my mount flags had changed or had different influences after changing the filesystem from ext3 to ext4. Is there a name for the (anti- ) pattern of passing parameters that will only be used several levels deep in the call chain? Word for "using technology inappropriately"? Review your favorite Linux distribution.

Checking Whether The C Compiler Works... No

Thanks. https://bbs.archlinux.org/viewtopic.php?id=108615 no configure: error: in `/tmp/yaourt-tmp-bobby/aur-freetype2-infinality/src/freetype-2.4.3/builds/unix': configure: error: C compiler cannot create executables See `config.log' for more details. Configure Error C Compiler Cannot Create Executables Ubuntu Here is the config.log file I have: /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown Gcc: Error: Unrecognized Command Line Option '-v' i686-pc-linux-gnu checking host system type...

Binutils-2.23.1 - Pass 2 configure: error: C compiler cannot create executables Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the lfs-support this content Are you new to LinuxQuestions.org? Thanks for the quick and simple reply; that fixed it. That worked Thanks so much!!

Is it possible to bleed brakes without using floor jack? UNIX is a registered trademark of The Open Group. x86_64-unknown-linux-gnuchecking for a BSD-compatible install... /usr/bin/install -cchecking whether ln works... weblink This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant.

I tried running commands to install build-essentials, gcc, g++, and other things, as well as updating my system. make: *** [setup] Error 77 Aborting... ==> ERROR: Makepkg was unable to build freetype2-infinality.I reinstalled base-devel although all were already installed, same thing. i686-pc-linux-gnuoldld checking for a BSD compatible install... ./binutils-2.17/install-sh -c checking whether ln works...

I have also tested out c compiler by running a small test.c script and it runs fine.

I redid chapter 4.4 of the manual, and I also went here: http://www.linuxquestions.org/questi...-found-892180/. Binutils-2.23.1 - Pass 2 configure: error: C compiler cannot create executables سید احمد حسینی ahmadtux at outlook.com Sun Mar 31 05:20:43 PDT 2013 Previous message: [lfs-support] problem mounting virtual File System My host system is Mint 12. more stack exchange 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

How is True < 2 implemented? Why is this C++ code faster than my hand-written assembly for testing the Collatz conjecture? Or should I install 32bit compiler toolchain for getting it work. –Vishal Jul 24 '14 at 18:53 Thanks. check over here Andy45 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Andy45 Tags gcc, lfs, lfs_tgt Thread Tools Show Printable Version Email this Page

Last edited by tavianator (2010-02-03 22:12:03) Offline #5 2010-02-04 00:31:57 intelligo Member Registered: 2010-02-03 Posts: 3 Re: [SOLVED] configure: error: C compiler cannot create executables Thanks, tavianator! Try "pacman -Sf gcc". Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features.

I did not run into this the first time around. LFS is a project that provides you with the steps necessary to build your own custom Linux system. Thanks c compilation configure binutils linux-from-scratch share|improve this question edited May 3 '10 at 0:03 asked May 2 '10 at 23:58 user142019 What happens if you compile a simple I suspect you have a borked build environment. –caf May 3 '10 at 3:41 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up

share|improve this answer edited Mar 13 '14 at 13:27 nisargshah95 374422 answered May 3 '10 at 11:25 user142019 add a comment| up vote 0 down vote Try: export CC=/usr/bin/gcc before running 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 Make sure it is completely removed from your pacman.conf. You need to find out why the configure script is trying to use "GCC" in the first place.

Code: $ cat > /tmp/hello.c < int main() { printf("Hello world\n"); } EOF $ gcc -o /tmp/hello -B/usr/bin /tmp/hello.c $ /tmp/hello Hello world Reply With Quote 02-Jul-2008,22:07 #7 tanmaya What amI doing wrong? The part in bold is the error. Unix & Linux Stack Exchange works best with JavaScript enabled