Article View: gnu.gcc.help
Article #41383[Q]gcc on Solaris 2.x: __cg92_used unresolved
From: Colin Kabaara
Date: Mon, 25 Mar 1996 00:00
Date: Mon, 25 Mar 1996 00:00
20 lines
1549 bytes
1549 bytes
I am exploring the possibility of using gcc for our in-house application development. I've managed to get it to install ok, but when I try to link applications with a third-party library (Informix's C-ISAM), it fails upon failing to resolve the __cg92_used symbol. I checked out our demo sun C (3.0.1) compiler and found that this symbol is declared in a library provided with the compiler, and is used in conjunction with the "-Xcg92" compiler flag. The width of this symbol is 4 bytes, so I tried declaring a 'long' variable in my code with the name of the missing symbol. This got rid of the linker error, but now my concern is whether this symbol is actually USED for anything that will affect the behaviour of our programs. On the surface everything seems to work fine, but I'd appreciate an insight from someone who's successfully worked around this problem. Hope someone can help.... ck.
Technical Details
Message-ID:
<3156134c.0@10.2.30.120>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,4dbe94d0e854fbf2,start X-Google-Attributes: gid11318c,public X-Google-Thread: 11035d,4dbe94d0e854fbf2,start X-Google-Attributes: gid11035d,public From: colink@mncs.maynick.com.au (Colin Kabaara) Subject: [Q]gcc on Solaris 2.x: __cg92_used unresolved Date: 1996/03/25 Message-ID: <3156134c.0@10.2.30.120> X-Deja-AN: 144034872 distribution: inet summary: cannot resolve "__cg92_used" when linking with 3rd party lib organization: Corinthian Internet Services P/L, Sydney, Australia. keywords: gcc cg92 newsgroups: gnu.gcc.help,comp.unix.solaris