[comp.lang.perl] perl 4.0 on a Stardent 3000

kate@cgdisis.cgd.ucar.edu (Kate Hedstrom) (03/26/91)

I have gotten perl 4.0 to compile and link on a Stardent 3000 (OS
version 3.0.1 beta), but it was not entirely straightforward so I
though I would mention it here.  To get it to link:

1. Turn off optimization for eval.c

2. If you take all the defaults, the loader can't find _ctype_,
so add the ld flag of '-43'.  Then it can't find the library '-lnsl',
so tell it to use only the '-ldbm -lm' libraries.

3. It fails the cpp test, although Configure said:
  Maybe "cc -E" will work...
  Yup, it does.

  comp/cpp.......syntax error in file ./comp/cpp.t at line 1, next 2
  tokens "option -C"
  Execution of ./comp/cpp.t aborted due to compilation errors.
  FAILED on test 0

4. If you turn off optimization for everything (-O0) you also fail
the following tests.  I've never seen an optimizer fix things before!

  cmd.subval......Out of memory!
  FAILED on test 3
  cmd.switch......Out of memory!
  FAILED on test 1

  op.list.........FAILED on test 25

  lib/big........Bad free() ignored at ../lib/bigint.pl line 65.
  FAILED on test 62

5. The debugger dumps core. :-(

Kate Hedstrom
Institute of Marine and Coastal Sciences
Rutgers University
kate@ahab.rutgers.edu