Opened 19 years ago

Last modified 19 years ago

#53 closed defect (fixed)

Error generating arith.h

Reported by: morandini Owned by: morandini
Priority: critical Milestone:
Component: Version:
Keywords: Cc: morandini, Adrian Pop

Description


Change History (1)

comment:1 by morandini, 19 years ago

In unix, the default executable name is a.out, and not a.exe (as in cygwin),
so the arith.h generation fails.
This patch fixes the problem

Index: c_runtime/libf2c/makefile.u
===================================================================
--- c_runtime/libf2c/makefile.u (revision 2037)
+++ c_runtime/libf2c/makefile.u (working copy)
@@ -179,8 +179,8 @@

xwsne.o: fmt.h


arith.h: arithchk.c

$(CC) $(CFLAGS) -DNO_FPINIT arithchk.c -lm
  • $(CC) -DNO_LONG_LONG $(CFLAGS) -DNO_FPINIT arithchk.c -lm
+ $(CC) -o a.exe $(CFLAGS) -DNO_FPINIT arithchk.c -lm

+ $(CC) -o a.exe -DNO_LONG_LONG $(CFLAGS) -DNO_FPINIT arithchk.c -lm

./a.exe >arith.h
rm -f a.exe arithchk.o

Note: See TracTickets for help on using tickets.