🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52432

Linking problem on sparcstation 2

#52432
From: yqdx
Date: Mon, 21 Sep 1992 17:04
17 lines
1264 bytes
Hi-
  I seemed to have successfully installed GCC-2.2.2 on a Sun Sparcstation 2
running SunOS4.1.1.  It claims to have FPU "version 2".  I began with
the command "configure --target=sparc-sun-sunos4.1.1" or something similar.
  I have tried configuring both with and without the --use-gcc-ld or whatever.
My problem is this:  when I try to compile and link a test file with "gcc",
which contains the function "sqrt", it responds with a linker error, something
like "_sqrt not found".
  I have very little experience with compilers, so I hope that the solution
to this might be simple and obvious to y'all.  Please send your comments and
suggestions to:
 yqdx@vax5.cit.cornell.edu

Thanks in advance,
-Chris B.
Cornell biochem grad student
 
Technical Details
Message-ID: <1992Sep21.130423.14994@vax5.cit.cornell.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!newsstand.cit.cornell.edu!vax5.cit.cornell.edu!yqdx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,f865f2cfbd5c89db,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-09-21 05:00:20 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!newsstand.cit.cornell.edu!vax5.cit.cornell.edu!yqdx
From: yqdx@vax5.cit.cornell.edu
Newsgroups: gnu.gcc.help
Subject: Linking problem on sparcstation 2
Message-ID: <1992Sep21.130423.14994@vax5.cit.cornell.edu>
Date: 21 Sep 92 13:04:23 EDT
Distribution: world
Organization: Cornell University
Lines: 17