This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/19489] gnat tools not buildable cross
- From: "joel at oarcorp dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Feb 2005 22:41:08 -0000
- Subject: [Bug ada/19489] gnat tools not buildable cross
- References: <20050117180701.19489.joel@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From joel at oarcorp dot com 2005-02-07 22:41 -------
Subject: Re: gnat tools not buildable cross
laurent at guerby dot net wrote:
> ------- Additional Comments From laurent at guerby dot net 2005-02-06 10:02 -------
> (In reply to comment #19)
>
> Nathanel I confirm your small patch (+autoconf) restores Ada cross x86 to
> powerpc-rtems build, and I've even been able to powerpc-rtems-gnatmake Ada
> examples and run them on gdb psim. It also does not break native bootstrap as
> far as I can tell, so all looks good for commit testing wise.
>
> Thanks for helping!
Is everything in CVS? I can't reproduce this yet. I had trouble with
previously installed cross toolsets getting in the way but removed them
and got past that.
I checked my procedure versus Laurent's revised instructions and end
with this.
checking for gcc...
/usr3/ftp_archive/gnu/gcc/ss/b-head/b-powerpc-rtems4.7/gcc/xgcc
-B/usr3/ftp_archive/gnu/gcc/ss/b-head/b-powerpc-rtems4.7/gcc/ -nostdinc
-B/usr3/ftp_archive/gnu/gcc/ss/b-head/b-powerpc-rtems4.7/powerpc-rtems4.7/newlib/
-isystem
/usr3/ftp_archive/gnu/gcc/ss/b-head/b-powerpc-rtems4.7/powerpc-rtems4.7/newlib/targ-include
-isystem
/usr3/ftp_archive/gnu/gcc/ss/b-head/gcc-libada-gnattools-branch/newlib/libc/include
-B/opt/rtems-test/powerpc-rtems4.7/bin/
-B/opt/rtems-test/powerpc-rtems4.7/lib/ -isystem
/opt/rtems-test/powerpc-rtems4.7/include -isystem
/opt/rtems-test/powerpc-rtems4.7/sys-include
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use `--host'.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19489