zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <opk@u.genie.co.uk>
To: Timothy Miller <tsm@cs.brown.edu>
Cc: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>,
	zsh-workers@sunsite.dk, tjaalton@cc.hut.fi
Subject: Re: AIX-problem: the main module won't link statically
Date: Tue, 12 Jun 2001 13:24:52 +0100	[thread overview]
Message-ID: <3B260A14.23330A7B@u.genie.co.uk> (raw)
In-Reply-To: <yehk82jugj3.fsf@water.cs.brown.edu>

Timothy Miller wrote:

> Updated `stamp-modobjs'.
> rm -f libzsh-4.0.1.so
> gcc  -s  -o libzsh-4.0.1.so  `cat stamp-modobjs` -ldl -lcurses -lm  -lc

It is still trying to link a libzsh so I suspect that the
zsh_SYS_DYNAMIC_EXECSYMS test is going wrong, possibly because the test
it does is trying to use the dl* functions. Timothy: could you please
try changing the `L=L' line somewhere in configure to `L=N'. Keep
Andrej's patch in and then try another build (after a `make distclean'
or whatever to clean things up).

Andrej wrote:
> Oliver, is it possible to compile zsh with gcc on AIX? I understand,
> currently it is assumed that we use native compiler. Or does gcc support
> the same options as native compiler?

I never tried it. The AIX machines were on an isolated network so I'd
have had to split gcc across a pile of floppies to get it over which I
never felt inclined to do. What I can tell you is that gcc would not
support the same options as the native compiler. For example, I expect
that to achieve the -L option which Timothy described in 14825, it would
need something like -Wl,-rpath,/cs/lib/zsh.

> But the second branch is never executed for AIX. Anybody remembers what's
> going on here? What DLLDFLAGS are needed on AIX? Oliver, what have you
> used?

I wish I could remember that. I don't particularly recognise "-G
-bexportall". You can try looking through the ld documentation which is
at
http://www.rs6000.ibm.com/doc_link/en_US/a_doc_lib/cmds/aixcmds3/ld.htm
but they don't seem to have the compiler's documentation there.

Oliver

_____________________________________________________________________
This message has been checked for all known viruses by the 
MessageLabs Virus Scanning Service. For further information visit
http://www.messagelabs.com/stats.asp


  parent reply	other threads:[~2001-06-12 12:25 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <001501c0eff2$70ad3ee0$21c9ca95@mow.siemens.ru>
2001-06-08 10:53 ` Oliver Kiddle
2001-06-08 11:41   ` Andrej Borsenkow
2001-06-08 11:50     ` Timo Aaltonen
2001-06-08 12:05       ` Peter Stephenson
2001-06-08 12:06       ` Andrej Borsenkow
2001-06-08 12:11         ` Andrej Borsenkow
2001-06-08 12:28           ` Timo Aaltonen
2001-06-08 13:01             ` Andrej Borsenkow
2001-06-08 12:12         ` Timo Aaltonen
2001-06-08 14:23     ` Oliver Kiddle
2001-06-09  8:52       ` Andrej Borsenkow
2001-06-11 16:29         ` Timothy Miller
2001-06-11 17:58           ` Andrej Borsenkow
2001-06-12  6:06             ` Strange tests in configure " Andrej Borsenkow
2001-06-12 12:24           ` Oliver Kiddle [this message]
2001-06-15  9:11             ` Timo Aaltonen
     [not found] <Pine.SV4.4.33.0106120954500.24714-200000@itsrm2.mow.siemens.ru>
     [not found] ` <yeh3d95lsa0.fsf@water.cs.brown.edu>
2001-06-12 17:58   ` Andrej Borsenkow
2001-06-12 18:19     ` Peter Stephenson
2001-06-12 19:14       ` Bart Schaefer
2001-06-12 20:09         ` Wayne Davison
2001-06-13  9:20           ` Peter Stephenson
2001-06-13  8:46         ` Sven Wischnowsky
2001-06-13  8:48           ` Sven Wischnowsky
     [not found] <Pine.LNX.4.10.10106081111000.23818-100000@nexus6.hut.fi>
2001-06-08  8:55 ` Andrej Borsenkow

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=3B260A14.23330A7B@u.genie.co.uk \
    --to=opk@u.genie.co.uk \
    --cc=Andrej.Borsenkow@mow.siemens.ru \
    --cc=tjaalton@cc.hut.fi \
    --cc=tsm@cs.brown.edu \
    --cc=zsh-workers@sunsite.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).