Path: utzoo!attcan!uunet!cs.utexas.edu!rutgers!mcnc!duke!juliet!khera From: khera@juliet.cs.duke.edu (Vick Khera) Newsgroups: comp.lang.perl Subject: compiling with gcc Keywords: gcc sun4 Message-ID: <18539@duke.cs.duke.edu> Date: 28 Mar 90 21:44:32 GMT Sender: news@duke.cs.duke.edu Distribution: na Lines: 22 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