Subject: Re: compaq c compiler is working ?
To: NetBSD/alpha Discussion List <port-alpha@NetBSD.ORG>
From: Simon Burge <>
List: port-alpha
Date: 03/12/2004 22:05:16
"Greg A. Woods" wrote:

> [ On Tuesday, March 9, 2004 at 23:28:38 (+0100), wrote
: ]
> > Subject: compaq c compiler is working ?
> >
> > has anyone tryed to run compaq c compiler (ccc) succesfully on NetBSD/alpha?
> > any hints to install it ?

"More or less".  I used a sequence something like (it's been a long

	cc -E foo.c > foo.i
	edit gcc'isms out of foo.i
	ccc -c foo.i
	cc -o foo foo.o

for some simple test programs.  As Greg mentions, our standard headers
have too many gcc'isms.

> The next question would be ABI compatability and linking with system
> libraries -- I didn't get anywhere near to investigating that part yet.

That part works fine - it just generates ELF objects that happily link
with the standard libc, etc.

Simon Burge                            <>
NetBSD Support and Service: