From: Subject: PROC USERPROC Enhancements for SAS/TOOLKIT on UNIX Date: Fri, 19 Sep 2008 12:23:10 -0400 MIME-Version: 1.0 Content-Type: multipart/related; type="text/html"; boundary="----=_NextPart_000_0028_01C91A52.7A79E8A0" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 This is a multi-part message in MIME format. ------=_NextPart_000_0028_01C91A52.7A79E8A0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Location: http://web.archive.org/web/20031102225856/osunix.html =EF=BB=BF PROC USERPROC Enhancements for SAS/TOOLKIT on UNIX

PROC USERPROC Enhancements for SAS/TOOLKIT on UNIX

PROC USERPROC has several new options to accommodate requested features. The most significant change is that UNIX users of PROC USERPROC can now give information on the compiler that they want USERPROC to use in building the program constants object. (In the past, a patch had to be supplied to specify a different compiler command.)

The CC= option specifies the C compiler command that you want to use. The CCOPTS= option specifies the options that are to be passed to the compiler. Note that the pgmcon.sas program that is invoked by 'make' will set the CC= and CCOPTS= values to the default compilers for the UNIX platform. You can change pgmcon.sas to reflect your changes.

The most common request is for the use of the Gnu C compiler. To use the Gnu C compiler, set UWC and UWCOPTS in tlkthost.make:

UWC = gcc
UWCOPTS = -c -fPIC

and in pgmcon.sas:

%let compiler=gcc;
%let ccopts=-c -fPIC;

If you are invoking PROC USERPROC directly:

PROC USERPROC COMPILER= 'gcc' CCOPTS= '-c-fPIC' ..... ;

 

Contents Next Previous