home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!eos!data.nas.nasa.gov!taligent!apple!golem.apple.com!avi
- From: avi@golem.apple.com (Avi Weiss)
- Newsgroups: comp.sys.sgi
- Subject: How to turn off Optimization?
- Message-ID: <29603@goofy.Apple.COM>
- Date: 20 Aug 92 17:47:40 GMT
- Sender: usenet@Apple.COM
- Organization: Apple Computer, Inc.
- Lines: 43
-
- Hi there ;
-
- I have a simple makefile which has
-
- CC= cc
- INCLUDE= -I/usr/include/X11 -I/usr/video/vli/include
- LIBS= -lvli -lm -lgl_s
- SHELL = /bin/sh
- CFLAGS = -DSTRINGS_ALIGNED -DNO_ISDIR -D_NO_PROTO -DUSE_RECOMP \
- -DUSE_GETWD -DNO_REGEX -DR4_INTRINSICS
-
- SRC= source1.c source2.c
- OBJECTS= source1.o source2.o
- TARGET = a.out
-
- $(TARGET) : $(OBJECTS)
- $(CC) $(CFLAGS) $(OBJECTS) -o $@ $(LIBS)
-
- however, when I type "make a.out", make somehow puts in a "-j" when compiling:
-
- cc -DSTRINGS_ALIGNED -DNO_ISDIR -D_NO_PROTO -DUSE_RECOMP -DUSE_GETWD
- -DNO_REGEX -DR4_INTRINSICS -j source1.c
-
- then, after it makes the .u file:
-
- cc -DSTRINGS_ALIGNED -DNO_ISDIR -D_NO_PROTO -DUSE_RECOMP -DUSE_GETWD
- -DNO_REGEX -DR4_INTRINSICS -c source1.u
-
- I haven't been able to determine why this is happening. If someone knows of
- "make" defaults or if I'm doing something or not doing something, please let
- me know as I need to shut off the optimization so I can use casevision.
-
- thanks
-
- - Avi
-
- --------------------
- Avi Weiss
-
- email: (avi@apple.com)
- phone: (408) 974-0582
-
- Of course I don't speak for Apple...they don't pay me enough to do so.
-