Mail Archives: djgpp/1997/05/02/18:44:56
I am a new user of DJGPP tools and RHIDE and I plan to use STL...
But I have a problem linking project.
When rhide link, use the command:
gcc -Xlinker -lstdcxx -oauto.exe auto.o loop.o sito.o veicle.o
(I have added "-lstdcxx" option in "Options-Linker Options" menu of
rhide).
But I see the error:
auto.o: In function `construct(Veicle *, Veicle const &)':
auto.cc:123: undefined reference to `operator new(unsigned long, void
*)'
Is correct this command?
This command not work neither at DOS-command line!
The correct command I think is:
gcc -oauto.exe auto.o loop.o sito.o veicle.o -lstdcxx
At this moment I cannot link in RHIDE!!!!
Can anyone help me?
Thank in advance.
- Raw text -