From: Jean-Claude Gervais <jc.gervais@videotron.ca>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] C compiler cannot create executables
Date: Tue, 06 Nov 2007 14:55:00 -0500 [thread overview]
Message-ID: <1194378900.22183.41.camel@mercury.sprymusic> (raw)
In-Reply-To: <4730AE5C.8060006@lakedaemon.net>
On Tue, 2007-11-06 at 13:11 -0500, Jason wrote:
> Jean-Claude Gervais wrote:
> > On Tue, 2007-11-06 at 12:46 -0500, Jason wrote:
> >> Jean-Claude Gervais wrote:
> >>> Same problem, different environment:
> >>>
> >>> I produced a cross-development toolkit by using the following command:
> >>>
> >>> .-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> >>> SYSROOT="/usr/arm-softfloat-linux-uclibc"
> >>>
> >>> UCLIBC_CPU="ARM920T" USE="-*" crossdev -v -S --binutils 2.17 --gcc
> >>> 3.4.6-r2 --kernel 2.6.19-r2 --libc 0.9.28.3 --ex-gdb --target
> >>> arm-softfloat-linux-uclibc
> >>> .-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> >>>
> >>> This went well; all the required tools were built.
> >>>
> >>> But now when I try to use the (modified) xmerge script, I get the
> >>> "C compiler cannot create executables" error
> >> [snip]
> >>> configure:1225: checking build system type
> >>> configure:1243: result: i686-pc-linux-gnu
> >>> configure:1250: checking host system type
> >>> configure:1264: result: i686-softfloat-linux-uclibc
> >>> configure:1272: checking target system type
> >>> configure:1286: result: i686-softfloat-linux-uclibc
> >> This doesn't look right. Did you setup ${SYSROOT}/etc/make.conf and
> >> ${SYSROOT}/etc/make.profile ?
> >
> > I think I did; here is the contents of
> > /usr/arm-softfloat-linux-uclibc/etc/make.conf
> >
> > .-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> > ACCEPT_KEYWORDS="arm"
> > ARCH="arm"
> >
> > CFLAGS="-Os -pipe -mfloat-abi=softfp -mfpu=vfp"
> > CHOST="i686-softfloat-linux-uclibc"
>
> This line should be:
> CHOST="arm-softfloat-linux-uclibc"
OK, I changed that line, performed a
crossdev -C arm-softfloat-linux-uclibc
And then re-ran the toolchain build procedure I am using;
SYSROOT="/usr/arm-softfloat-linux-uclibc"
UCLIBC_CPU="ARM920T" USE="-*" crossdev -v -S --binutils 2.17 --gcc
3.4.6-r2 --kernel 2.6.19-r2 --libc 0.9.28.3 --ex-gdb --target
arm-softfloat-linux-uclibc
Which concluded with no errors.
However, when I run any xmerge, I still get the same error
"C compiler cannot create executables"
I have no idea what I am missing, surely something small, but I am
clueless.
Thanks.
--
gentoo-embedded@gentoo.org mailing list
next prev parent reply other threads:[~2007-11-06 19:56 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-05 18:55 [gentoo-embedded] C compiler cannot create executables Jean-Claude Gervais
2007-11-05 22:41 ` Peter Stuge
2007-11-05 23:50 ` Ned Ludd
2007-11-06 17:26 ` Jean-Claude Gervais
2007-11-06 17:46 ` Jason
2007-11-06 17:55 ` Jean-Claude Gervais
2007-11-06 17:59 ` Jean-Claude Gervais
2007-11-06 18:11 ` Jason
2007-11-06 19:55 ` Jean-Claude Gervais [this message]
2007-11-06 20:19 ` Jason
2007-11-06 20:31 ` Jean-Claude Gervais
2007-11-06 20:38 ` Jason
2007-11-06 20:48 ` Jean-Claude Gervais
2007-11-06 20:55 ` Jason
2007-11-06 0:50 ` Mike Frysinger
-- strict thread matches above, loose matches on Subject: below --
2009-09-17 18:30 Stephen Feyrer
2009-09-17 23:28 ` Peter Stuge
2009-09-18 8:49 ` Stephen Feyrer
2009-09-18 13:03 ` David Ford
2009-09-19 8:35 ` Stephen Feyrer
2009-09-19 15:26 ` David Ford
2009-09-20 8:55 ` Stephen Feyrer
2009-09-19 14:15 ` Mike Frysinger
2009-09-19 15:28 ` David Ford
2009-09-20 9:10 ` Stephen Feyrer
2009-09-20 8:51 ` Stephen Feyrer
2009-09-22 21:40 ` Stephen Feyrer
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=1194378900.22183.41.camel@mercury.sprymusic \
--to=jc.gervais@videotron.ca \
--cc=gentoo-embedded@lists.gentoo.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