<html>
<head>
</head>
<body>
<br>
Ralf Corsepius wrote:<br>
<blockquote type="cite" cite="mid:1046318582.3784.5967.camel@mccallum.corsepiu.faw.uni-ulm.de">
<pre wrap="">Am Mit, 2003-02-26 um 22.46 schrieb Angelo Fraietta:<br></pre>
<blockquote type="cite">
<pre wrap="">I am getting the followingh link error when I try to build my exe (the <br>rtems source builds fine)<br><br>i386-rtems-gcc --pipe -B/opt/rtems/i386-rtems/pc386/lib/ -specs <br>bsp_specs -qrtems -g -Wall -O4 -g -D_E_STL -I ../../../estl <br>-I ../engine -I ../engineinterface -I ../hal_include -I ../link_driver <br>-I ../../../threads/source -I ../../../mididriver -I <br>../../../mididriver/hal_rtems -Wl,-Ttext,0x00100000 -o <br>o-optimize/smart.obj o-optimize/diags.o o-optimize/rtems_init.o <br>o-optimize/midioutput.o o-optimize/scheduler.o <br>o-optimize/rtems_simulator.o o-optimize/commtasks.o <br>/opt/rtems/i386-rtems/pc386/lib/no-dpmem.rel <br>/opt/rtems/i386-rtems/pc386/lib/no-mp.rel <br>/opt/rtems/i386-rtems/pc386/lib/no-part.rel <br>/opt/rtems/i386-rtems/pc386/lib/no-signal.rel <br>../engine/o-optimize/sm_engine.a <br>../engineinterface/o-optimize/sm_engineinterface.a <br>../engine/o-optimize/sm_engine.a <br>../link_driver/o-
optimize/sm_link_driver.a <br>../link_driver/hal_rtems/o-optimize/sm_comm.a <br>../../../threads/source/o-optimize/sm_rtems_active.a <br>../../../threads/source/hal_rtems/o-optimize/sm_rtems_thread.a <br>../../../mididriver/hal_rtems/o-optimize/rtems_midi.a -lstdc++ -v<br></pre>
</blockquote>
<pre wrap=""><!---->Where does this -lstdc++ come from?<br><br>Linking c++ applications using <br>gcc <args> -lstdc++<br>is wrong. You must use<br>g++ <args><br>instead.<br><br></pre>
</blockquote>
This has been in my project since Oct 2000<br>
<br>
I added<br>
<pre>LINK_LIBS += -lstdc++</pre>
to my project makefile<br>
<br>
Is this changed now?<br>
<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.oarcorp.com/rtems/maillistArchives/rtems-users/2000/october/msg00078.html">http://www.oarcorp.com/rtems/maillistArchives/rtems-users/2000/october/msg00078.html</a><br>
<a class="moz-txt-link-freetext" href="http://www.oarcorp.com/rtems/maillistArchives/rtems-users/2000/october/msg00053.html">http://www.oarcorp.com/rtems/maillistArchives/rtems-users/2000/october/msg00053.html</a><br>
<pre class="moz-signature" cols="$mailwrapcol">--
Angelo Fraietta
PO Box 859
Hamilton NSW 2303
Home Page
<a class="moz-txt-link-freetext" href="http://www.users.bigpond.com/angelo_f/">http://www.users.bigpond.com/angelo_f/</a>
There are those who seek knowledge for the sake of knowledge - that is CURIOSITY
There are those who seek knowledge to be known by others - that is VANITY
There are those who seek knowledge in order to serve - that is LOVE
Bernard of Clairvaux (1090 - 1153)</pre>
<br>
</body>
</html>