www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/26/02:02:06

Date: Sat, 26 Nov 1994 13:46:30 +0900
From: Stephen Turnbull <turnbull AT shako DOT sk DOT tsukuba DOT ac DOT jp>
To: enrico AT deis33 DOT cineca DOT it
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Problems with ld in djgpp 1.12m2

Enrico--
   More precisely, I downloaded some months ago djgpp1.11m5 to be
   ...
   Then, I downloaded djgpp1.12m2 (which, by the way, is much better

First guess:  your path is set up in such a way that you are finding
old versions of GO32 which don't know about the DJGPP.ENV file.  Make
sure there's only one copy of GO32 and one copy of ld in your path (or
that they come first).

Test:  run GO32 without arguments to check its version.  Run ld
without arguments, or as ld -v, to check its version.

   Now ld seems to find its libraries, but all it does, after a while,
   is hanging up my computer issuing a "segmentation violation" error.
   More precisely, its output is:

   C:> ld @C:\DJGPP\TMP\EXT040

How many objects are being linked?  If it's a large number (>90), ld
2.4 is known to have problems linking them.  The workaround is to
explicitly use an old version of GO32 (I know that v 1.11.maint3
works, v 1.11.maint5 probably will also) to run ld.

   1) where can I find detailed documentation on which sections can be
      added to djgpp.env? The readme.dj file is a bit generic on this...

You can write it.  You can search the archives of the mailing list.

   2) is the ld utility designed to work also as a stand-alone linker,

Yes.  Exactly as you are doing it works fine for me.
    --Steve

- Raw text -


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