This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: Creating makefiles in gcc4.7.0


On 20/05/2012, blessman11 wrote:

>
> thanks, I'm a noob and I'm finding it hard to google decent tutorials. so
> far I'm getting stuck at linking since my hello world program would even
> compile with this line:
>
> g++ hello.cpp -o hello
>
> and all I get is an error telling that the compiler can't find the iostream
> header file. The problem here is linking and how can I solve it?

You'll need to provide the exact error if you want an answer. A
missing header is not a linker error.


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