Article View: gnu.gcc.help
Article #50145Help in using gcc compiler..... and also on where to find a doc...
From: Badrinarayanan Seshadri
Date: Tue, 16 Nov 1993 21:37
Date: Tue, 16 Nov 1993 21:37
26 lines
1797 bytes
1797 bytes
Hi, I have traditionally been using 'cc' compiler that comes with proprietory Unix systems (basically Sun and Dec-Ultrix). Recently I setup Linux and Xfree & gcc on my pc. I need to get some kind of documentation regarding gcc. The man pages that comes with SLS package of Linux for gcc is not enough. I would like to know where I can get a reasonably good documentation which can help a new user (say). And particularly, I have one specific question: I have two libraries, libfirst.a and libsecond.a, and a particular function has been defined in both the libraries (both definitions are not same but slightly different). Both these libraries are needed while linking. What I want is the linker option that will take the function definition from that library that is called first. Normal 'cc' doesn't complain but gcc gives an error message and doesn't link and form the executable. Please reply to me. Thanks. --Badri. -- ------------------------ S.Badrinarayanan Dept. of Mech. and Aero. Cornell University ------------------------
Technical Details
Message-ID:
<2cbh6dINNjc8@newsstand.cit.cornell.edu>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!news.moneng.mei.com!uwm.edu!caen!batcomputer!cornell!newsstand.cit.cornell.edu!sofia.tn.cornell.edu!badriShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,d74c4824abf42c44,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-11-17 05:43:58 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!news.moneng.mei.com!uwm.edu!caen!batcomputer!cornell!newsstand.cit.cornell.edu!sofia.tn.cornell.edu!badri From: badri@sofia.tn.cornell.edu (Badrinarayanan Seshadri) Newsgroups: gnu.gcc.help Subject: Help in using gcc compiler..... and also on where to find a doc... Date: 16 Nov 1993 21:37:17 GMT Organization: Cornell University Lines: 27 Sender: sb20@cornell.edu (Verified) Distribution: world Message-ID: <2cbh6dINNjc8@newsstand.cit.cornell.edu> NNTP-Posting-Host: sofia.tn.cornell.edu