Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tlug: Emergency Help!
- To: tlug@example.com
- Subject: Re: tlug: Emergency Help!
- From: Jason Molenda <crash@example.com>
- Date: Sun, 11 May 1997 23:02:06 +0900 (JST)
- Cc: jwt@example.com
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=US-ASCII
- In-Reply-To: <3375C70F.24D9B618@example.com> from "Alan B. Stone" at May 11, 97 10:18:07 pm
- Reply-To: tlug@example.com
- Sender: owner-tlug
-------------------------------------------------------- tlug note from Jason Molenda <crash@example.com> -------------------------------------------------------- Hi Blaine, > I'm using g++ -o secdb secdb.C -lXm -lXt -lX11 that's the command. gcc (or g++, same thing really) will only look in a few places by default for your library files. Specifically, it won't look in /usr/X11R6/lib (or wherever your library files are). If your X libraries are in /usr/X11/lib, then you'd want to run g++ -o secdb secdb.C -L/usr/X11/lib -lXm -lXt -lX11 If you're including X11 header files, you should probably have something like -I/usr/X11/include on your command line. There may be some sym-links to mae these header files or library files available invisibly. But in general, you need to tell the compiler where they are. Jason PS- Although it makes debugging a little weird (specifically stepping in gdb is non-intuitive), you can safely add "-g -O2" to your command line. The resulting output file is larger, but the debug sections won't be loaded at execution time, so you pay no significant penalty for including "-g". ----------------------------------------------------------------- a word from the sponsor will appear below ----------------------------------------------------------------- The TLUG mailing list is proudly sponsored by TWICS - Japan's First Public-Access Internet System. Now offering 20,000 yen/year flat rate Internet access with no time charges. Full line of corporate Internet and intranet products are available. info@example.com Tel: 03-3351-5977 Fax: 03-3353-6096
- Follow-Ups:
- tlug: X11 libs
- From: Craig Oda <craig@example.com>
- Re: tlug: Emergency Help!
- From: "Alan B. Stone" <stoneab@example.com>
- References:
- tlug: Emergency Help!
- From: "Alan B. Stone" <stoneab@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: PAP and CHAP
- Next by Date: RE: tlug: Communicator 4.0b3 plugins
- Prev by thread: tlug: Emergency Help!
- Next by thread: tlug: X11 libs
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links