Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: How-to AIX + dynamic zsh?



(Sending again due to mail problems. May be a duplicate.)

Oliver Kiddle wrote:
> 
> The Corridor wrote:
> >
> > If someone has any of these working on AIX:
> >    - dynamically loadable modules
> >    - shared library for zsh itself
> > email me directions of how you got it to work.
> 
> I have exactly that working and I haven't needed to do anything
> particularly special to achieve it.
> 
> I have the following set in my .zshenv although you really shouldn't
> need them.
> 
> export CC="/bin/cc"
> export CFLAGS="-O2"
> export LDFLAGS="-s"
> 
> If you are running csh or tcsh to build zsh, you will need to type
> something like setenv CC "/bin/cc"
> 
> Unpack the zsh source and run configure. I tend to use a couple of
> parameters like --enable-functions-subdirs and
> --enable-etcdir=/usr/local/etc but these shouldn't make a difference.
> 
> When configure has finished, run make.
> 
> Which version of zsh are you trying to build? Exactly what errors or
> problems do you come up against - with details of that I can probably
> work out what the problem is? If you are compiling 3.1.6-dev-21, you
> will need my small patch to utils.c which was in message #10519. All it
> does is add mod_export to to the definition of utils.c - AIX needs an
> explicit list of all symbols shared between separate shared libraries.

Great!

Drop me a copy of your patch or point me to where I can pick it up off
the Web. I am behind a firewall, so I will need another option besides
direct CVS.

Thanks.



Messages sorted by: Reverse Date, Date, Thread, Author