help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: c++ mode chooses "cc" as linker and cause error


From: Phil Carmody
Subject: Re: c++ mode chooses "cc" as linker and cause error
Date: Sun, 08 Feb 2009 13:58:26 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Michael Chen <address@hidden> writes:
> Dear there,
>
> on my machine, "M-x compile" choose "make -k", which in turn choose "g++" and
> "cc" for my cpp file. How can I ask emacs to pick "g++" as linker as well. 
> Note
> that for some files, I just don't want to write a makefile for it, and expect
> default make -k to work properly. thanks.

Run 'make -k' from the command-line instead of from within emacs.

If it fails the same way, the problem is in your makefile and not
emacs' fault at all.

Phil
-- 
I tried the Vista speech recognition by running the tutorial. I was 
amazed, it was awesome, recognised every word I said. Then I said the 
wrong word ... and it typed the right one. It was actually just 
detecting a sound and printing the expected word! -- pbhj on /.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]