www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Problem with Tangobos

reply bearophile <bearophileHUGS lycos.com> writes:
Hello, I have recently installed tangobos, and I have found a problem.
Using DMD 1.029, when I compile the code with -O -release the compilation
happens.
If I add -inline the compilation stops with errors like:
http://codepad.org/I5fHzuxD

I compile the code with a command like:
rebuild.exe -IC:some_lib_path -full -clean -O -release nomedile.d

Do you have suggestions?

Bye,
bearophile
Jun 17 2008
next sibling parent Bill Baxter <dnewsgroup billbaxter.com> writes:
bearophile wrote:
 Hello, I have recently installed tangobos, and I have found a problem.
 Using DMD 1.029, when I compile the code with -O -release the compilation
happens.
 If I add -inline the compilation stops with errors like:
 http://codepad.org/I5fHzuxD
 
 I compile the code with a command like:
 rebuild.exe -IC:some_lib_path -full -clean -O -release nomedile.d
 
 Do you have suggestions?
 
 Bye,
 bearophile
Sounds like this: http://d.puremagic.com/issues/show_bug.cgi?id=1629 Try changing the rebuild setup to compile all-at-once instead of one-at-a-time. --bb
Jun 17 2008
prev sibling parent reply bearophile <bearophileHUGS lycos.com> writes:
Bill Baxter:
 Try changing the rebuild setup to compile all-at-once instead of 
 one-at-a-time.
Please, can you give me a hint regarding how to do this, or a page/doc/URL that explains how to do it? I am not able to find any documentation or any command line option regarding this (and I am not even able to find the rebuilt setup file, maybe I have to create it, but I don't know where to create it). Bye and sorry being ignorant, bearophile
Jun 17 2008
parent Bill Baxter <dnewsgroup billbaxter.com> writes:
bearophile wrote:
 Bill Baxter:
 Try changing the rebuild setup to compile all-at-once instead of 
 one-at-a-time.
Please, can you give me a hint regarding how to do this, or a page/doc/URL that explains how to do it? I am not able to find any documentation or any command line option regarding this (and I am not even able to find the rebuilt setup file, maybe I have to create it, but I don't know where to create it). Bye and sorry being ignorant, bearophile
In your dsss\etc\rebuild\ directory find the profile file that corresponds to the version of D that you're using. Find the lines that say "oneatatime=yes" and change them to "oneatatime=no". There are some possible side effects. Namely, a different set of linker errors. --bb
Jun 17 2008