Re: dllobject/libobject
Bram Moolenaar <[email protected]>
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <[email protected]> |
Lars Ivar Igesund wrote:
> > It appears indents are messed up. Does your mailer replace tabs with a
> > space?
>
> Since it's Outlook Express, I expect it to mess up as much as possible.
:-)
> > From the tail of the log:
> >
> > > depend: 3 - Updating "build-nt\bar.sob" from "bar.d{filetype=3Dd}": no =
> > > old signature for "bar.d"
> > > extra: Do compile d -> dllobject
> > > error: Error in recipe "c:/documents and settings/lars =
> > > ivar/aap/startup/dmodule.aap" line 85: Error executing commands for =
> > > compile d: Error in recipe "c:/documents and settings/lars =
> > > ivar/aap/startup/dmodule.aap" line 32: No commands defined for =
> > > compile_dmd dllobject from d
> >
> > Where did that "compile_dmd" come from? There must be a
> > ":do compile_dmd <file>" somewhere, and there apparently is no
> > compile_dmd action defined for a 'dllobject" filetype.
>
> It came from the tool file.
>
> > If you can't figure it out, please send the whole dmodule.aap to me,
> > otherwise we keep doing it bit by bit.
>
> I have figured it out now. I specified
> compile_dmd object,dllobject,libobject d
> in the dmd tool file.
I suppose you mean that you now added an action for "compile_dmd" and
that made it work.
> In the case where these objects would need to
> be compiled in different ways or at least with different flags, would
> I then need to define D_COMPILE_ACTION,
> D_DLL_COMPILE_ACTION, etc?
For your own work this would not be needed. But if this module is added
to the Aap distribution it becomes relevant.
> Also, another problem, dmd don't get the sob DLLOBJSUF, it need
> .obj. How/where should this be set up?
Do you mean that using ".sob" does not work? This is a fake suffix,
used to separate the object compiled for use in a dll from the same file
compiled for linking in a program. What is the error you get when using
".sob"?
Anyway, if your module for using the "d" language now works, I would be
interested in seeing it. I intend to write a chapter in the
documentation about adding a new language (possibly together with
Adriaan, who is working on :import). It would be good if we can use a
real-life example.
> A child recipe problem I forgot to mention in my last mail; If the objects
> are kept in a subdir and pointed to through :child, there aren't created
> any dependency log in the subdirs.
Do you mean the "file.c.aap" file that contains the automatically
generated dependencies?
--
[Another hideous roar.]
BEDEVERE: That's it!
ARTHUR: What?
BEDEVERE: It's The Legendary Black Beast of Aaaaarrrrrrggghhh!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf