gcc makefile hello world (iostream issue)
Jonathan Wakely
jwakely.gcc@gmail.com
Mon Jun 25 14:12:00 GMT 2012
On 25 June 2012 14:17, blessman11 wrote:
>
>
>
> On 20 June 2012 23:04, blessman11 wrote:
>
>> [output]all: hello
>> -std=c++11
>>
>> objects = hello.o
>>
>> edit: $(objects)
>> g++ -o edit $(objects)
>> [/output]
>
> It's now complaining about an unidentified reference to 'std::cout', what is
> that suppose to mean when I've got a simple hello program I'm trying to run?
As I've said previously, please use the gcc-help list for such questions.
It means you're linking with gcc, not g++
More information about the Libstdc++
mailing list