Subject: Re: Problem trying to XCompile a mac68k kernel on an i386
To: Bill Studenmund <skippy@macro.stanford.edu>
From: Dave Huang <khym@bga.com>
List: current-users
Date: 02/03/1997 18:07:57
On Mon, 3 Feb 1997, Bill Studenmund wrote:
> The problem is that the lorder script (which is the same as the -current
> lorder script) relies on getting the file name followed by just a ":".
> 
> Is there an easy way to get gnu-nm to do this? I looked at its man page,
> and couldn't tell.

I couldn't figure out an easy way to get gnu nm to do that either, at 
least not without patching the source. This works for me though:

--- nm.c        Tue Oct 15 23:29:08 1996
+++ /tmp/nm.c   Mon Feb  3 18:04:58 1997
@@ -1212,7 +1212,7 @@
 print_object_filename_bsd (filename)
      char *filename;
 {
-  if (filename_per_file && !filename_per_symbol)
+  if (filename_per_file)
     printf ("\n%s:\n", filename);
 }


Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 21 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++