Subject: Re: No "amiga" define in default compiler...
To: None <,>
From: Stephen J. Roznowski <>
List: amiga-dev
Date: 03/09/1994 22:08:45
> > > The default compiler built from the sun-lamp sources
> > > does not define "amiga". Can/Should this be fixed?
> > > 
> > 	I talked about this with Chris Hopps and he said, and I agreed
> > 	with him, the answer to this question is no. Any code that
> > 	NEEDS to know it's on an Amiga should put a special if case in
> > 	the Makefile, see Makefile in libkvm for details.
> exatcly.

I'm not sure that I completely agree with you on this issue....

First, you are "forcing" me to buy into the "netbsd makefiles",
suppose that I'm using something else....

> > 	NetBSD should be the same across all m68k machines, the only

I agree with this statement.

> > 	places that amiga should be defined are in kernel related
> > 	issues and with the exception of libkvm and the disklabel stuff they
> > 	should be under sys/arch/amiga. Hopefully the other m68k ports will
> > 	adopt the cpu040 variable in their kernels and we can
> > 	drop the special case in libkvm soon.

There are other places besides the kernel where it might be useful
to know that I'm running on an Amiga during the compile....

Additionally, we should probably be using "__amiga__" as the define...