DWT building

2013-01-24 Thread Alexandr Druzhinin
Hello How to link application against dwt lib without rdmd? I use monodevelop and need to pass arguments to compiler. if I use rdmd like this: rdmd build swtsnippets[Snippet195] it cannot find derelict and fail and I cant imagine how to pass argument to rdmd. And I'd like to use dmd instead of

Re: DWT building

2013-01-24 Thread Alexandr Druzhinin
24.01.2013 22:32, Alexandr Druzhinin пишет: Hello How to link application against dwt lib without rdmd? I use monodevelop and need to pass arguments to compiler. if I use rdmd like this: rdmd build swtsnippets[Snippet195] it cannot find derelict and fail and I cant imagine how to pass argument to

Re: DWT building

2013-01-24 Thread Jacob Carlborg
On 2013-01-24 19:00, Alexandr Druzhinin wrote: I've solved the problem with using -Jpath\to\dwt\org.eclipse.swt.snippets\res\ and linking against every lib from dwt\lib. But I think it isn't clear way - there is nothing about it in readme. The -J swtich should be handled automatically, if not,

Re: DWT building

2013-01-24 Thread Jacob Carlborg
On 2013-01-24 16:32, Alexandr Druzhinin wrote: Hello How to link application against dwt lib without rdmd? I use monodevelop and need to pass arguments to compiler. if I use rdmd like this: rdmd build swtsnippets[Snippet195] it cannot find derelict and fail and I cant imagine how to pass argument

Re: DWT building

2013-01-24 Thread Alexandr Druzhinin
25.01.2013 3:58, Jacob Carlborg пишет: To pass a flag to the compiler just pass it before the file when invoking rdmd: $ rdmd -O -release -I/path/to/derelict build swtsnippets[Snippet195] I did it, but rdmd didn't find libraries and imports in this case and this was the reason of my post. When

Re: DWT building

2013-01-24 Thread Alexandr Druzhinin
25.01.2013 3:55, Jacob Carlborg пишет: On 2013-01-24 19:00, Alexandr Druzhinin wrote: I've solved the problem with using -Jpath\to\dwt\org.eclipse.swt.snippets\res\ and linking against every lib from dwt\lib. But I think it isn't clear way - there is nothing about it in readme. The -J swtich

Re: DWT building

2013-01-24 Thread Jacob Carlborg
On 2013-01-25 07:03, Alexandr Druzhinin wrote: Before report one little qualification - -J switch should be handled automatically without dependence what build system is used? Or only when `rdmd build ...` is used? Only when "rdmd build" is used. When I think about it, you might needed it eve

Re: DWT building

2013-01-24 Thread Jacob Carlborg
On 2013-01-25 07:00, Alexandr Druzhinin wrote: I easily build dwt with rdmd, the problem occurs when I try to compile snippet195 - with opengl that needs additional imports and libs. The other snippets without auxilary dependences build easily and work properly out of box. What is interesting: r

Re: DWT building

2013-01-25 Thread Alexandr Druzhinin
25.01.2013 14:33, Jacob Carlborg пишет: Ok, I know what's going on. When running "rdmd -Ifoo build" all flags passed to rdmd is used when compiling "build.d". build.d is compiled into an executable that rdmd runs. This executable then builds the DWT library. The flags passed to rdmd are not passe

Re: DWT building

2013-01-25 Thread Alexandr Druzhinin
25.01.2013 14:15, Jacob Carlborg пишет: On 2013-01-25 07:03, Alexandr Druzhinin wrote: Before report one little qualification - -J switch should be handled automatically without dependence what build system is used? Or only when `rdmd build ...` is used? Only when "rdmd build" is used. When I

DWT building using gdc under Windows

2013-02-15 Thread Alexandr Druzhinin
Jacob, could you describe in several words the way to add this feature to build.d?

Re: DWT building using gdc under Windows

2013-02-15 Thread Jacob Carlborg
On 2013-02-15 17:33, Alexandr Druzhinin wrote: Jacob, could you describe in several words the way to add this feature to build.d? Unfortunately I have not written build.d, nether the original rake script. I can have a look at it tomorrow and see what I can do. -- /Jacob Carlborg

Re: DWT building using gdc under Windows

2013-02-17 Thread Alexandr Druzhinin
16.02.2013 4:15, Jacob Carlborg пишет: On 2013-02-15 17:33, Alexandr Druzhinin wrote: Jacob, could you describe in several words the way to add this feature to build.d? Unfortunately I have not written build.d, nether the original rake script. I can have a look at it tomorrow and see what I ca

Re: DWT building using gdc under Windows

2013-02-17 Thread Jacob Carlborg
On 2013-02-17 12:06, Alexandr Druzhinin wrote: What surprised me is compilation errors using gdc... gdc is the last build from goshawk https://bitbucket.org/goshawk/gdc/downloads I'm curious is there these errors using gdc under linux - (I guess no)? You're compiling for 64bit, that's not supp

Re: DWT building using gdc under Windows

2013-02-17 Thread Alexandr Druzhinin
17.02.2013 19:15, Jacob Carlborg пишет: On 2013-02-17 12:06, Alexandr Druzhinin wrote: What surprised me is compilation errors using gdc... gdc is the last build from goshawk https://bitbucket.org/goshawk/gdc/downloads I'm curious is there these errors using gdc under linux - (I guess no)? Yo

Re: DWT building using gdc under Windows

2013-02-17 Thread Jacob Carlborg
On 2013-02-17 14:10, Alexandr Druzhinin wrote: Oh, sorry for my mistake. But it looks like errors are here to stay: cc1d.exe: warning: pragma(lib) not implemented java/lang/util.d:81: Error: function java.lang.util.doVarArgFormat (TypeInfo[] _arguments, char* _argptr) is not callable using argum

Re: DWT building using gdc under Windows

2013-02-17 Thread Alexandr Druzhinin
17.02.2013 21:53, Jacob Carlborg пишет: On 2013-02-17 14:10, Alexandr Druzhinin wrote: Could you please ask in the GDC/GNU newsgroup? done