Re: [PATCH] Add Tru64/OSF1 support in Makefile
- From
- Brandon Casey <brandon.casey.ctr@nrlssc.navy.mil>
- Date
- Apr 1, 2010, 15:47 UTC
- Message-ID
- <k1zDoDCu8fS7Dsy98IBzvAeSfBRw0mOYNtxTGUiBGfWOumW0yfxTqA@cipher.nrlssc.navy.mil>
- In-Reply-To
- <DA8Or5TA0_betHA0BMcLIT0so7oVjDK6CYr4x1LCiX60SEmuPqVnXg@cipher.nrlssc.navy.mil>
On 03/31/2010 11:29 AM, Brandon Casey wrote:
> On 03/30/2010 01:22 PM, Tor Arntsen wrote:
Show 14 quoted lines
>> + SHELL_PATH = /bin/ksh > > Can you run the test suite with this ksh? If it suffers from > the same exit status behavior of ksh on IRIX and SunOS, then > I have a patch which allows the test suite to run. > > Also, I wonder if it suffers from the same trap handling that > ksh has on SunOS. > >> + BASIC_CFLAGS += -D_POSIX_C_SOURCE=1 -D_OSF_SOURCE=1 >> + BASIC_CFLAGS += -pthread > > There is a PTHREAD_LIBS variable and it seems there is precedent > for setting it to -pthread in the FreeBSD section.
heh, must have copy/pasted to the wrong place and hastily sent this email. This snippet of shell script below is supposed to be up there after the sentence about trap handling of ksh on SunOS.
Show 8 quoted lines
> Namely, the following shell snippet should exit 0, but does not
> on SunOS's ksh:
>
> (atrap () { exit 0; }
> func3 () { exit 1; }
> func2 () { func3; }
> func1 () { trap atrap EXIT; func2; }
> func1)-brandon