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

Re: [PATCH] 0002 This patch is to allow 12 different OS's to compile and run git.

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Jun 7, 2008, 00:47 UTC
Message-ID
<alpine.LNX.1.00.0806062043350.19665@iabervon.org>
In-Reply-To
<Pine.LNX.4.64.0806061822220.18454@xenau.zenez.com>
On Fri, 6 Jun 2008, Boyd Lynn Gerber wrote:
Show 62 quoted lines
> From db0574a7f89bb90b6ce02cd44053f8cec2c454cc
> 
> This patch has patches to
> 
> Makefile
> git-compat-util.h
> progress.c
> 
> This patch allows some older OS's, SCO OpenServer 5.0.X, SCO UnixWare 7.1.4,
> and OpenServer 6.0.X to build and run git.  Applied suggestions from list.
> 
>         Developer's Certificate of Origin 1.1
> 
>         By making a contribution to this project, I certify that:
> 
>         (a) The contribution was created in whole or in part by me and I
>             have the right to submit it under the open source license
>             indicated in the file; or
> 
>         (b) The contribution is based upon previous work that, to the best
>             of my knowledge, is covered under an appropriate open source
>             license and I have the right under that license to submit that
>             work with modifications, whether created in whole or in part
>             by me, under the same open source license (unless I am
>             permitted to submit under a different license), as indicated
>             in the file; or
> 
>         (c) The contribution was provided directly to me by some other
>             person who certified (a), (b) or (c) and I have not modified
>             it.
> 
>         (d) I understand and agree that this project and the contribution
>             are public and that a record of the contribution (including all
>             personal information I submit with it, including my sign-off) is
>             maintained indefinitely and may be redistributed consistent with
>             this project or the open source license(s) involved.
> 
> Signed-off-by: Boyd Lynn Gerber <gerberb@zenez.com>
> 
> --
> Boyd Gerber <gerberb@zenez.com>
> ZENEZ   1042 East Fort Union #135, Midvale Utah  84047
> 
> diff --git a/Makefile b/Makefile
> index cce5a6e..a0456c8 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -165,6 +165,28 @@ uname_P := $(shell sh -c 'uname -p 2>/dev/null || echo not')
>  # CFLAGS and LDFLAGS are for the users to override from the command line.
>  
>  CFLAGS = -g -O2 -Wall
> +ifeq ($(uname_S),SCO_SV)
> +	ifeq ($(uname_R),3.2)
> +#	Change to -O2 for released version
> +#	CFLAGS = -O2
> +#	Debug Version
> +		CFLAGS = -g
> +	endif
> +#	For System V based OS's
> +	ifeq ($(uname_R),5)
> +#	For System V based OS's and shared libraries
> +		CFLAGS = -g -O2 -Wall

You don't need this, because CFLAGS is already -g -O2 -Wall, since we set it above and couldn't have changed it.

> +#	Use for Static version
> +#		CFLAGS = -g -O2
Static libraries don't support -Wall?
Show 6 quoted lines
> +	endif
> +endif
> +#	For all UnixWare Versions.
> +ifeq ($(uname_S),UnixWare)
> +#	For System V based OS's and shared libraries
> +	CFLAGS = -g -O2 -Wall
Again, this just sets it to what it must already be.

You might want to test something the person doing the build can put somewhere, rather than commenting out the lines you're not using.

	-Daniel
*This .sig left intentionally blank*
Previous: Boyd Lynn GerberNext: Boyd Lynn Gerber
Message 11 of 24 in “This patch is to allow 12 different OS's to compile and run git.”
  1. This patch is to allow 12 different OS's to compile and run git.Boyd Lynn Gerber, Jun 6, 2008
  2. Jeremy Maitin-ShepardJun 6, 2008
  3. Boyd Lynn GerberJun 6, 2008
  4. Stephan BeyerJun 6, 2008
  5. Linus TorvaldsJun 6, 2008
  6. Boyd Lynn GerberJun 6, 2008
  7. Brandon CaseyJun 6, 2008
  8. Junio C HamanoJun 6, 2008
  9. Boyd Lynn GerberJun 6, 2008
  10. Boyd Lynn GerberJun 7, 2008
  11. Daniel BarkalowJun 7, 2008
  12. Boyd Lynn GerberJun 7, 2008
  13. Junio C HamanoJun 7, 2008
  14. Boyd Lynn GerberJun 7, 2008
  15. Daniel BarkalowJun 7, 2008
  16. Boyd Lynn GerberJun 8, 2008
  17. Junio C HamanoJun 8, 2008
  18. progress.c: avoid use of dynamic-sized arrayBoyd Lynn Gerber, Jun 8, 2008
  19. Port to 12 other Platforms.Boyd Lynn Gerber, Jun 8, 2008
  20. Boyd Lynn GerberJun 8, 2008
  21. Boyd Lynn GerberJun 8, 2008
  22. Thomas HarningJun 6, 2008
  23. Daniel BarkalowJun 6, 2008
  24. Boyd Lynn GerberJun 6, 2008

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.