Article View: gnu.gcc.help
Article #51381compiling gcc with multiple libraries/includes(SunOS4.1.x)
From: Erik Bataller
Date: Thu, 27 May 1993 04:51
Date: Thu, 27 May 1993 04:51
37 lines
2572 bytes
2572 bytes
Hello, I have been having incredible difficulty installing gcc 2.3.3 and 2.4.0 on my Sun. I am currently running SunOS 4.1.1 and I have Sun C v 1.0. The difficulty I am having is in telling gcc where my include files are. When I let it configure itself it does not include the Sun CC libraries, that is, it doesn't "fix-includes" on them, nor does it tell the compiler that they exist and should searched when looking for the includes for the program you are trying to compile. However, If I tell the compilation of gcc about them(i.e. I add the "OTHER_FIXINCLUDES_DIR = Sun c 1.o libraries") this causes some problems because some of the headers are redundant and different. Basically I am pretty confused about how to properly set up gcc with multiple erroneous includes/libraries in erroneous(thank you sun!) places which need to be fixed. I have a feeling that I should perhaps use some of the defines for "Other libraries" but given ther verbosity of gcc (Thanks GNU, I am being sincere) there is a plethora of options and of course combinations of options. I know someone has either done this or understands better how the gcc compilation/compiler works and so I am asking for some guidance or pointers. I am a Sys Admin and this is for the lab of Suns I manage and optimally I would like my compilation of gcc to: fix the headers I have that need it, and allow my users to use it without trying to figure out which includes they need to add (via -I/...). Thanks in advance. Any help will be greatly appreciated. Please reply directly to me, I will submit a summary of the responses/solutions ASAP. Erik -- !! Erik M. Bataller | Phone: (414) 242-0347 | Univ. of Wi., Osh Kosh !! Academic Computing Services | 800 Algoma Blvd., 307 Dempsey, !! Osh Kosh, Wi. 54901-8602 | Internet: Bataller@sol.acs.uwosh.edu !! Bitnet: Bataller@oshkoshw.bitnet
Technical Details
Message-ID:
<BATALLER.93May27045145@dogie.macc.wisc.edu>Path:
arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uunet!cs.utexas.edu!sdd.hp.com!saimiri.primate.wisc.edu!zazen!zazen!batallerShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,4429c5af8d422cb4,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-05-27 03:12:15 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uunet!cs.utexas.edu!sdd.hp.com!saimiri.primate.wisc.edu!zazen!zazen!bataller From: bataller@dogie.macc.wisc.edu (Erik Bataller) Subject: compiling gcc with multiple libraries/includes(SunOS4.1.x) Message-ID: <BATALLER.93May27045145@dogie.macc.wisc.edu> Sender: news@macc.wisc.edu (USENET News System) Organization: University of Wisconsin Academic Computing Center Distribution: gnu Date: 27 May 93 04:51:45 Lines: 38