Article View: gnu.gcc.help
Article #53312Gcc question...
From: Noel S. Gorelick
Date: Wed, 26 Feb 1992 22:38
Date: Wed, 26 Feb 1992 22:38
14 lines
962 bytes
962 bytes
I have ftp'd and compiled gcc 2.0 as per the instructions in the INSTALL
file that comes with it. Everything seemed to have worked wonderfully
except that it will not find the Sun shared libraries.
Specifically:
cc foo.c -o foo -lX11 works fine.
gcc foo.c -o foo -lX11 says: ld: -lX11: No such file or directory
What am I doing wrong?
Thanks for any help,
Noel (ngorelic@speclab.cr.usgs.gov)
Z
Technical Details
Message-ID:
<199202262240.AA11286@ames.arc.nasa.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!speclab.cr.usgs.gov!ngorelicShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,befef415240026b,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-02-26 19:07:22 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!speclab.cr.usgs.gov!ngorelic From: ngorelic@speclab.cr.usgs.gov (Noel S. Gorelick) Subject: Gcc question... Message-ID: <199202262240.AA11286@ames.arc.nasa.gov> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Wed, 26 Feb 1992 22:38:42 GMT Lines: 17