From: Keith M. <kei...@us...> - 2013-06-22 21:52:31
|
On 22/06/13 21:31, Kirk Joppy wrote: > Keith, I just noticed your extended comments on the wiki post. Thanks > for doing that. I'll read it and see if I can figure out why my specs > file doesn't seem to be doing what I want. Could this have anything to > do with the difference between invoking g++ as opposed to gcc? No; gcc and g++ share a common specs file. > I went with g++ because gcc doesn't know about std. You are right to use g++, when compiling C++ code; gcc may compile it, but it won't invoke the linker correctly. (However, if the source file is appropriately named, gcc *should* cope with namespace std just fine, when compiling to object format). > By the way, this would be a good opportunity to clean up that howto. > It seems like your comments at the bottom are really important. > Perhaps those should be moved upwards... I agree. I've considered rewriting that article, but I've never found a suitable round tuit. I'll get to it one day, if no one else beats me to the post. -- Regards, Keith. |