This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] gnat3.10p with egcs-1.1b
- To: egcs-patches at cygnus dot com
- Subject: [PATCH] gnat3.10p with egcs-1.1b
- From: "Hans-Frieder Vogt" <vogt at ila dot uni-stuttgart dot de>
- Date: Mon, 5 Oct 1998 10:59:48 -0600
- Cc: vogt at ilaws6 dot ila dot uni-stuttgart dot de
Hi,
I ran into some problem when trying to build gnat3.10p with egcs-1.1b on
IRIX6.2 (compiled with gnat3.10p on gcc-2.7.2).
The newly build Ada-Compiler always gave the message "Cannot find: ...".
Patches to solve this problem are given below.
Some other problems remain (see my mail to the egcs mailing list).
yours,
Hans-Frieder Vogt
diff -c gcc/ada/a-misc.h.orig gcc/ada/a-misc.h
*** gcc/ada/a-misc.h.orig Fri Sep 25 17:11:09 1998
--- gcc/ada/a-misc.h Mon Oct 5 10:39:48 1998
***************
*** 92,98 ****
/* Performs whatever initialization steps needed by the language-dependent
lexical analyzer. */
! extern void init_lex PROTO((void));
/* Sets some debug flags for the parser. It does nothing here. */
extern void set_yydebug PROTO((int));
--- 92,98 ----
/* Performs whatever initialization steps needed by the language-dependent
lexical analyzer. */
! extern char *init_parse PROTO((char *));
/* Sets some debug flags for the parser. It does nothing here. */
extern void set_yydebug PROTO((int));
diff -c gcc/ada/a-misc.c.orig gcc/ada/a-misc.c
*** gcc/ada/a-misc.c.orig Mon Sep 28 10:04:48 1998
--- gcc/ada/a-misc.c Fri Oct 2 10:27:45 1998
***************
*** 619,625 ****
Define the additional tree codes here. This isn't the best place to put
it, but it's where g++ does it. */
! void
init_parse (filename)
char *filename;
{
--- 664,670 ----
Define the additional tree codes here. This isn't the best place to put
it, but it's where g++ does it. */
! char *
init_parse (filename)
char *filename;
{
***************
*** 638,643 ****
--- 683,690 ----
bcopy ((char *) gnat_tree_code_name,
(char *) (tree_code_name + (int) LAST_AND_UNUSED_TREE_CODE),
LAST_GNAT_TREE_CODE - (int) LAST_AND_UNUSED_TREE_CODE);
+
+ return filename;
}
void
--
--
Hans-Frieder Vogt e-mail: vogt@ila.uni-stuttgart.de
Institut f"ur Luftfahrtantriebe tel : +49 (711) 685-3522
Universit"at Stuttgart
Pfaffenwaldring 6
D-70569 Stuttgart, Germany