From: Chris Hansen <popeofpop@so...> - 2001-04-04 14:26:57
I've downloaded and installed the latest gcc package with the patch that was
posted on this list a couple of days ago, and strangely I get an undefined
reference to _imp_cout when I link with the --static flag.
g++ -o myfile.exe myfile.cc --static
myfile.cc would in this case be a normal "Hello, world!" program using cout.
If I link without the --static flag, I have no problems, but I do not want
to use the libstdc++.dll.
I am using the binutils and ld from Mumits 2.95.2-1 package.
Get latest updates about Open Source Projects, Conferences and News.