www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/05/08:54:50

Date: Sun, 5 Apr 1998 15:53:51 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Joshua Hab <joshuahab AT aol DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: HELP! LD doesn't warn me about unresolved externals!
In-Reply-To: <1998040419490401.OAA29622@ladder03.news.aol.com>
Message-ID: <Pine.SUN.3.91.980405155331.5976X-100000@is>
MIME-Version: 1.0

On 4 Apr 1998, Joshua Hab wrote:

> For some reason, ld allows me to link and builds exe files even if there are
> unresolved externals! When the program is run, it crashes whenever
> it tries to execute an undefined subroutine!

This could happen if you installed RSXNTDJ at some time.  The linker
which comes with it ignores unresolved externals (so that you could
use DLLs).

The solution is not to use that version of a linker when linking
statically (i.e., NOT against a DLL).

- Raw text -


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