public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: Geordy Rostad <geordy@hotmail.com>
To: crossgcc@sourceware.org
Subject: building tool chain for zip it messenger (arm processor)
Date: Mon, 22 Mar 2010 04:42:00 -0000	[thread overview]
Message-ID: <BLU0-SMTP42CDFF7F19C8AB10198BB3CD270@phx.gbl> (raw)

Hi list, I'm ripping my hair out trying to use crosstools to build a gcc cross compiler for an arm based linux install.  I downloaded crosstool-0.43 and editted the demo-arm.sh to attempt to build gcc-2.95.3-glibc-2.1.3.  The host system is an Ubuntu vm.  I had to apt-get bison and a few other things to get this far but it keeps dying here:

....
gcc-2.95.3/gcc -I/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config -I/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/../include /home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c
/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c: In function ‘arm_override_options’:
/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c:286: warning: assignment discards qualifiers from pointer target type
/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c:530: error: lvalue required as left operand of assignment
make[1]: *** [arm.o] Error 1
make[1]: Leaving directory `/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/build-gcc-core/gcc'
make: *** [all-gcc] Error 2
geordy@ubuntu:~/crosstool-0.4

I've tried to also build a couple of different versions of gcc-glibc but still get the same error.  Also have made sure gcc, glibc, bintools, etc are newest versions available via apt-get.  

Thanks,
Geordy

--
For unsubscribe information see http://sourceware.org/lists.html#faq

             reply	other threads:[~2010-03-22  4:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-22  4:42 Geordy Rostad [this message]
2010-03-22  5:30 ` Khem Raj
2010-03-23 15:30   ` Geordy Rostad
2010-03-23 17:04     ` Yann E. MORIN
2010-03-24  3:19       ` Geordy Rostad
2010-03-24 18:38         ` Yann E. MORIN
2010-03-24 18:51           ` Geordy Rostad
2010-03-24 19:43             ` Yann E. MORIN
2010-03-24 22:03               ` Geordy Rostad
2010-03-25 23:47 Geordy Rostad
2010-03-25 23:49 Geordy Rostad

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=BLU0-SMTP42CDFF7F19C8AB10198BB3CD270@phx.gbl \
    --to=geordy@hotmail.com \
    --cc=crossgcc@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).