🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51549

Using gcc-2 compiled libraries with Sun cc

#51549
From: Irving Reid
Date: Mon, 03 May 1993 22:08
12 lines
1010 bytes
We are currently converting a set of applications and C interface library
to Ansi C.  We are using GCC 2.3.x (x==1, I think) on SunOS 4, sparc
processor.

Our library includes some <stdarg.h> code which causes GCC to generate calls
to the __builtin_saveregs function.  If users then try to link against our
library using Sun cc, this function is not found.

Is there anything we can do (short of including parts of libgcc.a directly
in our own library) to work around this?

 - irving -
Technical Details
Message-ID: <1993May3.180826.22123@jarvis.csri.toronto.edu>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!cs.utexas.edu!utnut!utcsri!sys.toronto.edu!irving

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,71ae6bd621b82b4b,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-05-03 15:14:18 PST
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!cs.utexas.edu!utnut!utcsri!sys.toronto.edu!irving
Newsgroups: gnu.gcc.help
From: irving@sys.toronto.edu (Irving Reid)
Subject: Using gcc-2 compiled libraries with Sun cc
Message-ID: <1993May3.180826.22123@jarvis.csri.toronto.edu>
Date: 3 May 93 22:08:26 GMT
Lines: 12