zsh-workers
 help / color / mirror / code / Atom feed
From: "Matt Armstrong" <mattarmst@hotmail.com>
To: pws@ibmth.df.unipi.it, zsh-workers@sunsite.auc.dk
Subject: Re: PATCH zsh-3.1.5-pws-7: cygwin make fixes
Date: Mon, 08 Feb 1999 09:19:02 PST	[thread overview]
Message-ID: <19990208171902.12887.qmail@hotmail.com> (raw)

>"Bart Schaefer" wrote:
>> On Feb 7, 10:49pm, Matt Armstrong wrote:
>> } Subject: PATCH zsh-3.1.5-pws-7: cygwin make fixes
>> }
>> } I fixed #2 by re-doing the way signames.c is created.  
>> } Instead of a AWK script that gets run on a signal.h file, 
>> } a C program is compiled and run.  This gets it right even 
>> } if the signal.h file is hard to parse.
>> 
>> I haven't examined the patch in detail to check this, but did 
>> you make sure that the compilation of this program is 
>> performed in such a way that it executes correctly on the 
>> current hardware even when cross-compiling for >> another 
architecture?
>
>The trouble is mksignames actually has to run on the target
>architecture to generate the appropriate signal names.  I don't know
>if there's any way of doing that at all with autoconf.  Any more
>ideas?  We could maybe make it conditional on not cross-compiling,
>since it does solve the #include problem fairly neatly.

Check out my argument to Bart about why I think the mksignames.c
scheme is no less broken than signames.awk in this regard.  I think
there is a good chance that cross compiling was already broken, at
least with respect to finding all the signal names.

(And if this is the case, perhaps the code in mksignames.c 
should be stuck into zsh itself, wasting a bit of RAM but 
getting it right in all cases.)


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


             reply	other threads:[~1999-02-08 17:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-08 17:19 Matt Armstrong [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-02-08 17:12 Matt Armstrong
1999-02-08  6:49 Matt Armstrong
1999-02-08  6:49 Matt Armstrong
1999-02-08  7:26 ` Bart Schaefer
1999-02-08  9:55   ` Peter Stephenson
1999-02-08 10:29     ` Peter Stephenson
1999-02-08 16:54       ` Bart Schaefer

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=19990208171902.12887.qmail@hotmail.com \
    --to=mattarmst@hotmail.com \
    --cc=pws@ibmth.df.unipi.it \
    --cc=zsh-workers@sunsite.auc.dk \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).