From: Mumit Khan <khan@xraylith.wisc.edu>
To: earnie_boyd@yahoo.com
Cc: Andrew Mickish <mickish@cmu.edu>,
Glen Fullmer-EGF002 <Glen_Fullmer-EGF002@email.mot.com>,
gnu-win32@cygnus.com
Subject: Re: dll, java, gcc, cygwin
Date: Sun, 25 Oct 1998 09:45:00 -0000 [thread overview]
Message-ID: <9810251745.AA23948@modi.xraylith.wisc.edu> (raw)
In-Reply-To: <19981025143634.29840.rocketmail@send1e.yahoomail.com>
Earnie Boyd <earnie_boyd@yahoo.com> writes:
> Please, group them together for ease of spliting the file, i.e.:
>
> ThisFunc=ThisFunc@8
> ThatFunc=ThatFunc@8
> ThisFunc@8
> ThatFunc@8
>
Earnie,
A good suggestion, but unfortunately that's going to be messy since all
the exports are sorted, and I don't really want to add special logic just
for this. Easiest way to split is to just re-create without the new
--add-stdcall-alias option (or use sed/perl/awk/what-not).
How about I add a special comment to each auto-added alias, such as
``added by --add-stdcall-alias'' that you can use to delete those lines?
There's always an easy way out -- use sed or perl. For example, to turn
foo.def:
EXPORTS
foo@1 @ 1; add alias to this
blah @ 2; don't mess with this one
into foo2.def:
EXPORTS
foo = foo@1 @ 1; add alias to this
blah @ 2; don't mess with this one
I would use the following:
$ < foo.def > foo2.def \
sed -e 's,\([A-Za-z$:\-\_?][A-Za-z0-9/$:\-\_?]*\)\(@[0-9]*\),\1 = \1\2,'
But, since regexp seem to give people a stomach ache, I've added the
--add-stdcall-alias (and hopefully soon I'll upload a new version of
dllhelpers package that includes this dlltool and an enhanced dllwrap
that adds a few useful features).
Note that the regexp above is almost the same as the one used in binutils
to recognize IDs, except for the missing '@' in \1.
Regards,
Mumit
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
next prev parent reply other threads:[~1998-10-25 9:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-25 6:39 Earnie Boyd
1998-10-25 9:45 ` Mumit Khan [this message]
1998-10-26 8:15 ` scp/ssh under cygwin32 Jonathan Lin
1998-10-27 6:20 ` Jan Tomasek
-- strict thread matches above, loose matches on Subject: below --
1998-10-28 0:40 dll, java, gcc, cygwin Earnie Boyd
1998-10-27 15:02 ` Mumit Khan
1998-10-29 8:16 ` Glen Fullmer-EGF002
[not found] <Pine.SUN.3.93.981026173739.25460B-100000@modi.xraylith.wisc.edu>
1998-10-26 16:05 ` Glen Fullmer-EGF002
1998-10-25 20:17 Philip A. Larson
1998-10-23 23:07 Philip A. Larson
1998-10-24 10:29 ` John A. Turner
1998-10-21 10:06 Glen Fullmer-EGF002
1998-10-23 0:05 ` Andrew Mickish
1998-10-24 14:15 ` Mumit Khan
1998-10-23 6:03 ` Mumit Khan
1998-10-24 3:21 ` Glen Fullmer-EGF002
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9810251745.AA23948@modi.xraylith.wisc.edu \
--to=khan@xraylith.wisc.edu \
--cc=Glen_Fullmer-EGF002@email.mot.com \
--cc=earnie_boyd@yahoo.com \
--cc=gnu-win32@cygnus.com \
--cc=mickish@cmu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).