pkgsrc-Users archive

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

Re: Imake on Solaris 11.2/sparc



On Mon, Jul 18, 2016 at 10:01:28AM +0200, J?rn Clausen wrote:
 > > It occurs to me that it might be useful to do strings
 > > /usr/pkg/bin/tradcpp | grep __ and see if __sparc is missing.
 > 
 > Not sure how much this proves:
 > 
 > __FILE__
 > __LINE__
 > __sun
 > __unix__
 > __sparc
 > __LP64__
 > __ELF__
 > __TRADCPP__
 > __TRADCPP_MINOR__
 > __VERSION__
 > __FILE__
 > __LINE__

That looks like it should cause the right things to happen. In
particular, none of that should come out different on Solaris 10.

 > This is really a bummer:
 > 
 >      -dM           Dump all macro definitions instead of the normal prepro-
 >                    cessing output.  Not implemented.

I should fix that sometime. What it provides as builtin is very simple
though...

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index