| | 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)
|
|
| | Re: Makefile command to make *.map files
|
|
Quoting Ed Manlove (emanlove@ieee.org): (...) 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 (...) (23 years ago, 8-Mar-02, to lugnet.robotics.rcx.legos)
|
|
| | 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)
|
|
| | Re: Makefile command to make *.map files
|
|
I had a similar problem with the "sort" program apparently not functioning and then someone kindly looked at my error output and pointed out that I should make sure that the CYGWIN bin path was added to the FRONT of my path as declared in my (...) (23 years ago, 9-Mar-02, to lugnet.robotics.rcx.legos)
|