From: Paul Koning <pkoning@xedia.com>
To: Robin.Kirkham@mlb.dmt.csiro.au
Cc: egcs@cygnus.com
Subject: Re: Building 971008 cross m68k-coff on sparc-sun-solaris2.5.1 -- help!
Date: Wed, 15 Oct 1997 08:25:00 -0000 [thread overview]
Message-ID: <9710151322.AA24749@kona.> (raw)
In-Reply-To: <19971015054737.24914.qmail@ragnarok.mlb.dmt.csiro.au>
>>>>> "Robin" == Robin Kirkham <Robin.Kirkham@mlb.dmt.csiro.au> writes:
Robin> Would someone knowledgeable about the egcs cross-build
Robin> procedure please have a quick look at this---I can't even work
Robin> out which bit of the makefile is going wrong.
Robin> The build fails while trying to make the subtarget
Robin> "stmp-f2c.h" in the Fortran run-time. It seems to have decided
Robin> that the xgcc it made does not work, yet it seemed to build
Robin> the libgcc libraries OK. I had the same error in building
Robin> egcs-970929.
Robin> Is this a reasonable configuration? Am I doing something else
Robin> wrong? I also tried specifying LANGUAGES="c c++" to make
Robin> (with a fresh distribution) to avoid building f77, but it
Robin> seemed to make no difference.
>...
I ran into this some time ago and proposed a patch (that was for the
0922 snapshot, but the relevant file is the same in the current
snapshot). Give it a try... This is to gcc/f/Make-lang.in.
paul
--- Make-lang.in.orig Thu Sep 18 18:06:05 1997
+++ Make-lang.in Mon Sep 29 12:23:05 1997
@@ -278,22 +278,26 @@
$(GCC_PARTS)
# The make "stage?" in compiler spec. is fully qualified as above
rm -f stmp-f2c.h
- top=`pwd`; \
+ case "$(LANGUAGES)" in \
+ *f77*) top=`pwd`; \
src=`cd $(srcdir); pwd`; \
cd f/runtime; \
CC="`case '$(GCC_FOR_TARGET)' in \
'./xgcc -B./') echo $${top}/xgcc -B$${top}/;; \
*) echo '$(GCC_FOR_TARGET)';; esac`" \
$(F77_FLAGS_TO_PASS) CONFIG_SITE=/dev/null $(SHELL) \
- $${src}/f/runtime/configure --srcdir=$${src}/f/runtime
- top=`pwd`; \
+ $${src}/f/runtime/configure --srcdir=$${src}/f/runtime ;; \
+ esac
+ case "$(LANGUAGES)" in \
+ *f77*) top=`pwd`; \
src=`cd $(srcdir); pwd`; \
cd f/runtime/libU77; \
CC="`case '$(GCC_FOR_TARGET)' in \
'./xgcc -B./') echo $${top}/xgcc -B$${top}/;; \
*) echo '$(GCC_FOR_TARGET)';; esac`" \
$(F77_FLAGS_TO_PASS) CONFIG_SITE=/dev/null $(SHELL) \
- $${src}/f/runtime/libU77/configure --srcdir=$${src}/f/runtime/libU77
+ $${src}/f/runtime/libU77/configure --srcdir=$${src}/f/runtime/libU77 ;; \
+ esac
touch stmp-f2c.h
# Support parallel build.
next prev parent reply other threads:[~1997-10-15 8:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-10-14 22:48 Robin Kirkham
1997-10-15 7:41 ` Joel Sherrill
1997-10-15 8:25 ` Paul Koning [this message]
1997-10-15 11:12 ` Robin Kirkham
1997-10-15 14:33 ` Jim Wilson
1997-10-15 20:16 ` Robin Kirkham
1997-10-16 1:07 ` Jeffrey A Law
1997-10-15 8:53 ` 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=9710151322.AA24749@kona. \
--to=pkoning@xedia.com \
--cc=Robin.Kirkham@mlb.dmt.csiro.au \
--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).