From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,37bfa0b65d1d2306 X-Google-Attributes: gidfee84,public From: Thomas Riechen Subject: Re: [Socket Libraries] Link Options to Use w/ GCC v2.7.2? Date: 1998/06/15 Message-ID: <3584DBBC.BD6D37BF@T-Mobil.de>#1/1 X-Deja-AN: 362775848 Content-Transfer-Encoding: 7bit References: <6ls0uc$bss$1@nnrp1.dejanews.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: DeTeMobil Deutsche Telekom MobilNet GmbH Newsgroups: comp.unix.osf.osf1 eferg@my-dejanews.com wrote: > > I running Digital UNIX v4.0b on a DEC AlphaServer 2100. I need to compile a C > program using the TCP/IP socket system libraries. > > I have both the native DEC C compiler and GCC v2.7.2 installed. I prefer to > use GCC. If I were running Solaris, the command would be: > > gcc -O2 -o jserv jserv.c -lsocket -nsl > > [QUESTION] What would the command be on Digital UNIX v4.0b / GCC v2.7.2? gcc -O2 -o jserv jserv.c