tar@hilbert.math.ksu.edu (Tim Ramsey) (07/19/90)
I'm trying to take advantage of the promised speedups produced by compiling X11R4 "fixlevel" 12 on a Sun 3/80 running SunOS 4.1. I'm using gcc 1.37.1. gcc doesn't seem to grok the -pic option (wrapping done by me): rm -f XAllowEv.o shared/XAllowEv.o gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -pic -c -DSHAREDCODE -DSUNSHLIB -O -I../../. -I. -I../../. -I../.././X11 XAllowEv.c gcc: unrecognized option `-pic' mv XAllowEv.o shared/XAllowEv.o gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -c -DSUNSHLIB -O -I../.. /. -I. -I../../. -I../.././X11 XAllowEv.c It compiles just fine the second time, but barfs the first time on "-pic". What am I doing wrong? I really don't want to give up shared X libraries. Looking at the texinfo file for gcc doesn't offer much hope; it doesn't mention support of -pic. Please respond by email; I'll summarize to this group if asked. Thanks in advance for any help. Tim -- Tim Ramsey (tar@hilbert.math.ksu.edu) Dept. of Mathematics, Kansas State University, Manhattan KS 66506 Phone: (913) 532-6750 (voice) 2-7004 (FAX) When all you have is a hammer, everything looks like a nail.