From: | Mike Frysinger <vapier@g.o> | ||
---|---|---|---|
To: | gentoo-embedded@l.g.o | ||
Cc: | Christopher Friedt <chrisfriedt@×××××.com> | ||
Subject: | Re: [gentoo-embedded] autotools: stage1 cross C compiler cannot create executables | ||
Date: | Sat, 20 Oct 2012 18:04:02 | ||
Message-Id: | 201210201301.17883.vapier@gentoo.org | ||
In Reply to: | [gentoo-embedded] autotools: stage1 cross C compiler cannot create executables by Christopher Friedt |
1 | On Thursday 18 October 2012 18:56:20 Christopher Friedt wrote: |
2 | > The only problem with autotools and using a stage1 compiler, is that |
3 | > the macro AC_PROG_CC in configure.ac always dies because the compiler |
4 | > tries to link main to a fully-fledged executable can't find the crt |
5 | > files yet. |
6 | > |
7 | > Is there some kind of auto-magical autoconf incantation that only |
8 | > checks to see if the compiler can simply compile (and not necessarily |
9 | > link)? |
10 | |
11 | glibc puts into its aclocal.m4: |
12 | dnl These modifications are to allow for an empty cross compiler tree. |
13 | define([_AC_COMPILER_EXEEXT], [EXEEXT= |
14 | ]) |
15 | -mike |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |
Subject | Author |
---|---|
Re: [gentoo-embedded] autotools: stage1 cross C compiler cannot create executables | Christopher Friedt <chrisfriedt@×××××.com> |