1*84d9c625SLionel SambucREADME.LynxOS 2*84d9c625SLionel Sambuc============= 3*84d9c625SLionel Sambuc 4*84d9c625SLionel SambucWritten by Ronald F. Guilmette <rfg@monkeys.com> 5*84d9c625SLionel Sambuc 6*84d9c625SLionel SambucLast modified Wed Aug 14 23:10:07 PDT 1996 7*84d9c625SLionel Sambuc------------------------------------------ 8*84d9c625SLionel Sambuc 9*84d9c625SLionel Sambuc0. Introduction 10*84d9c625SLionel Sambuc--------------- 11*84d9c625SLionel Sambuc 12*84d9c625SLionel SambucThis file describes how to build and install the Berkeley nvi editor for 13*84d9c625SLionel Sambucthe LynxOS 2.4.0 operating system. 14*84d9c625SLionel Sambuc 15*84d9c625SLionel SambucLynxOS 2.4.0 is available for a variety of different hardware platforms, in 16*84d9c625SLionel Sambucparticular, x86, m680x0, Sparc, and PowerPC. I have successfully built nvi 17*84d9c625SLionel Sambucon all four of these flavors of LynxOS by following the procedures given in 18*84d9c625SLionel Sambucthis file. 19*84d9c625SLionel Sambuc 20*84d9c625SLionel SambucNote that these procedures may not work on versions of LynxOS prior to 2.4.0. 21*84d9c625SLionel Sambuc(As I understand it, a good deal of work went into making the 2.4.0 release 22*84d9c625SLionel Sambucmore POSIX-compliant, and I have no idea what build glitches, if any, you 23*84d9c625SLionel Sambucmight encounter if you try to build nvi on a pre-2.4.0 version of LynxOS.) 24*84d9c625SLionel Sambuc 25*84d9c625SLionel SambucThere are basically four steps to configuring, building, and installing nvi 26*84d9c625SLionel Sambucon LynxOS, namely: 27*84d9c625SLionel Sambuc 28*84d9c625SLionel Sambuc 1. Get setup to use the proper C compiler. 29*84d9c625SLionel Sambuc 2. Replace your installed `tr' program. 30*84d9c625SLionel Sambuc 3. Fix your system include files. 31*84d9c625SLionel Sambuc 4. Do a normal configure, build, and install of nvi. 32*84d9c625SLionel Sambuc 33*84d9c625SLionel SambucThese steps are described in separate sections below. 34*84d9c625SLionel Sambuc 35*84d9c625SLionel Sambuc1. Get Setup to Use the Proper C Compiler 36*84d9c625SLionel Sambuc------------------------------------------ 37*84d9c625SLionel Sambuc 38*84d9c625SLionel SambucThe first step when building nvi on LynxOS is to set your $PATH environment 39*84d9c625SLionel Sambucvariable properly so that the gcc 2.x compiler appears first on your path, 40*84d9c625SLionel Sambucprior to the older (and less robust) gcc 1.xx compiler (typically installed 41*84d9c625SLionel Sambucas /bin/gcc) and/or the old Lynx proprietary C compiler (typically installed 42*84d9c625SLionel Sambucas /bin/cc), both of which may also be present on your system. 43*84d9c625SLionel Sambuc 44*84d9c625SLionel SambucNote that for most operating systems, the configure script for nvi tries 45*84d9c625SLionel Sambucto use whatever compiler you have installed (and in your $PATH) as "cc", 46*84d9c625SLionel Sambuchowever in the special case of LynxOS, the configure script will auto- 47*84d9c625SLionel Sambucmatically try to find a "gcc" program on your $PATH in preference to a 48*84d9c625SLionel Sambuccompiler called "cc". If the nvi configure script only find a compiler 49*84d9c625SLionel Sambuccalled "cc", that's OK. It will still try to see if that is really just 50*84d9c625SLionel Sambucthe GNU C compiler installed under the name "cc". 51*84d9c625SLionel Sambuc 52*84d9c625SLionel SambucRegardless of the name however (be it "gcc" or "cc") the first C compiler 53*84d9c625SLionel Sambucin your $PATH should be some _recent_ (i.e. 2.0 or later) version of the 54*84d9c625SLionel SambucGNU C compiler... and the nvi configure script now checks that this is the 55*84d9c625SLionel Sambuccase, and fails if it isn't. 56*84d9c625SLionel Sambuc 57*84d9c625SLionel SambucOddly enough, LynxOS 2.4.0 (and some prior versions) shipped with as many 58*84d9c625SLionel Sambucas three different C compilers installed, so it is important to set your 59*84d9c625SLionel Sambuc$PATH environment variable carfully in order to get the proper C compiler 60*84d9c625SLionel Sambucto appear first in your $PATH. You want to avoid having either the /bin/gcc 61*84d9c625SLionel Sambuccompiler or the /bin/cc compiler be the first C compiler in your $PATH. 62*84d9c625SLionel Sambuc 63*84d9c625SLionel SambucTo make sure that the GNU C version 2.x compiler which was shipped with your 64*84d9c625SLionel SambucLynxOS system appears first on your path, you will need to either set your 65*84d9c625SLionel Sambuc$PATH variable (for sh/bash/ksh users) or your $path variable (for csh/tcsh 66*84d9c625SLionel Sambucusers). You can, of course, just do this at the shell command prompt, but 67*84d9c625SLionel Sambucit is probably better to actually edit this change into your .profile file 68*84d9c625SLionel Sambuc(for sh/bash/ksh users) or into your .cshrc file (for csh/tcsh users). 69*84d9c625SLionel Sambuc 70*84d9c625SLionel SambucThe pathname of the directory that contains the GNU C version 2.x compiler 71*84d9c625SLionel Sambucis (unfortunately) dependent upon the exact type of LynxOS system you have. 72*84d9c625SLionel Sambuc 73*84d9c625SLionel SambucFor LynxOS 2.4.0 on x86 systems, gcc 2.x is located in: 74*84d9c625SLionel Sambuc 75*84d9c625SLionel Sambuc /cygnus/94q4-lynxos-x86/bin 76*84d9c625SLionel Sambuc 77*84d9c625SLionel SambucFor LynxOS 2.4.0 on m680x0 systems, gcc 2.x is located in: 78*84d9c625SLionel Sambuc 79*84d9c625SLionel Sambuc /cygnus/94q4-lynxos-68k/bin 80*84d9c625SLionel Sambuc 81*84d9c625SLionel SambucFor LynxOS 2.4.0 on Sparc systems, gcc 2.x is located in: 82*84d9c625SLionel Sambuc 83*84d9c625SLionel Sambuc /cygnus/94q4-lynxos-usparc/bin 84*84d9c625SLionel Sambuc 85*84d9c625SLionel SambucFor LynxOS 2.4.0 on PowerPC systems, gcc 2.x is located in: 86*84d9c625SLionel Sambuc 87*84d9c625SLionel Sambuc /cygnus/95q2-lynxos-ppc/bin 88*84d9c625SLionel Sambuc 89*84d9c625SLionel Sambuc(Note also that these locations may change in LynxOS 2.5.x and beyond.) 90*84d9c625SLionel Sambuc 91*84d9c625SLionel SambucAnyway, it is imperative that you setup your $PATH environment variable 92*84d9c625SLionel Sambuc(*before* you do the configure step for nvi) so that the GNU C version 2.x 93*84d9c625SLionel Sambuccompiler appears in your $PATH before either the /bin/cc or /bin/gcc 94*84d9c625SLionel Sambuccompilers (if present). If you fail to do this, the configure step for 95*84d9c625SLionel Sambucnvi will fail, because the compiler script actually checks (now) that the 96*84d9c625SLionel Sambuccompiler you are using (if your are on a LynxOS system) is gcc 2.0 or 97*84d9c625SLionel Sambuclater. 98*84d9c625SLionel Sambuc 99*84d9c625SLionel SambucTo make absolutely sure that you will be configuring and building nvi with 100*84d9c625SLionel Sambucthe proper C compiler (i.e. the GNU C version 2.x compiler on your system) 101*84d9c625SLionel Sambucyou should add the directory name listed above for your specific system type 102*84d9c625SLionel Sambucto your $PATH setting in your $HOME/.profile file. (For csh/tcsh users, you 103*84d9c625SLionel Sambucwill instead want to add the relevant directory name to the setting of your 104*84d9c625SLionel Sambuc$path variable in your ~/.cshrc file.) Once you have added the proper direc- 105*84d9c625SLionel Sambuctory name (from the list given above) to your $HOME/.profile file (or to your 106*84d9c625SLionel Sambuc~/.cshrc file, if you are using csh or tcsh) you should log out completely 107*84d9c625SLionel Sambucand then log back into the system just to make sure your new $PATH/$path 108*84d9c625SLionel Sambucsetting takes effect properly. 109*84d9c625SLionel Sambuc 110*84d9c625SLionel SambucWhen you finish making this adjustment to your $PATH (or $path), the most 111*84d9c625SLionel Sambucup-to-date version of gcc on your system should be available to you as the 112*84d9c625SLionel Sambucfirst `gcc' program on your $PATH. You should verify that this is indeed the 113*84d9c625SLionel Sambuccase simply by typing `gcc -v' and then checking the version number reported 114*84d9c625SLionel Sambucby the compiler. It should say either "2.6-94q4" or (on PowerPC systems) it 115*84d9c625SLionel Sambucshould say "2.6-95q2". If you don't get these results, try again to set your 116*84d9c625SLionel Sambuc$PATH (or $path) until you do. You won't be able to build nvi until you are 117*84d9c625SLionel Sambucproperly setup to use gcc version 2.0 or later. 118*84d9c625SLionel Sambuc 119*84d9c625SLionel SambucPerforming the steps shown above will insure that your subsequent configura- 120*84d9c625SLionel Sambuction and build steps for nvi will make use of the most up-to-date version of 121*84d9c625SLionel Sambucgcc that was shipped with your Lynx operating system. (Note that the versions 122*84d9c625SLionel Sambucof gcc which are currently shipping with LynxOS 2.4.0 are also somewhat out- 123*84d9c625SLionel Sambucof-date themselves, but they are still quite a bit newer and more bug-free 124*84d9c625SLionel Sambucand ANSI conformant that those other two C compilers, /bin/cc and /bin/gcc, 125*84d9c625SLionel Sambucwhich also ship with LynxOS 2.4.0.) 126*84d9c625SLionel Sambuc 127*84d9c625SLionel Sambuc(Note: At present, LynxOS version 2.4.0 is the latest officially released 128*84d9c625SLionel Sambucversion of LynxOS, and all of the above information is accurate and correct 129*84d9c625SLionel Sambucfor LynxOS 2.4.0 as of the time of this writing. However it is rumored that 130*84d9c625SLionel Sambucfuture releases of LynxOS may provide a still newer version of gcc, and that 131*84d9c625SLionel Sambucit may be located in the /usr/bin directory. Thus, if you are building nvi 132*84d9c625SLionel Sambucfor some LynxOS version later than 2.4.0, you may wish to check and see if 133*84d9c625SLionel Sambucyour system has a program called /usr/bin/gcc, and use that version of gcc, 134*84d9c625SLionel Sambucif available, rather than the one suggested above.) 135*84d9c625SLionel Sambuc 136*84d9c625SLionel Sambuc2. Replace Your Installed `tr' Program 137*84d9c625SLionel Sambuc--------------------------------------- 138*84d9c625SLionel Sambuc 139*84d9c625SLionel SambucThe `tr' program which comes bundled with LynxOS 2.4.0 (as /bin/tr) has a 140*84d9c625SLionel Sambucsomewhat obscure bug which just happens to be tickled by almost all GNU 141*84d9c625SLionel Sambuc`autoconf' generated `configure' scripts (including the one that nowadays 142*84d9c625SLionel Sambuccomes bundled with nvi). Using the stock /bin/tr program on LynxOS when 143*84d9c625SLionel Sambucexecuting such `configure' scripts _will_ cause these scripts to malfunction 144*84d9c625SLionel Sambucin various ways. It is therefore imperative that you replace your LynxOS 145*84d9c625SLionel Sambuc/bin/tr program with a properly working version of the `tr' command _before_ 146*84d9c625SLionel Sambucyou even try to configure nvi. (You can tell if your `tr' program has the 147*84d9c625SLionel Sambucbug by executng the command "echo ab- | tr ab- ABC". If this yields the 148*84d9c625SLionel Sambucstring "Ab-" then you have the bug. If it yields "ABC" then you don't.) 149*84d9c625SLionel Sambuc 150*84d9c625SLionel SambucYou can obtain sources for a working version of the `tr' command as part of 151*84d9c625SLionel Sambucthe GNU `textutils' package (the latest version of which, at the time of this 152*84d9c625SLionel Sambucwriting, is 1.19). The GNU textutils package is available for downloading 153*84d9c625SLionel Sambucfrom prep.ai.mit.edu in the pub/gnu directory. Look for the file named 154*84d9c625SLionel Sambuctextutils-1.19.tar.gz, or an even more recent version of textutils, if one 155*84d9c625SLionel Sambucis available. Fetch it, gunzip it, untar it, and follow the directions in 156*84d9c625SLionel Sambucthe INSTALL file included in the tar file to build and install the entire 157*84d9c625SLionel Sambuctextutils set of utility programs (which includes a working `tr' program). 158*84d9c625SLionel SambucThen just make sure that the GNU version of `tr' appears on your $PATH 159*84d9c625SLionel Sambuc_before_ the LynxOS version of `tr' (i.e. /bin/tr). Be sure to do this 160*84d9c625SLionel Sambucstep _before_ you start to configure nvi. 161*84d9c625SLionel Sambuc 162*84d9c625SLionel SambucWhen building the textutils set of programs, I suggest that you use the most 163*84d9c625SLionel Sambucup-to-date C compiler available on your system (as described above). Also, 164*84d9c625SLionel Sambucnote that it will be important for you to AVOID using the -O (optimize) 165*84d9c625SLionel Sambuccompiler option when building the GNU textutils package, even if you are 166*84d9c625SLionel Sambucusing the most up-to-date version of gcc which shipped with your system. 167*84d9c625SLionel SambucIf you try to use -O when building the textutils package on an x86 with 168*84d9c625SLionel Sambucthe Cygnus 94q4 C compiler, you will end up with a `tr' program which will 169*84d9c625SLionel Sambucmalfunction even worse than the one you are trying to replace! If you use 170*84d9c625SLionel Sambuc-O when building the textutils package on LynxOS on the PowerPC (using the 171*84d9c625SLionel SambucCygnus 95q2 C compiler) you will just get yourself a compiler crash. So 172*84d9c625SLionel Sambucjust don't use -O when building textutils. You can avoid using -O by in- 173*84d9c625SLionel Sambucvoking make in the textutils directory as follows: 174*84d9c625SLionel Sambuc 175*84d9c625SLionel Sambuc make CFLAGS="-g" 176*84d9c625SLionel Sambuc 177*84d9c625SLionel Sambuc(Note: At present, LynxOS version 2.4.0 is the latest officially released 178*84d9c625SLionel Sambucversion of LynxOS, and all of the above information is accurate and correct 179*84d9c625SLionel Sambucfor LynxOS 2.4.0 as of the time of this writing. However it is rumored that 180*84d9c625SLionel Sambucthe bug in the /bin/tr program will be fixed in future releases of LynxOS, 181*84d9c625SLionel Sambucso if you have a version of LynxOS later than 2.4.0, you may wish to check 182*84d9c625SLionel Sambucand see if your /bin/tr program even has the problematic bug before bothering 183*84d9c625SLionel Sambucwith all of this.) 184*84d9c625SLionel Sambuc 185*84d9c625SLionel Sambuc 186*84d9c625SLionel Sambuc3. Fix Your System Include Files 187*84d9c625SLionel Sambuc--------------------------------- 188*84d9c625SLionel Sambuc 189*84d9c625SLionel SambucIf you are building nvi on a PowerPC system, it is also important that you 190*84d9c625SLionel Sambucapply the patches given at the end of this file to your /usr/include files. 191*84d9c625SLionel Sambuc(Note that you will have to be root in order to do this.) Two of the patches 192*84d9c625SLionel Sambucincluded below fix a pair of serious bugs in the /usr/include/stdarg.h file 193*84d9c625SLionel Sambucon the PowerPC, and you really _do_ want to have these bugs fixed anyway, 194*84d9c625SLionel Sambucbecause without these fixes, anything that you compile which uses <stdarg.h> 195*84d9c625SLionel Sambucwill very likely malfunction at run-time. 196*84d9c625SLionel Sambuc 197*84d9c625SLionel SambucRegardless of which LynxOS platform you are using (i.e. x86, PowerPC, Sparc, 198*84d9c625SLionel Sambucor m680x0) you may want to apply all of the system include files patches that 199*84d9c625SLionel Sambucare included below anyway. Doing so will clean up a few minor problems with 200*84d9c625SLionel Sambucthe relevant system include files (i.e. <stdarg.h>, <ioctl.h>, and <wait.h>) 201*84d9c625SLionel Sambucand this step will also prevent a few warnings which you would otherwise get 202*84d9c625SLionel Sambucduring the build of nvi. 203*84d9c625SLionel Sambuc 204*84d9c625SLionel SambucYou can apply all of the patches given at the end of this file simply by 205*84d9c625SLionel Sambucdoing the following: 206*84d9c625SLionel Sambuc 207*84d9c625SLionel Sambuc su root 208*84d9c625SLionel Sambuc cd /usr/include 209*84d9c625SLionel Sambuc /bin/patch < this-file 210*84d9c625SLionel Sambuc 211*84d9c625SLionel SambucWhere `this-file' is the actual full pathname of the file you are now reading, 212*84d9c625SLionel Sambucwherever it may reside on your own system. 213*84d9c625SLionel Sambuc 214*84d9c625SLionel Sambuc(Note: At present, LynxOS version 2.4.0 is the latest officially released 215*84d9c625SLionel Sambucversion of LynxOS, and all of the above information is accurate and correct 216*84d9c625SLionel Sambucfor LynxOS 2.4.0 as of the time of this writing. However it is rumored that 217*84d9c625SLionel Sambucfuture releases of LynxOS may incorporate some or all of the important system 218*84d9c625SLionel Sambucinclude file fixes provided below. Thus, if you are building nvi for some 219*84d9c625SLionel SambucLynxOS version later than 2.4.0, you should probably go ahead and try to 220*84d9c625SLionel Sambucapply the patches given below to your system include files, and then just 221*84d9c625SLionel Sambucdon't worry about it if these patches seem to have already been applied.) 222*84d9c625SLionel Sambuc 223*84d9c625SLionel Sambuc 224*84d9c625SLionel Sambuc4. A Brief Note about Sendmail 225*84d9c625SLionel Sambuc------------------------------- 226*84d9c625SLionel Sambuc 227*84d9c625SLionel SambucI should mention also that LynxOS does not normally ship with the `sendmail' 228*84d9c625SLionel Sambucmail transfer program installed, either under /usr/lib/ or anywhere else for 229*84d9c625SLionel Sambucthat matter. This isn't really a big problem, but nvi normally wants and 230*84d9c625SLionel Sambucexpects to have a sendmail program available so that it can send users notifi- 231*84d9c625SLionel Sambuccations (by mail) whenever a partially edited file is preserved by the editor 232*84d9c625SLionel Sambucin response to a sudden system crash, a sudden system shutdown, or an unexpect- 233*84d9c625SLionel Sambuced serial-line hangup. You can configure and build nvi without any sendmail 234*84d9c625SLionel Sambucprogram installed on your system, but you will get warnings about its absence 235*84d9c625SLionel Sambucwhen you are doing the initial configure step prior to actually building nvi. 236*84d9c625SLionel SambucIf you want to have a fully-functional nvi which does send out notification 237*84d9c625SLionel Sambucmessages (by mail) whenever partially edited files are preserved during a 238*84d9c625SLionel Sambucserial line hangup or system crash, then you should get the BSD sendmail 239*84d9c625SLionel Sambucsources (via ftp from ftp.cs.berkeley.edu), build and install sendmail, and 240*84d9c625SLionel Sambucthen reconfigure, rebuild, and reinstall nvi. 241*84d9c625SLionel Sambuc 242*84d9c625SLionel SambucPlease contact me at the E-mail address below if you experience any problems in 243*84d9c625SLionel Sambucbuilding or using nvi on LynxOS. I make no guarrantees, but I may be willing 244*84d9c625SLionel Sambucto try to help. 245*84d9c625SLionel Sambuc 246*84d9c625SLionel SambucRon Guilmette 247*84d9c625SLionel SambucRoseville, California 248*84d9c625SLionel Sambuc<rfg@monkeys.com> 249*84d9c625SLionel SambucAugust 14, 1996 250*84d9c625SLionel Sambuc 251*84d9c625SLionel Sambuc 252*84d9c625SLionel Sambuccut here for LynxOS 2.4.0 system include files patches 253*84d9c625SLionel Sambuc----------------------------------------------------------------------------- 254*84d9c625SLionel Sambuc*** wait.h Fri Apr 26 10:02:45 1996 255*84d9c625SLionel Sambuc--- wait.h Sun May 19 05:36:50 1996 256*84d9c625SLionel Sambuc*************** 257*84d9c625SLionel Sambuc*** 94,104 **** 258*84d9c625SLionel Sambuc /* Function prototypes */ 259*84d9c625SLionel Sambuc #ifndef __LYNXOS 260*84d9c625SLionel Sambuc- #ifdef _POSIX_SOURCE 261*84d9c625SLionel Sambuc extern pid_t wait _AP((int *)); 262*84d9c625SLionel Sambuc extern pid_t waitpid _AP((pid_t, int *, int)); 263*84d9c625SLionel Sambuc! #else 264*84d9c625SLionel Sambuc! extern int wait _AP((union wait *)); 265*84d9c625SLionel Sambuc! extern int waitpid _AP((int, union wait *, int)); 266*84d9c625SLionel Sambuc! extern int wait3 _AP((union wait *, int, struct rusage *)); 267*84d9c625SLionel Sambuc #endif 268*84d9c625SLionel Sambuc #endif /* !__LYNXOS */ 269*84d9c625SLionel Sambuc--- 94,101 ---- 270*84d9c625SLionel Sambuc /* Function prototypes */ 271*84d9c625SLionel Sambuc #ifndef __LYNXOS 272*84d9c625SLionel Sambuc extern pid_t wait _AP((int *)); 273*84d9c625SLionel Sambuc extern pid_t waitpid _AP((pid_t, int *, int)); 274*84d9c625SLionel Sambuc! #ifndef _POSIX_SOURCE 275*84d9c625SLionel Sambuc! extern int wait3 _AP((int *, int, struct rusage *)); 276*84d9c625SLionel Sambuc #endif 277*84d9c625SLionel Sambuc #endif /* !__LYNXOS */ 278*84d9c625SLionel Sambuc*** ioctl.h Fri Apr 26 16:50:51 1996 279*84d9c625SLionel Sambuc--- ioctl.h Sat May 18 17:55:16 1996 280*84d9c625SLionel Sambuc*************** 281*84d9c625SLionel Sambuc*** 572,576 **** 282*84d9c625SLionel Sambuc 283*84d9c625SLionel Sambuc #ifndef __LYNXOS 284*84d9c625SLionel Sambuc! extern int ioctl _AP((int, int, char *)); 285*84d9c625SLionel Sambuc #endif 286*84d9c625SLionel Sambuc 287*84d9c625SLionel Sambuc--- 572,576 ---- 288*84d9c625SLionel Sambuc 289*84d9c625SLionel Sambuc #ifndef __LYNXOS 290*84d9c625SLionel Sambuc! extern int ioctl _AP((int, int, ...)); 291*84d9c625SLionel Sambuc #endif 292*84d9c625SLionel Sambuc 293*84d9c625SLionel Sambuc*** stdarg.h Fri Apr 26 16:51:02 1996 294*84d9c625SLionel Sambuc--- stdarg.h Sat May 18 19:34:13 1996 295*84d9c625SLionel Sambuc*************** 296*84d9c625SLionel Sambuc*** 88,92 **** 297*84d9c625SLionel Sambuc (((sizeof(TYPE) + sizeof(int) - 1) / sizeof(int)) * sizeof(int)) 298*84d9c625SLionel Sambuc 299*84d9c625SLionel Sambuc! #define va_start(AP, LASTARG) (AP = ((char *) __builtin_next_arg ())) 300*84d9c625SLionel Sambuc 301*84d9c625SLionel Sambuc void va_end(va_list); /* Defined in libgcc.a */ 302*84d9c625SLionel Sambuc--- 88,92 ---- 303*84d9c625SLionel Sambuc (((sizeof(TYPE) + sizeof(int) - 1) / sizeof(int)) * sizeof(int)) 304*84d9c625SLionel Sambuc 305*84d9c625SLionel Sambuc! #define va_start(AP, LASTARG) (AP = ((char *) __builtin_next_arg (LASTARG))) 306*84d9c625SLionel Sambuc 307*84d9c625SLionel Sambuc void va_end(va_list); /* Defined in libgcc.a */ 308*84d9c625SLionel Sambuc*************** 309*84d9c625SLionel Sambuc*** 162,166 **** 310*84d9c625SLionel Sambuc (((sizeof(TYPE) + sizeof(int) - 1) / sizeof(int)) * sizeof(int)) 311*84d9c625SLionel Sambuc 312*84d9c625SLionel Sambuc! #define va_start(AP, LASTARG) (AP = ((char *) __builtin_next_arg ())) 313*84d9c625SLionel Sambuc 314*84d9c625SLionel Sambuc void va_end(va_list); /* Defined in libgcc.a */ 315*84d9c625SLionel Sambuc--- 162,166 ---- 316*84d9c625SLionel Sambuc (((sizeof(TYPE) + sizeof(int) - 1) / sizeof(int)) * sizeof(int)) 317*84d9c625SLionel Sambuc 318*84d9c625SLionel Sambuc! #define va_start(AP, LASTARG) (AP = ((char *) __builtin_next_arg (LASTARG))) 319*84d9c625SLionel Sambuc 320*84d9c625SLionel Sambuc void va_end(va_list); /* Defined in libgcc.a */ 321