From: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
To: egcs@cygnus.com
Subject: PATCH: add -D__ELF__ to powerpc-linux CPP_PREDEFINES
Date: Mon, 05 Jan 1998 16:57:00 -0000 [thread overview]
Message-ID: <v03110704b0d737bd172c@[195.180.235.188]> (raw)
Hi,
this small patch helps a lot of old config.guesses out there which check
for __ELF__ to detect newer Linux versions. It also makes the egcs
behaviour across Linux platforms more consistent (someone should have a
look at alpha). It should apply cleanly on egcs-1.0x and current snapshots.
Bye,
Franz.
Tue Jan 06 00:44:00 1997 Franz Sirl <franz.sirl-kernel@lauterbach.com>
* rs6000/linux.h: add -D__ELF__ to CPP_PREDEFINES
--- egcs-1.0/gcc/config/rs6000/linux.h.1.0.1pre Mon Dec 15 21:23:01 1997
+++ egcs-1.0/gcc/config/rs6000/linux.h Mon Jan 5 14:13:04 1998
@@ -23,7 +23,7 @@
#undef CPP_PREDEFINES
#define CPP_PREDEFINES \
- "-DPPC -Dunix -Dlinux -Dpowerpc -Asystem(unix) -Asystem(linux)
-Acpu(powerpc) -Amachine(powerpc)"
+ "-DPPC -D__ELF__ -Dunix -Dlinux -Dpowerpc -Asystem(unix) -Asystem(linux)
-Acpu(powerpc) -Amachine(powerpc)"
#undef LINK_SPEC
#define LINK_SPEC "-m elf32ppc %{G*} %{shared:-shared} \
next reply other threads:[~1998-01-05 16:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-05 16:57 Franz Sirl [this message]
1998-01-14 4:17 ` Jeffrey A Law
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='v03110704b0d737bd172c@[195.180.235.188]' \
--to=franz.sirl-kernel@lauterbach.com \
--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).