delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/01/23/05:17:38

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <200001230915.KAA10255@father.ludd.luth.se>
Subject: Re: Problems w/ djgpp "out of the box" (fwd)
To: djgpp-workers AT delorie DOT com
Date: Sun, 23 Jan 100 10:15:18 +0100 (MET)
Cc: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
In-Reply-To: <Pine.SUN.3.91.1000123101637.26609S-100000@is> from Eli Zaretskii at "Jan 23, 0 10:18:02 am"
X-Mailer: ELM [version 2.4ME+ PL15 (25)]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

According to Eli Zaretskii:
> 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?

Nope. gcc 2.8.1, ld 2.8.1, as 2.8.1, djdev 2.03. Works just fine.


Right,

							MartinS
> 
> ---------- 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