digitalmars.D - when I compile my compiler don't found the standard library
- lechon <jose5sp gmail.com> Dec 03 2008
- Ary Borenszweig <ary esperanto.org.ar> Dec 03 2008
- Lars Kyllingstad <public kyllingen.NOSPAMnet> Dec 03 2008
- lechon <jose5sp gmail.com> Dec 03 2008
- Lars Kyllingstad <public kyllingen.NOSPAMnet> Dec 03 2008
hi to all. I'm trying to create one program with D using the editor eclipse, that I have add a plugin for the language D. My problem arrives when I go to compile, because the program don't found the library stdio, but If I use the libraries tango, the compiler works perfectly. żAnybody can help me?
Dec 03 2008
lechon wrote:hi to all. I'm trying to create one program with D using the editor eclipse, that I have add a plugin for the language D. My problem arrives when I go to compile, because the program don't found the library stdio, but If I use the libraries tango, the compiler works perfectly. żAnybody can help me?
That depends more on your D installation than on the eclipse plugin (I guess Descent?). How did you install D? And how are you compiling from Descent?
Dec 03 2008
lechon wrote:hi to all. I'm trying to create one program with D using the editor eclipse, that I have add a plugin for the language D. My problem arrives when I go to compile, because the program don't found the library stdio, but If I use the libraries tango, the compiler works perfectly. żAnybody can help me?
The module std.stdio is a part of Phobos, the standard library for D. Tango is an alternative standard library, meant as a *replacement* for Phobos. My guess is that you have installed the D compiler bundled with Tango. (Am I right?) If you want to use both libraries at the same time, you could install Tangobos: http://www.dsource.org/projects/tangobos Tangobos, however, is primarily meant to make it easy to port legacy code from Phobos to Tango. For new projects it is better to just stick with one standard library. Functions corresponding to the std.stdio ones can be found in the tango.Stdout module. -Lars
Dec 03 2008
Ari and Lars first of all thank you for your answer Yes, I'm using "Descents" plugin and DSSS for compiling. I have found the file "libphobos.a" in the directory /usr/lib. But also I have the two libraries (libphobos.a and libtango) in the directory of "dmd" dmd/lib/. Where is the correct directory for the libraries?
Dec 03 2008
lechon wrote:Ari and Lars first of all thank you for your answer Yes, I'm using "Descents" plugin and DSSS for compiling. I have found the file "libphobos.a" in the directory /usr/lib. But also I have the two libraries (libphobos.a and libtango) in the directory of "dmd" dmd/lib/. Where is the correct directory for the libraries?
Could it be that one (or both) of the libphobos.a files is a link to libtango.a? I use GDC, and not DMD, so I'm just guessing here. I believe the name of the library is hard-coded into the compiler, so to use Tango one has to replace the actual library file. -Lars
Dec 03 2008









Ary Borenszweig <ary esperanto.org.ar> 