home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!uwm.edu!linac!att!princeton!rutgers!psinntp!psinntp!pool!ujlh
- From: ujlh@pool.info.sunyit.edu (James Henrickson)
- Newsgroups: comp.os.linux
- Subject: Problems compiling GNU make
- Message-ID: <1992Sep6.164840.24588@pool.info.sunyit.edu>
- Date: 6 Sep 92 16:48:40 GMT
- Organization: State University of New York -- Institute of Technology
- Lines: 42
-
- I have been repeatedly unable to compile GNU make. I have had this
- problem for several versions of Linux and a couple versions of GCC.
- This time I think I got the definitions right and it compiles, but
- if I use the resulting make it does something terrible. This is
- only a request for help from someone that has had similar problems.
- I am using Linux 0.97-patch2 (haven't moved up to patch3, give me
- time) and gcc 2.2.2d.
-
- Say I've got two files to compile and the desired action is as
- follows (I don't remember the original statements, just the desired
- action from make):
-
- gcc -O6 -C filea.c -o filea.o
- gcc -O6 -C fileb.c -o fileb.o
-
- (I hope I got the "-C" correct, this is from memory.)
-
- When I run make, the first line works as expected. On the second line,
- though, the "fileb.o" gets lost and gcc just sits there without giving
- me any complaints. Hitting ^C to interrupt the job and then running
- make again allows me to compile the second line correctly, but it
- does the same thing on the next file!
-
- I don't remember the exact structure of the Makefile that this is
- happening with, but I get the same behavior with other Makefiles. I'm
- only explaining the problem so that someone else might recognize it
- and mail me a fix.
-
- I know I can just be happy with the old (working) binary, but I'm
- updating all my stuff and compiling makes for a good educational
- experience. :-)
-
- [I compiled it without the load averaging, so I know I'm not
- having problems with that.]
-
- Thanks in advance,
-
- --
- Jim H.
- *
- * James L. Henrickson
- * ujlh@sunyit.edu "Some day I might have a real .signature!"
-