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 15727
- From: Brian Boonstra <boonstb@xxxxxxxxxxxxx>
- To: Wes Morgan <wesm@xxxxxxxxxxxx>
- Subject: Re: Compiling zsh-4.0.2 on Mac OS X
- Date: Fri, 31 Aug 2001 12:12:24 -0500
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <3B5E0BBE.8020100@xxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <3B5E0BBE.8020100@xxxxxxxxxxxx>
You wrote:
> 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?
Hi Wes
I solved this by running
autoconf
in the top-level source directory. That gave me a configure script with
more options, including one for the ldflags, which I then set to be nothing.
I suppose this is ultimately a problem with autoconf.
Brian
Messages sorted by:
Reverse Date,
Date,
Thread,
Author