Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: Compiling zsh-4.0.2 on Mac OS X
- X-seq: zsh-workers 15476
- From: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: Wes Morgan <wesm@xxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Subject: RE: Compiling zsh-4.0.2 on Mac OS X
- Date: Wed, 25 Jul 2001 09:31:38 +0400
- Importance: Normal
- In-reply-to: <3B5E0BBE.8020100@xxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
>
> I'm trying to compile zsh-4.0.2 on Mac OS X (10.0.4). I guess the linker
> is pretty weird (it's from Apple, not GNU). Here's where make fails:
>
> cc -s -o zsh main.o `cat stamp-modobjs` -lm -lc
> /usr/bin/ld: can't use -s with input files containg indirect symbols
> (output file must contain at least global symbols, for maximum stripping
> use -x)
> make[1]: *** [zsh] Error 1
> make: *** [all] Error 1
>
> Has anyone gotten zsh-4 to link on Darwin/Mac OS X? If not, any ideas
> what I could try to get this to work?
>
The first try is to configure with --enable-zsh-debug. This is the simplest
method to turn off -s (strip) flag.
Of course, if you can figure out what these "indirect symbols" are (some
linkers provide verbose flags) it would be really helpful.
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author