Re: build issues on AIX - aka non-GNU environment, no gnu grep, no gcc
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 12, 2016, 20:24 UTC
- Message-ID
- <xmqqy42wzx1f.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CANvxniXkbAKgjm+NZ0cyyCToEYp23Kd8s4yxSqUOsAUAHJSA7g@mail.gmail.com>
Michael Felt <aixtools@gmail.com> writes:
> I had a couple of issues when packaging git for AIX > a) option -Wall by default - works fine with gcc I am sure, but not so > well when gcc is not your compiler
That is expected. As you said, it is merely "by default" and there are mechanisms like config.mak provided for people to override them.
> b) needs a special (GNU) grep argument (-a from memory). This I > resolved by downloading and packaging GNU grep. However, I hope this > has not introduced a new dependency.
Read the Makefile and find SANE_TEXT_GREP, perhaps?
Thanks for helping to spread Git to minority platforms.