[comp.lang.perl] compiling with gcc

khera@juliet.cs.duke.edu (Vick Khera) (03/29/90)

What is the magic incantation to make perl compile with gcc (version 1.36.93)?
I have tried the following options, both of which result in a perl which
dumps core running the TEST program.

	gcc -O -fstrength-reduce
	gcc -O -fstrength-reduce -fpcc-struct-return

it works fine when compiled with cc -O

I am running on a Sun 4/280, SunOS 4.0.3, and I just got patchlevel 18.

btw, Configure claims that cc on this machine can cast a negative float to
unsigned, despite the note in the patch description.

thanks for any help.

								v.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vick Khera           (919) 660-6528     Department of Computer Science
ARPA:   khera@cs.duke.edu               Duke University
UUCP:   ..!{mcnc,decvax}!duke!khera     Durham, NC 27706