g++ identity crisis, slink
Hi, I'm running slink and I was trying to 'make' some c++ programs I was messing around with the other day and discovered that even though my Makefile says to use g++, make was using cc to compile the programs. /usr/bin/g++ is a program, not a link to anything. If I rename /usr/bin/cc, make refuses to run. I did do a make -v to make sure it was GNU make, and it is. (someone mentioned to me that this might be an issue) Now, I vaguely remember something in setting up my system that might have had something to do with which compiler I liked or wanted to be default or something... but it's really hazy and I could be wrong. _Is_ there something like that in the debian set-up and, if so, is there a way to change/override it? -Alice Alice M. Pinard Casco Indemnity Company [EMAIL PROTECTED]
Re: g++ identity crisis, slink
On Wed, Jun 28, 2000 at 11:55:04 -0400, [EMAIL PROTECTED] wrote: Hi, I'm running slink and I was trying to 'make' some c++ programs I was messing around with the other day and discovered that even though my Makefile says to use g++, make was using cc to compile the programs. This smells like a bug in your makefile. What does make -n say? Does make -d provide clues? What does your makefile look like? Ray -- UNFAIR Term applied to advantages enjoyed by other people which we tried to cheat them out of and didn't manage. See also DISHONESTY, SNEAKY, UNDERHAND and JUST LUCKY I GUESS. - The Hipcrime Vocab by Chad C. Mulligan
Re: g++ identity crisis, slink
Um... never mind... I found it. (.C, not .c ... sheesh) (thanks anyway :) From: [EMAIL PROTECTED] To: debian-user@lists.debian.org Subject:g++ identity crisis, slink Date sent: Wed, 28 Jun 2000 11:54:54 -0400 Hi, I'm running slink and I was trying to 'make' some c++ programs I was messing around with the other day and discovered that even though my Makefile says to use g++, make was using cc to compile the programs. /usr/bin/g++ is a program, not a link to anything. If I rename /usr/bin/cc, make refuses to run. I did do a make -v to make sure it was GNU make, and it is. (someone mentioned to me that this might be an issue) Now, I vaguely remember something in setting up my system that might have had something to do with which compiler I liked or wanted to be default or something... but it's really hazy and I could be wrong. _Is_ there something like that in the debian set-up and, if so, is there a way to change/override it? -Alice Alice M. Pinard Casco Indemnity Company [EMAIL PROTECTED]