Re: dllobject/libobject
"Lars Ivar Igesund" <[email protected]>
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <03d301c376f5$2ad17120$0200000a@mesmer> |
----- Original Message ----- From: "Bram Moolenaar" <[email protected]> > > Lars Ivar Igesund wrote: > > > Must I do anything special to get compileactions > > for dll and libobject to work compared with 'normal' > > objects? > > Currently there is no special compile action for "libobject". Thus it > is expected that the normal compiling works for creating an object file > that is to be linked into a library. For the time being, the difference between dllobjects/libobjects and objects with the D compiler, must be handled by the programmer, no extra flags are needed when compiling/linking. Thus I want to alias dllobject/libobject to object. But aap keep telling me that it don't know how to create libobject/ dllobject from foo.d. I have created a route: :route {default} d object,dllobject,libobject compile I've tried with actions: :action compile dllobject d etc and :action compile object,default,dllobject d etc It works fine to compile objects for a program, but not libs or dlls. I guess I need to support i through the tool file. > The existing tools "bcc", "icc" and "msvc" could probably be extended to > handle "dllobject" (and perhaps "libobject"). This should be done by > someone who can try it out. Ideas can be obtained from looking at the > SCons stuff. If I were to do it through tools, I would have to add D_DLL_COMPILE_ACTION, etc, right? I want all possibilities to be available, after all. Lars Ivar Igesund ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf