delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/02/18:44:56

From: daniele DOT prato AT iol DOT it (Daniele Prato)
Newsgroups: comp.os.msdos.djgpp
Subject: RHIDE & STL link command bug?
Date: Fri, 02 May 1997 20:59:52 GMT
Organization: Italia Online
Lines: 25
Message-ID: <336a5032.11085183@news.iol.it>
Reply-To: daniele DOT prato AT iol DOT it
NNTP-Posting-Host: 195.45.8.55
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019