delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/08/29/17:55:30

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3F4FCBB9.9538915D@phekda.freeserve.co.uk>
Date: Fri, 29 Aug 2003 22:55:05 +0100
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: LONG: fpclassify, final?
References: <200308291652 DOT h7TGqxg4001896 AT speedy DOT ludd DOT luth DOT se>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

ams AT ludd DOT luth DOT se wrote:
> 
> Here's what I'm going to commit soon. Comments?

Looks good to me, but:

[snip]
> Index: djgpp/src/libc/c99/math/makefile
> ===================================================================
> RCS file: /cvs/djgpp/djgpp/src/libc/c99/math/makefile,v
> retrieving revision 1.2
> diff -p -u -r1.2 makefile
> --- djgpp/src/libc/c99/math/makefile    22 Mar 2003 11:59:57 -0000      1.2
> +++ djgpp/src/libc/c99/math/makefile    29 Aug 2003 16:43:29 -0000
> @@ -4,5 +4,20 @@ TOP=../..
>  SRC += hugevalf.c
>  SRC += hugevall.c
>  SRC += nan.c
> +SRC += fpclassf.S
> +SRC += fpclassd.S
> +SRC += fpclassl.S
> 
>  include $(TOP)/../makefile.inc
> +
> +fpclassf.S: fp-asm.h
> +
> +fpclassd.S: fp-asm.h
> +
> +fpclassl.S: fp-asm.h
> +
> +fp-asm.h: fp-asm.sed $(TOP)/../../include/math.h
> +       sed -n -f fp-asm.sed $(TOP)/../../include/math.h > fp-asm.h
> +
> +clean::
> +       $(MISC) rm -f fp-asm.h
[snip]

misc.exe's rm doesn't have a -f option. It will remove a file called "-f". You
probably don't mean to do that.

bash-2.04$ touch -- -f blah
bash-2.04$ ls -l -- -f blah
-rw-r--r--    1 rich     root            0 Aug 29 23:02 -f
-rw-r--r--    1 rich     root            0 Aug 29 23:02 blah
bash-2.04$ ./misc.exe rm -f blah
bash-2.04$ ls -l -- -f blah
ls: -f: No such file or directory (ENOENT)
ls: blah: No such file or directory (ENOENT)

Thanks, bye, Rich =]

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019