Need help compiling Perl with gcc

Keith Cantrell keith at dinosaur.lonestar.org
Wed Jun 12 16:14:10 AEST 1991


Has anybody been able to compile perl version 3.0 patchlevel 44 on an
ISC's version 2.2 using gcc?  And if so what options did you use?  Using
the following options has some serious bad side effects (ie. after
executing the version of perl compiled like this the system would instantly
fill up it's process table, ie. NO MORE PROCESSES, ie. you CAN'T shutdown!!)

CFLAGS = -fpcc-struct-return -DNO_ASM -DDEBUGGING -D__GNUC__ -O
libs = -lnsl_s -lm -lx -lcrypt -ldbm -lcposix

I thought it was caused by gcc not using the correct start up files so I
changed the 'libs =' line to look like:

libs = /lib/crtp1.o /lib/crtn.o -nostdlib -lnsl_s -lm -lx -lcrypt -ldbm \
       -lcposix /usr/local/lib/gcc-gunlib -lc

but that didn't seem to help any.

The reason I tried to add the '-lcposix' is because I was getting undefines
for getc, putc, etc, etc.

As you can tell I was pretty much grasping at straws trying to make it
work, and at the same time, getting more and more nervous every time I had
to hit the BIG RED BUTTON to try something else.

Thanks for any help,

Keith Cantrell

NOTE: I don't normally read cmop.lang.perl so if you followup please
      make sure to post to comp.unix.sysv386.

-----------------------------------------------------------------------
Keith Cantrell                    Phones:  hm: 214-492-1088
                                           wk: 214-699-2509 
USMAIL:                          EMAIL:
2100 Sonata Ln                   keith at dinosaur.lonestar.org
Carrollton TX 75007                           or
                                ...!uunet!digi!dinosaur!keith
-----------------------------------------------------------------------



-----------------------------------------------------------------------
Keith Cantrell                    Phones:  hm: 214-492-1088
                                           wk: 214-699-2509 
USMAIL:                          EMAIL:
2100 Sonata Ln                   keith at dinosaur.lonestar.org
Carrollton TX 75007                           or
                                ...!uunet!digi!dinosaur!keith
-----------------------------------------------------------------------



More information about the Comp.unix.sysv386 mailing list