Article Title           : rs6000_bsdcc
Creation Date           : unknown
Author                  : unknown
Last Update             : 6-1-93
Last Update By          : NCD Technical Support
Expiration Rules        : 
Location		: NCD-Articles/Host_Systems/IBM
=============================================================================

I would like to suggest the following whenever you can't compile
a particular application on an RS 6000.
-------

1.  modify your /etc/xlc.conf file by appending the following:

* BSD type c compiler aliased as bsdcc
bsdcc:  use        = DEFLT
        crt        = /lib/crt0.o
        mcrt       = /lib/mcrt0.o
        gcrt       = /lib/gcrt0.o
        libraries  = -lbsd, -lc
        proflibs   = -L/lib/profiled,-L/usr/lib/profiled
        options    = -bnoso, -bI:/lib/syscalls.exp, -H512,-T512,
-qlanglvl=extended, -qnoro, -D_BSD, -D_NONSTD_TYPES, -D_NO_PROTO,
-D_BSD_INCLUDES, -bnodelcsect, -U__STR__, -U__MATH__


2.  Now whenever you compile a program, type either:

	make CC=bsdcc
	
	if you use make, or

	bsdcc 

	instead of 'cc' if you execute the C compiler to compile a program.


You can find information regarding the program 'porting' issues in
the file /usr/lpp/bos/bsdport.
