Creating makefiles in gcc4.7.0

blessman11 blessingta@hotmail.co.uk
Sun May 20 20:03:00 GMT 2012




Tim Prince-4 wrote:
> 
> On 5/20/2012 6:05 AM, blessman11 wrote:
>>
>> How do I create makefiles for gcc4.7.0 c++ projects?
>> Has anybody got a link to an example of a "gcc4.7.0" c++11 project? And
>> also
>> a tutorial to writing makefiles for the compiler? (I've looked at the
>> general documentation and it wasn't really clear enough and mostly feels
>> a
>> bit like information overload when first looking at it)
> There are plenty of tutorials about using make with g++. If you are at 
> the beginner level, start with simple cases. If you have specific issues 
> pertaining to 4.7, you would need to clarify this.
> 
> -- 
> Tim Prince
> 
> 
> 

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?
-- 
View this message in context: http://old.nabble.com/Creating-makefiles-in-gcc4.7.0-tp33877566p33879405.html
Sent from the gcc - Help mailing list archive at Nabble.com.



More information about the Gcc-help mailing list