www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Blackbird usage

reply Dusty <Dusty_member pathlink.com> writes:
Good morning, Il'a!
I've start to use blackbird, and it comes to my taste :))
But some minor questions disrupt this sweet :(

1. How can I pass command-line arguments to compiler? I'm personally lack of -I
option ;) but all other option also shall be usefull...
2. How can I add Windows .def-file to my project&
3. I can't figure out minimal example, sorry (maybe, later)... But whet I'd try
to transfer my project to blackbird and build it, I got some warnings that was
not appear before, under DMD 0.128. What kind of builder use blackbird - is this
D compiler that installed on my computer or some else?

Dusty ( ).
Aug 03 2005
next sibling parent Victor Nakoryakov <nail-mail mail.ru> writes:
Dusty wrote:
 Good morning, Il'a!

I'm not Il'a, but hope can help you :).
 1. How can I pass command-line arguments to compiler? I'm personally lack of -I
 option ;) but all other option also shall be usefull...

Go Preferences->Blackbird->D Compiler
 2. How can I add Windows .def-file to my project&

If I completly understand you can not do this for now. I.e. you can not use it for compilation, but can add to project by traditional way.
 3. I can't figure out minimal example, sorry (maybe, later)... But whet I'd try
 to transfer my project to blackbird and build it, I got some warnings that was
 not appear before, under DMD 0.128. What kind of builder use blackbird - is
this
 D compiler that installed on my computer or some else?

See issue #1. This is result of using '-w' dmd flag by default. Just remove it in cmdline settings. -- Victor (aka nail) Nakoryakov nail-mail<at>mail<dot>ru Krasnoznamensk, Moscow, Russia
Aug 04 2005
prev sibling parent reply "Ilya Zaitseff" <sark7 mail333.com> writes:
On Thu, 04 Aug 2005 17:40:26 +1100, Dusty <Dusty_member pathlink.com>  
wrote:

 Good morning, Il'a!
 I've start to use blackbird, and it comes to my taste :))
 But some minor questions disrupt this sweet :(

 1. How can I pass command-line arguments to compiler? I'm personally  
 lack of -I
 option ;) but all other option also shall be usefull...
 2. How can I add Windows .def-file to my project&
 3. I can't figure out minimal example, sorry (maybe, later)... But whet  
 I'd try
 to transfer my project to blackbird and build it, I got some warnings  
 that was
 not appear before, under DMD 0.128. What kind of builder use blackbird -  
 is this
 D compiler that installed on my computer or some else?

 Dusty (áÌÅËÓÁÎÄÒ äÁÈÏ×).

2. Just add it to your eclipse project as usual. In Preferences->Blackbird->D Compiler add name of your def-file to command-line. Note: These command-line settings are global and shared for all projects.
Aug 04 2005
parent Dusty <Dusty_member pathlink.com> writes:
In article <op.su0cm3lzaaezs2 ilya.tec.amursk.ru>, Ilya Zaitseff says...
On Thu, 04 Aug 2005 17:40:26 +1100, Dusty <Dusty_member pathlink.com>  
wrote:

 Good morning, Il'a!
 I've start to use blackbird, and it comes to my taste :))
 But some minor questions disrupt this sweet :(

 1. How can I pass command-line arguments to compiler? I'm personally  
 lack of -I
 option ;) but all other option also shall be usefull...
 2. How can I add Windows .def-file to my project&
 3. I can't figure out minimal example, sorry (maybe, later)... But whet  
 I'd try
 to transfer my project to blackbird and build it, I got some warnings  
 that was
 not appear before, under DMD 0.128. What kind of builder use blackbird -  
 is this
 D compiler that installed on my computer or some else?

 Dusty (áÌÅËÓÁÎÄÒ äÁÈÏ×).

2. Just add it to your eclipse project as usual. In Preferences->Blackbird->D Compiler add name of your def-file to command-line. Note: These command-line settings are global and shared for all projects.

D project - or when I want to build debug and release version separatly. Can all of hope than in some new version of Blackbird we can edit compiler command line at project/version base? With best wishes Dusty.
Aug 04 2005