🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #839

problem with multiple makes

#839
From: Geoffrey D. Alexander
Date: Tue, 13 Feb 1990 21:37
35 lines
1467 bytes
I just tried to make gdb 3.5 on multiple systems.  I first ran the followiung
on a sparc station:

   config.dbx sun4os4
   make

This worked fine.  I then moved to a sun 3 and ran the following (in the same
directory):

   config.dbx sun3os4
   make

After a few minutes this failed due to

  ld: symmisc.o: wrong machine type

Running

   make clean
   make

seemed to recover.  Either `make' should clean up old files or the README file
should be updated saying that 'make clean' should be issued between makes of
gdb on different machines.

Another, minnor problem is that it was not clear to me that the `sparc' option
to config.gdb was just another name for `sun4os3'.  The option should be
changed to `sun3os3'.

It seems that the installation of gdb compiles with the -g option.  I should
think that it would be better to compile with the -O option (at least after
a trial test period).  Also, running strip on gdb will reduce the size.  Is
there a way to do this without modifying the makefile?

Geoff Alexander
Technical Details
Message-ID: <9002132137.AA15164@fillmore.cs.unc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!CS.UNC.EDU!alexande

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!CS.UNC.EDU!alexande
From: alexande@CS.UNC.EDU (Geoffrey D. Alexander)
Newsgroups: gnu.gdb.bug
Subject: problem with multiple makes
Message-ID: <9002132137.AA15164@fillmore.cs.unc.edu>
Date: 13 Feb 90 21:37:33 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 35