[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Snapshot 20030128 broke my buildt

Ralf Corsepius wrote:

>Am Mit, 2003-02-26 um 22.46 schrieb Angelo Fraietta:
>>I am getting the followingh link error when I try to build my exe (the 
>>rtems source builds fine)
>>i386-rtems-gcc --pipe -B/opt/rtems/i386-rtems/pc386/lib/ -specs 
>>bsp_specs -qrtems   -g -Wall  -O4 -g       -D_E_STL    -I ../../../estl  
>>-I ../engine -I ../engineinterface -I ../hal_include -I ../link_driver 
>>-I ../../../threads/source -I ../../../mididriver -I 
>>../../../mididriver/hal_rtems       -Wl,-Ttext,0x00100000 -o 
>>o-optimize/smart.obj  o-optimize/diags.o o-optimize/rtems_init.o 
>>o-optimize/midioutput.o o-optimize/scheduler.o 
>>o-optimize/rtems_simulator.o o-optimize/commtasks.o  
>>../../../mididriver/hal_rtems/o-optimize/rtems_midi.a -lstdc++ -v
>Where does this -lstdc++ come from?
>Linking c++ applications using 
>gcc <args> -lstdc++
>is wrong. You must use
>g++ <args>
This has been in my project since Oct 2000

I added

LINK_LIBS += -lstdc++

to my project makefile

Is this changed now?


Angelo Fraietta

PO Box 859
Hamilton NSW 2303

Home Page


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)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rtems.rtems.org/pipermail/rtems-users/attachments/20030227/ba0a7c1c/attachment.html