Suggestion for Make

2005-05-06 Thread Sam Lauber
I think Make should support Objective-C (and Objective-C++) with suffix rules for `.m' and `.mm': a) the suffix rule for `.m' would execute`$(CC) -ObjC' b) same for `.mm', but it would execute `$(CC) -ObjC++' Samuel Lauber P.S. `.mm' only works with Apple gcc as far as I know. --

Re: gmake on Cray X1

2005-05-06 Thread Kate Hedstrom
> > This is the problem function: > > > > subdirectory = $(patsubst %/Module.mk,%, \ > > $(word\ > >$(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))) > > > > The workaround so far is to have the directory hardcode its own name. > > We don't have so ve

Re: gmake on Cray X1

2005-05-06 Thread Ted Stern
On 5 May 2005 at 15:08 UTC-0700, Kate Hedstrom wrote: >> Aha, I see now. I hadn't noticed that the 'open' version was 3.79. >> Bummer. I use loads of 3.80 features also. >> >> You might be able to build 3.79 on the T3E, though ... >> >> What feature(s) are you using? I might have some workaro

Re: gmake on Cray X1

2005-05-06 Thread Kate Hedstrom
> Aha, I see now. I hadn't noticed that the 'open' version was 3.79. > Bummer. I use loads of 3.80 features also. > > You might be able to build 3.79 on the T3E, though ... > > What feature(s) are you using? I might have some workarounds. This is the problem function: subdirectory = $(patsub

Re: gmake on Cray X1

2005-05-06 Thread Ted Stern
On 5 May 2005 at 14:25 UTC-0700, Kate Hedstrom wrote: On Thu, May 05, 2005 at 01:06:28PM -0700, Ted Stern wrote: > On 3 May 2005 at 17:05 UTC-0700, Kate Hedstrom wrote: >> > I have managed to build gnu make on a Cray X1, but I ran into a >> > couple snags. Here's the first: >> >> >> >> Hi Kate

Re: gmake on Cray X1

2005-05-06 Thread Kate Hedstrom
On Thu, May 05, 2005 at 01:06:28PM -0700, Ted Stern wrote: > On 3 May 2005 at 17:05 UTC-0700, Kate Hedstrom wrote: > > I have managed to build gnu make on a Cray X1, but I ran into a > > couple snags. Here's the first: > > > > Hi Kate, > > This post begs the question, why are you doing this yo

Re: gmake on Cray X1

2005-05-06 Thread Ted Stern
On 3 May 2005 at 17:05 UTC-0700, Kate Hedstrom wrote: > I have managed to build gnu make on a Cray X1, but I ran into a > couple snags. Here's the first: Hi Kate, This post begs the question, why are you doing this yourself? Cray makes GNU make available in the Cray Open Software module (mod