public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Phil C <hpypenguin@yahoo.com>
To: Newbie Mailing List <linux-newbie@vger.kernel.org>
Subject: Problems compiling Binutils 2.17
Date: Sat, 2 Aug 2008 23:20:28 -0700 (PDT)	[thread overview]
Message-ID: <503928.82870.qm@web59706.mail.ac4.yahoo.com> (raw)

I am making my first attempt at compiling linux from source. To do this I'm using the LFS book and the most current stable kernel (2.6.26). The setup process seems to go fine but when I try and compile binutils it fails. 

I'm using the following command taken from LFS. The command is done from the ../binutils-build folder.


#>CC="gcc -B/usr/bin/" ../binutils-2.17/configure \  --prefix=/tools --disable-nls --disable-werror

After entering the command I get one of two errors. If I sudo the command I get

#>/sbin invalid command 'configure'

In lieu of using sudo I get

#>../binutils-2.17/configure is an invalid file or directory.

(Both responses are approximations I have no access to the terminal from 
the computer I'm on as I'm at work and not using Linux here, but you get the gist
of it. Using sudo it interprets the command improperly and without sudo it's
looking for a directory that doesn't exsist. Sorry I can't provide an exact terminal
copy. This has been a continuing problem due mainly to my ISP screwing up my
connection and thus leaving me with no internet at the house.)

The binutils-2.17 files are being stored in both the home directory of the user 
I'm conducting the build from as well as in it's own folder under home. Is this a
sytnax error or have I placed the source files in the wrong location?

Thanks

 - Phil C



      

--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

             reply	other threads:[~2008-08-03  6:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-03  6:20 Phil C [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-08-03 11:04 Problems compiling Binutils 2.17 Phil C
2008-08-04 10:11 ` Dave Haywood
2008-08-12  9:48   ` Sverre Hamre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=503928.82870.qm@web59706.mail.ac4.yahoo.com \
    --to=hpypenguin@yahoo.com \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox