This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/27769] cross-gnatmake needs host gcc
- From: "laurent at guerby dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 May 2006 16:32:32 -0000
- Subject: [Bug ada/27769] cross-gnatmake needs host gcc
- References: <bug-27769-283@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from laurent at guerby dot net 2006-05-27 16:32 -------
I just build a mingw32 cross with c,ada from 4.1.1 prerelease (using native
Linux c,ada GCC 4.1.0 as base compiler) and it invokes properly ming32-gcc:
$ mingw32-gnatmake -Pp -v
Parsing Project File "p".
Checking project file "p"
5 lines: No errors
Parsing of Project File "p" is finished.
Adding source directory "/mnt/data-5-1/guerby/tmp".
Adding object directory "/mnt/data-5-1/guerby/tmp".
Adding "p.ads" as if on the command line
GNATMAKE 4.1.1 20060517 (prerelease)
Copyright 1995-2004 Free Software Foundation, Inc.
Main source file: "p.ads".
Library file does not exist for project "p"
Adding "p.ads" to the queue
"p.ali" being checked ...
-> "p.ali" missing.
Creating temp file "/mnt/data-5-1/guerby/tmp/GNAT-TEMP-000001.TMP"
Closing configuration file "/mnt/data-5-1/guerby/tmp/GNAT-TEMP-000001.TMP"
mingw32-gcc -c -I- -gnatA /mnt/data-5-1/guerby/tmp/p.ads
Deleting temp configuration file
"/mnt/data-5-1/guerby/tmp/GNAT-TEMP-000001.TMP"
End of compilation
building static library for project p
object files:
/mnt/data-5-1/guerby/tmp/p.o
ALI files:
/mnt/data-5-1/guerby/tmp/p.ali
building a library...
make p
found /opt/gcc/4.1.0/bin/gcc
found /usr/bin/ar
found /usr/bin/ranlib
could not delete /mnt/data-5-1/guerby/tmp/lib/libp.a
ar cr /mnt/data-5-1/guerby/tmp/lib/libp.a /mnt/data-5-1/guerby/tmp/p.o
ranlib /mnt/data-5-1/guerby/tmp/lib/libp.a
Copying "/mnt/data-5-1/guerby/tmp/p.ali" to "/mnt/data-5-1/guerby/tmp/lib"
$
So this is probably something very specific to your setup. I'm setting the PR
in WAITING state since I cannot confirm it without some additional information.
--
laurent at guerby dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27769