This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc makefile hello world (iostream issue)


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++


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]