www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/03/23:37:37

To: djgpp AT delorie DOT com
Date: Thu, 3 Dec 1998 22:36:42 -0600
Subject: Is there a lookaside table for libraries?
Message-ID: <19981203.223645.-491427.0.kd_wynn@juno.com>
X-Mailer: Juno 2.0.11
X-Juno-Line-Breaks: 2-3,5-8,13-14,18-19,22-26
X-Juno-Att: 0
MIME-Version: 1.0
From: kd_wynn AT juno DOT com (David and Kay Wynn)
Reply-To: djgpp AT delorie DOT com

I'm currently trying to compile a package called SWORD.  I'm running into
a bit of a problem, and it seems to be more of a DJGPP specific thing,
than a SWORD specific.

In its linkage calls, it adds a switch of: "-lstdcxx".  This causes the
compiler to add in a library called:

%DJGPP%\lib\libstdcxx.a

That's just great.  When compiling from inside Windoze '95.  For the most
part, these linkings work when I compile inside Windoze, but there is one
that comes up with a virtual memory error ("virtual memory exhausted" or
some such).  Not surprising: I'm running on a 486 with only 12 meg of
memory.

I've also been getting virtual memory errors on a lot of my compiles, so
I'm used to exiting to DOS in order to finish compiling.  However, as you
can probably guess by now, there is no way for DOS to find a file called
"libstdcxx.a".  It does not follow the 8.3 naming standards.

Is there some way to direct the linker to another file?  Is there some
lookup table I can alter that references what library these kind of
switches correspond to?  How can I get these links to work while in DOS?

Thanks in advance for any help you can give!

Dave
kd_wynn AT juno DOT com
___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019