home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / prog / c / rconfig.lha / RConfig_v1.1 / tests / TESTS.README
Text File  |  1992-09-20  |  1KB  |  33 lines

  1. This directory contains the following test programs used to verify
  2. the generated code.  These can also serve as examples on interfacing
  3. with the replacement library, particularly with respect to #defines,
  4. #includes, and function usage.
  5.  
  6.   (1) detach
  7.   (2) resstart
  8.   (3) stkchk
  9.       (a) better
  10.       (b) dynastack
  11.   (4) alloca
  12.       (a) safe
  13.       (b) risky
  14.   (5) stkchk & setjmp (interdependence test)
  15.   (6) alloca & setjmp (interdependence test)
  16.   (7) alloca, stkchk & setjmp (interdependence test)
  17.  
  18. Each test directory contains a source test file and an AmigaDOS script
  19. (called "TEST) for generating the appropriate replacement library,
  20. "making" the test program, setting up the run environment, and
  21. conducting the test.
  22.  
  23. The "make" section for generating the replacement library in each
  24. test case was obtained by capturing the rconfig output to a file,
  25. and then trimming it.  Eg:
  26.  
  27.     cc RLIB:rlib.c -oT:rlib.o -m0d -pl -sa -s0b -sf -sm -ss -sp -sn
  28.         -r04 -r06 -sr
  29.     as RLIB:crt0.a68 -o T:crt0.o
  30.     cc RLIB:_main.c -oT:_main.o -d__DETACH_MAIN -m0b -m0d -pl -sa
  31.         -s0b -sf -sm -ss -sp -sn -r04 -r06 -sr
  32.     lb rlib.lib T:crt0.o T:_main.o T:rlib.o
  33.