delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2010/03/30/19:15:16

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: djgpp/libreadline bug? (cannot use backspace)
Date: Tue, 30 Mar 2010 17:07:57 -0700 (PDT)
Organization: http://groups.google.com
Lines: 22
Message-ID: <e6b12be1-08fe-4736-8ed6-9b2500c9d7b2@u31g2000yqb.googlegroups.com>
References: <013d25d6-f34d-4686-9c68-0de775d5bf59 AT t20g2000yqe DOT googlegroups DOT com>
<7705c9031003122205u29f3d86dkb94e472d76b6d553 AT mail DOT gmail DOT com>
<9dd368da-7195-43ac-ac5b-6560a6a93bed AT k17g2000yqb DOT googlegroups DOT com>
<7705c9031003141648k4de53b9cs1bfdc8e709f2f19 AT mail DOT gmail DOT com>
<33944e03-8325-4651-9f73-202b4f1202e2 AT z11g2000yqz DOT googlegroups DOT com>
<87zl1riozn DOT fsf AT turtle DOT gmx DOT de> <7705c9031003290422w7015bbd6y5e8647aec1ba3f36 AT mail DOT gmail DOT com>
<109418c8-c160-4b9f-8e6c-a842da1b7a98 AT k13g2000yqe DOT googlegroups DOT com>
<83oci71dhr DOT fsf AT gnu DOT org> <11fa369b-5fab-42ac-805f-1e7e74051411 AT l36g2000yqb DOT googlegroups DOT com>
<83fx3j1874 DOT fsf AT gnu DOT org> <81255c92-b71b-4d8b-871c-fe057d72ddb7 AT u22g2000yqf DOT googlegroups DOT com>
<834ojz111c DOT fsf AT gnu DOT org> <9e95b163-ba8a-467d-870e-4f3437dd9a96 AT y17g2000yqd DOT googlegroups DOT com>
<201003302018 DOT o2UKI6VQ021167 AT delorie DOT com>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1269994078 5264 127.0.0.1 (31 Mar 2010 00:07:58 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Wed, 31 Mar 2010 00:07:58 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: u31g2000yqb.googlegroups.com; posting-host=65.13.115.246;
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
X-HTTP-UserAgent: Opera/9.80 (Windows NT 5.1; U; en) Presto/2.5.22
Version/10.51,gzip(gfe)
Bytes: 2701
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

On Mar 30, 2:18=A0pm, DJ Delorie <d DOT  DOT  DOT  AT delorie DOT com> wrote:
> > P.S. GNU ld still links all *.o into the .EXE even if not used.
>
> You want to compile with -ffunction-sections -fdata-sections and when
> linking use --gc-sections, assuming all those are supported by djgpp.

I did try, but it didn't seem to do anything useful, probably
because ...

`-ffunction-sections'
`-fdata-sections'
     Place each function or data item into its own section in the
output
     file if the target supports arbitrary sections.  The name of the
     function or the name of the data item determines the section's
name
     in the output file.

Isn't COFF limited in section naming? Perhaps that's why (other than
just lacking somebody to implement it)?

- Raw text -


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