*BSD News Article 95338


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!como.dpie.gov.au!news.gan.net.au!act.news.telstra.net!news.telstra.net!psgrain!reuter.cse.ogi.edu!hp-cv.cv.hp.com!hp-pcd.cv.hp.com!sdd.hp.com!gatech!news.mathworks.com!cam-news-hub1.bbnplanet.com!su-news-hub1.bbnplanet.com!news.bbnplanet.com!newsfeed.nacamar.de!fu-berlin.de!news.belwue.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!not-for-mail
From: joze@krisal.physik.uni-karlsruhe.de (joze is great)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: g77, gcc and PIC on pmax
Date: 14 May 1997 17:22:30 GMT
Organization: University of Karlsruhe, Germany
Lines: 30
Message-ID: <5lcscm$fat$1@nz12.rz.uni-karlsruhe.de>
NNTP-Posting-Host: krisal.physik.uni-karlsruhe.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Keywords: g77 gcc PIC NON-PIC
X-Newsreader: TIN [UNIX 1.3 950515BETA PL0]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5945

Hallo,

I tryed to build g77 on my pmax.

something like this -->

  ld: gcc.o: linking PIC files with non-PIC files

seems to prevent from successful building.

I've tryed several gcc - flags as
  -mno-abicalls -mno-half-pic
  -fpic -fPIC

but I can't get rid of the problem.


I use the gcc-2.7.2.2.tar.gz and g77-0.5.20.tar.gz 
distributions and I've done all the steps, which are recommended in the 
gcc and g77 INSTALL and README files.

I use the NetBSD of ftp.netbsd.org /pub/NetBSD/arch/pmax,
all of snapshot-1997-03-16.
I use x11r6.3 which can be found in the directory ported-software.

I'm not very experienced with compiling compilers, but 
perhaps YOU are ?

Regards, Johannes Zellner joze@krisal.physik.uni-karlsruhe.de