From: Jose F. <j_r...@ya...> - 2001-11-30 16:03:20
|
Hi, Perhaps your are putting the libstdc++.a before the objects files. It must be after. It would help greatly if you could provide us the command line for the linking that Dev-C++ generates or if you tried to make the dll yourself in the command line so that we can get more hints of the source of the problem. Regards, Jose Fonseca On Fri, 2001-11-30 at 14:48, Mike McCue wrote: > For the most part, I have my dll journey figured out. I finally can get a > DLL to compile, and have figured out how to use it in a project, which all > works well. The final problem I am having is that I cannot use iostream in > the dll. > > I include iostream and try to use cout, and I get undefined reference > errors. It was suggested that I link to libstdc++.a, which I did, and I > still get these errors. I changed the include to stdio.h and used printf > and everything worked fine, I just can't figure this out. > > Anyone have any idea what I'm doing wrong ? > > Thanks, > Mike > |