[geeks] MIPSPro compiler

Stian Sletner stian at sletner.com
Tue May 20 09:41:04 CDT 2003


* At 2003-05-20T23:39+1000, Benjamin Gardiner wrote:
: 
| You would be sort of correct,
| 
| With the MIPSPro compiler, when it is unlicenced, with print nag screen 
| after nag screen, which plays havoc with anything using auto conf..

It doesn't cause any problems with autoconf in my experience, but it's
certainly dull to look at.  Riddance easily achieved.  Here's a little
script called weed:

    #!/bin/sh
    
    $@ 2>/tmp/weed.$$
    
    status=$?
    
    awk '{ if (match($0, /^No such feature/)) { for (i=0;i<32;i++) { getline } } else { print } }' /tmp/weed.$$ >&2
    
    rm -f /tmp/weed.$$
    
    exit $status

Put that somewhere in $PATH and go:

    CC='weed c89' CXX='weed CC' ./configure; make; etc

:)

-- 
Stian Sletner



More information about the geeks mailing list