public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Alexandre Oliva <oliva@dcc.unicamp.br>
To: egcs@cygnus.com
Subject: [patch] egcs-ss-1998-05-02 wouldn't build on mips-sgi-irix5.2
Date: Wed, 06 May 1998 23:49:00 -0000	[thread overview]
Message-ID: <oryawgm0sw.fsf@zecarneiro.lsd.dcc.unicamp.br> (raw)

[-- Attachment #1: Type: text/plain, Size: 414 bytes --]

Hi!

The latest snapshot of egcs wouldn't build on mips-sgi-irix5.2 because 
config.h would define HAVE_INTTYPES_H to `empty' instead of `1'.  So,
when compiling cccp.c, it would choke on `#if HAVE_INTTYPES_H', on
line 121.

The attached patch fixed this problem.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil

[-- Attachment #2: defines.diff --]
[-- Type: text/x-diff, Size: 590 bytes --]

  Alexandre Oliva <oliva@dcc.unicamp.br>

	* configure.in (config.h): #define to `1' instead of nothing

Index: gcc/configure.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/configure.in,v
retrieving revision 1.93
diff -u -r1.93 configure.in
--- gcc/configure.in	1998/04/28 05:57:03	1.93
+++ gcc/configure.in	1998/05/05 21:15:39
@@ -3016,7 +3016,7 @@
 
 	for def in `eval echo '$'$define`; do
 		echo "#ifndef $def" >>$link
-		echo "#define $def" >>$link
+		echo "#define $def 1" >>$link
 		echo "#endif" >>$link
 	done
 done

             reply	other threads:[~1998-05-06 23:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-06 23:49 Alexandre Oliva [this message]
1998-05-07 21:59 ` Jim Wilson

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=oryawgm0sw.fsf@zecarneiro.lsd.dcc.unicamp.br \
    --to=oliva@dcc.unicamp.br \
    --cc=egcs@cygnus.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).