git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: build issues on AIX - aka non-GNU environment, no gnu grep, no gcc

From
MFMichael Felt <aixtools@gmail.com>
Date
Sep 12, 2016, 22:44 UTC
Message-ID
<d746a170-a0b0-cc2a-9d27-f146d872595e@gmail.com>
In-Reply-To
<xmqqy42wzx1f.fsf@gitster.mtv.corp.google.com>
Try again, reply all this time...
On 12-Sep-16 22:24, Junio C Hamano wrote:
Show 12 quoted lines
> 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?

Ah - read the manual heh?. Generally, I just download, unpack, and run configure. I do not mind needing an extra tool - as long as it is only for the build.

And, since you have something about it in your (still unread) install Notes - it has not slipped in by accident.

>
> Thanks for helping to spread Git to minority platforms.

The link is: http://www.aixtools.net/index.php/git I do not use it much (I prefer to package "distributed" src tarballs, but when testing a potential fix - git can be extremely useful!

All in all, thanks for an easy to port to a "minority" platform!
Previous: Junio C Hamano
Message 3 of 3 in “build issues on AIX - aka non-GNU environment, no gnu grep, no gcc”
  1. Michael FeltSep 12, 2016
  2. Junio C HamanoSep 12, 2016
  3. Michael FeltSep 12, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.