Author Topic: Changing standard message file...  (Read 8694 times)

nobody

  • Guest
Changing standard message file...
« on: December 23, 2008, 10:39:00 AM »
NASM has, for a long time, reported 'nasm -v' status on stdout.  It has been changed in 2.06rc2 to stderr.  This has broken a few of my makefiles that have been working for years.  

Yes, it was a simple, and more reliable patch to add 2>&1 to $(if $(shell nasm -v 2>&1),do_nasm_things,), but probabl not something that should have been modified, just because... while yes, standard out could be useful to have clean for other purposes...

Just noting you cost me 2 cents.

Jim

  • Guest
Re: Changing standard message file...
« Reply #1 on: January 15, 2009, 02:53:17 AM »
Okay that should not have been anonymous.  

Please! fix that nasm -v output goes to stderr now.  It used to go to stdout, and is a great place to have it.

Jim

  • Guest
Re: Changing standard message file...
« Reply #2 on: January 15, 2009, 02:56:21 AM »
I dunno... maybe i can find some other null command to tell if nasm is there that goes to stdout... if I capture stderr, then I get shell error messages that satisfy a makefile statment

$(if $(shell nasm -v),have_nasm,no_nasm)

Jim

  • Guest
Re: Changing standard message file...
« Reply #3 on: January 15, 2009, 02:57:36 AM »
yeah - that's a huge input block, oh well.