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

RE: Compiling zsh-4.0.2 on Mac OS X



>
> 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