Re: [PATCH] Add Tru64/OSF1 support in Makefile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 31/03/2010, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> Tor Arntsen <tor@xxxxxxxxxxx> writes:
>
>> Patch included below, as well as attached (in case of
>> mailler-mangling). Please let me know if you feel there are any issues
>> with it.
>
> Thanks.
>
>> From d4a5ba0727d7e3a4455320bad641cb34402d16fd Mon Sep 17 00:00:00 2001
>> From: Tor Arntsen <tor@xxxxxxxxxxx>
>> Date: Tue, 30 Mar 2010 19:36:40 +0200
>> Subject: [PATCH] Add Tru64/OSF1 support in Makefile
>>
>> Tested with V5.1
>
> V5.1 "of Tru64/OSF1" I presume...

Indeed. uname -r = V5.1. The system I have, and have thus tested this
with, is actually Tru64 V5.1a, although the 'a' isn't easily visible.
There's also a V5.1b revision, in addition to V5.2 and possibly even
newer systems.

>> +ifeq ($(uname_S),OSF1)
>> +	# Tested with V5.1 w/libcurl and zlib-1.1.4-5 in /usr/local/
>> +	CC = cc
>> +	CFLAGS = -O2 -g3
>
> Is this because the compiler there does not like -Wall?
>
> Not a complaint; just a request for clarification.

Two issues: -Wall, and that the native Tru64 compiler refuses to
optimize if -O2 is combined with -g. Thus the -O2 -g3, which does
work, and (and this is incidentally also the case for the IRIX MIPSPro
compiler).

$ cc -g -O2 -o hello hello.c
cc: Info: File not optimized; use -g3 if both optimization and debug
wanted. (suppressoptlvl)

-Tor
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]