delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/01/23/03:50:54

Date: Sun, 23 Jan 2000 10:18:02 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp-workers AT delorie DOT com
Subject: Problems w/ djgpp "out of the box" (fwd)
Message-ID: <Pine.SUN.3.91.1000123101637.26609S-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

I don't have Binutils 2.8.1 installed.  Could someone please check if 
ld.exe there chokes on the new djgpp.djl?

If it does, I think we will have to remove the new additions and upload a 
fixed djdev.  Comments?

---------- Forwarded message ----------
Date: Thu, 20 Jan 2000 23:11:42 GMT
From: Technoweenie <you AT ghfky DOT ddd>
To: djgpp AT delorie DOT com
Newgroups: comp.os.msdos.djgpp
Subject: Problems w/ djgpp "out of the box"

Hi,

I just downloaded and installed djgpp on my ms-dos 486 system and
encountered an error I thought someone might have some insight on.
I downloaded the minimum needed from the "What to download" section
of the README.1ST file that came with the main compressed file.

Here's the problem:  When I try to compile a simple C program

   #include <stdio.h>

   int main(int argc, char **argv)
   {
       printf("Hello world!\n");
   }

I get an error from the linker stating:

   c:/djgpp/bin/ld.exe:djgpp.djl:7:parse error
   collect2: ld returned 1 exit status

I looked at the djgpp.djl file and it's not very intuitive as to
what's going on in there.  The line it is failing on looks like this:

   *(.gnu.linkonce.t*)

I deleted this line, and several others that got a parse error (they
looked similar) and eventually my executable was built and ran
successfully.  However, I am obviously worried about what I deleted
and what it was needed for...

Thanks in advance for any help

J. Frank Reeves


- Raw text -


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