From: Peter Stephenson <pws@ibmth.df.unipi.it>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH zsh-3.1.5-pws-7: cygwin make fixes
Date: Mon, 08 Feb 1999 11:29:15 +0100 [thread overview]
Message-ID: <9902081029.AA35641@ibmth.df.unipi.it> (raw)
In-Reply-To: "Peter Stephenson"'s message of "Mon, 08 Feb 1999 10:55:30 NFT." <9902080955.AA34221@ibmth.df.unipi.it>
I wrote:
> Bart wrote:
> > 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.
As configure.in contains AC_TRY_RUN statements, it looks to me
unlikely that the zsh build system supports cross-compilation anyway
--- this is specifically warned about in the autoconf manual ---
in which case there's no objection to Matt's patch. Does anyone know
for a fact that zsh has ever been successfully cross-compiled?
FYI, the tests that currently have to be run, rather than just
compiled, are the following. All but the first five are to do with
dynamically linked libraries.
- signed to unsigned casting
- if tgetent accepts NULL
- if rlim_t is quad_t
- if rlim_t is unsigned
- if named FIFOs work
- for ELF binaries
- if dlsym() needs a leading underscore
- if static/shared linking is broken
- if name clashes in shared objects are ok
- whether cross-library links are ok
- for working RTLD_GLOBAL
- if libraries can find symbols in exec
- whether executables can be stripped
- if dynamically loaded libs can be stripped
--
Peter Stephenson <pws@ibmth.df.unipi.it> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
next prev parent reply other threads:[~1999-02-08 10:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
1999-02-08 16:54 ` Bart Schaefer
1999-02-08 17:40 ` PATCH: zsh-3.1.5-pws-7: another go at signames Peter Stephenson
1999-02-08 6:49 PATCH zsh-3.1.5-pws-7: cygwin make fixes Matt Armstrong
1999-02-08 17:12 Matt Armstrong
1999-02-08 17:19 Matt Armstrong
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=9902081029.AA35641@ibmth.df.unipi.it \
--to=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).