public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Alexandre Oliva <oliva@dcc.unicamp.br>
To: egcs@cygnus.com
Subject: Re: egcs-970825, all languages still built in stage1
Date: Tue, 26 Aug 1997 04:00:59 -0000	[thread overview]
Message-ID: <199708260402.AAA12457@tweedledumb.cygnus.com> (raw)
Message-ID: <19970826040059.jKWoIy_R6Ari7Gr8ulxEexjdNOJXVNUnKXcxUbmD6Xk@z> (raw)
In-Reply-To: Mon, 25 Aug 1997 23:36:51 -0400 (EDT)"

--Multipart_Tue_Aug_26_01:00:59_1997-1
Content-Type: text/plain; charset=US-ASCII

Kaveh R Ghazi writes:

>> Kaveh R Ghazi writes:
>> 
>> > 	For egcs-970825, I did (setenv CC cc;./configure) make.  It tried
>> > to build fortran in stage1 and choked.

>> #if !defined (__GNUC__) || (__GNUC__ < 2)
>> #error "You have to use gcc 2.x to build g77 (might be fixed in g77-0.6)."
>> #endif

> 	If cc is used for stage1 and fortran is built in stage1, it
> won't work.  :-)

I see.  Well, I encountered another problem.  I build egcs for several
different architectures from a single --srcdir, and the build failed
just after creating libgcc.a

The attached patch seems to fix this problem.

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

--Multipart_Tue_Aug_26_01:00:59_1997-1
Content-Type: application/octet-stream; type=patch
Content-Disposition: attachment; filename="f-srcdir.diff"
Content-Transfer-Encoding: 7bit

	* gcc/f/Make-lang.in: replace ../../$(srcdir) with $(srcdir),
	that is supposed to be the gcc directory

--- gcc/f/Make-lang.in	Mon Aug 25 12:33:36 1997
+++ gcc/f/Make-lang.in	Tue Aug 26 00:40:17 1997
@@ -346,9 +346,9 @@
 	  --no-validate news0.texi -o NEWS
 
 $(srcdir)/f/runtime/configure: $(srcdir)/f/runtime/configure.in 
-	cd f/runtime && $(MAKE) srcdir=../../$(srcdir)/f/runtime -f ../../$(srcdir)/f/runtime/Makefile.in rebuilt
+	cd f/runtime && $(MAKE) srcdir=$(srcdir)/f/runtime -f $(srcdir)/f/runtime/Makefile.in rebuilt
 $(srcdir)/f/runtime/libU77/configure: $(srcdir)/f/runtime/libU77/configure.in
-	cd f/runtime && $(MAKE) srcdir=../../$(srcdir)/f/runtime -f ../../$(srcdir)/f/runtime/Makefile.in rebuilt
+	cd f/runtime && $(MAKE) srcdir=$(srcdir)/f/runtime -f $(srcdir)/f/runtime/Makefile.in rebuilt
 
 f77.rebuilt: $(srcdir)/f/g77.info $(srcdir)/f/BUGS $(srcdir)/f/INSTALL \
   $(srcdir)/f/NEWS $(srcdir)/f/runtime/configure \
@@ -494,11 +494,11 @@
 f77.mostlyclean:
 	-rm -f f/*$(objext)
 	-rm -f f/fini f/f771 f/stamp-str f/str-*.h f/str-*.j f/intdoc
-	-cd f/runtime; $(MAKE) -f ../../$(srcdir)/f/runtime/Makefile.in mostlyclean
+	-cd f/runtime; $(MAKE) -f $(srcdir)/f/runtime/Makefile.in mostlyclean
 f77.clean:
-	-cd f/runtime; $(MAKE) -f ../../$(srcdir)/f/runtime/Makefile.in clean
+	-cd f/runtime; $(MAKE) -f $(srcdir)/f/runtime/Makefile.in clean
 f77.distclean:
-	-cd f/runtime; $(MAKE) -f ../../$(srcdir)/f/runtime/Makefile.in distclean
+	-cd f/runtime; $(MAKE) -f $(srcdir)/f/runtime/Makefile.in distclean
 	-rm -f f/Makefile
 # like gcc's extraclean, which does clean f/ for us, but not f/gbe,
 # f/runtime, f/runtime/libF77, f/runtime/libI77, and f/runtime/libU77,
@@ -516,7 +516,7 @@
 	-rm -f f/*/*/*lose f/*/*/*.s f/*/*/*.s[0-9] f/*/*/*.i
 # realclean is the pre-2.7.0 name for maintainer-clean
 f77.maintainer-clean f77.realclean: f77.distclean
-	-cd f/runtime; $(MAKE) -f ../../$(srcdir)/f/runtime/Makefile.in maintainer-clean
+	-cd f/runtime; $(MAKE) -f $(srcdir)/f/runtime/Makefile.in maintainer-clean
 	-$(MAKE) f77.maintainer-clean
 	-rm -f f/g77.info* f/g77.*aux f/TAGS f/BUGS f/INSTALL f/NEWS f/intdoc.texi
 # Stage hooks:

--Multipart_Tue_Aug_26_01:00:59_1997-1--

             reply	other threads:[~1997-08-26  4:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-08-26  3:38 meissner [this message]
1997-08-26  4:00 ` One more MULTILIB question J. Kean Johnston
1997-08-26  4:00 ` Multilib nightmares (breaking EGCS builds) J. Kean Johnston
1997-08-26  4:00 ` egcs-970825, all languages still built in stage1 Alexandre Oliva
1997-08-26  4:00 ` Suggestion re: 970825 Snapshot Available Oleg Krivosheev
  -- strict thread matches above, loose matches on Subject: below --
1997-08-26 14:34 Multilib nightmares (breaking EGCS builds) meissner
1997-08-26 14:34 meissner
1997-08-26  3:02 libf2c.a doesnt obey MULTILIB Jim Wilson
1997-08-26  3:19 ` Multilib nightmares (breaking EGCS builds) J. Kean Johnston

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=199708260402.AAA12457@tweedledumb.cygnus.com \
    --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).