Subject:
|
Re: Makefile command to make *.map files
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Fri, 8 Mar 2002 19:08:51 GMT
|
Viewed:
|
2038 times
|
| |
| |
Quoting Ed Manlove (emanlove@ieee.org):
> What is the sort command doing in the command to create *.map files within
> the Makefile.kernal?
>
> # how to make map files
> %.map: %.coff
> $(NM) $*.coff | sort -u > $*.map
>
> Doing my build I get the following error and the resulting map file has size
> zero.
>
> /cygnus/cygwin-b20/H-i586-cygwin32/bin/h8300-hms-nm legOS.coff | sort -u > legOS
> .map
> SORT: File <-U> not found
I can't speak for absolute certain about this, not being familiar with
that part of the code, but sort -u is used to unique a list of
strings. That is, if you pipe a file:
spam
spam
spam
eggs
through sort -u, you get back
eggs
spam
It looks like the "sort" on your system doesn't grok -u tho.
--G.
--
Geoff Gerrietts "Don't get suckered in by the comments--
<geoff at gerrietts net> they can be terribly misleading.
www.gerrietts.net/geoff/ Debug only code." --Dave Storer
|
|
Message has 1 Reply: | | Re: Makefile command to make *.map files
|
| For clarity I am running under Win98 using CYGWIN tools as outlined by the instructions "LegOS0.2.4 - Instructions for installing on NT/Win9x with Cygwin". I was looking for help on the sort command using $sort --help but I was getting a similar (...) (23 years ago, 8-Mar-02, to lugnet.robotics.rcx.legos)
|
Message is in Reply To:
| | Makefile command to make *.map files
|
| What is the sort command doing in the command to create *.map files within the Makefile.kernal? # how to make map files %.map: %.coff $(NM) $*.coff | sort -u > $*.map Doing my build I get the following error and the resulting map file has size zero. (...) (23 years ago, 8-Mar-02, to lugnet.robotics.rcx.legos)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|