delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/06/25/18:20:47

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Message-ID: <558C7F06.1030504@gmx.de>
Date: Fri, 26 Jun 2015 00:21:58 +0200
From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de)" <djgpp AT delorie DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 Thunderbird/3.1.7
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: dxe3gen patch
References: <CAA2C=vAsibDAvdNkdGMFC_HeEoEGdrCX_1xTk1yDqbSgebnXdA AT mail DOT gmail DOT com> <201506050742 DOT t557ggR8019445 AT delorie DOT com> <CAA2C=vDqj=4LE+rc5FiUoFfzKqD3h6Ru-q6gNmAHY+tjMJ=1sQ AT mail DOT gmail DOT com> <CAA2C=vASsjartzfLp1T9RRix9ea-B5q_nVzzUj3ZgiJujphuNw AT mail DOT gmail DOT com> <CAA2C=vD3F==DAp1ESJQ7PtBuES7Aw3DBWL6E8gBo1yy778G53A AT mail DOT gmail DOT com> <CAA2C=vB7B6t6XOiSdAqubtZg04Mw3MW4=15wrj33HR-P1y2qdw AT mail DOT gmail DOT com> <f05e58ed-6460-4d25-bfcc-db6609c765c4 AT googlegroups DOT com> <201506242231 DOT t5OMVXG1011025 AT delorie DOT com> <CAA2C=vAZMj316C0OhYMxPwQfHnZ2KaNC7n3svQB8QSpxfpeicw AT mail DOT gmail DOT com> <62f0e449-13f5-4bdd-87a4-5bf57e4d7663 AT googlegroups DOT com> <CAA2C=vAWaYA7LJ8xrvVNGtbg9Oz4+FL6s32wSQ-3QHy30eRCYQ AT mail DOT gmail DOT com>
In-Reply-To: <CAA2C=vAWaYA7LJ8xrvVNGtbg9Oz4+FL6s32wSQ-3QHy30eRCYQ@mail.gmail.com>
X-Provags-ID: V03:K0:sACsRyHbrMInigv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(sezeroz AT gmail DOT com):
> On 6/25/15, Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de)
> <djgpp AT delorie DOT com>  wrote:
>> On Thursday, June 25, 2015 at 10:51:18 AM UTC+2, Ozkan Sezer (sezeroz AT
>> gmail DOT com) wrote:
>>> On 6/25/15, DJ Delorie<dj AT delorie DOT com>  wrote:
>>>>
>>>>> Neitherless it is DJ that should decide if he likes the design or not.
>>>>
>>>> I'm OK with the design.
>>>>
>>>
>>> Applied the changes to HEAD and to v2_05_1.
>>>
>>> The changes may be worth mentioning in the man pages and
>>> in the changelog, but I am not good with texinfo. Juan?
>>
>> And I am not good with english.  Please send me a small description text to
>> be added to wc205.txi (aka changelog) and some more extensive description
>> for dxegen.txi (aka man pages).  I will format them so they fit into those
>> files.
>>
>
> For dxegen.txi, something like the following:
>
> dxe3gen responds to the following environment variables:
>
> DXE_CC: C compiler name. If not set, defaults to gcc for native build
> environments, and i586-pc-msdosdjgpp-gcc for cross-build environmlents.
>
> DXE_AS: Assembler name. If not set, defaults to as for native build
> environments, and i586-pc-msdosdjgpp-as for cross-build environmlents.
>
> DXE_AR: Archiver name. If not set, defaults to ar for native build
> environments, and i586-pc-msdosdjgpp-ar for cross-build environmlents.
>
> DXE_LD: Linker name. If not set, defaults to ld for native build
> environments, and i586-pc-msdosdjgpp-ld for cross-build environmlents.
>
> DXE_SC: Path to linker script name. If not set, defaults to dxe.ld.
> Passed internally to ld, like 'ld -T dxe.ld'
>
>
> For wc205.txi, something like:
>
> dxe3gen now responds to DXE_CC, DXE_AS, DXE_AR and DXE_LD environment
> variables to pick required build tools, and to DXE_SC environment
> variable to pick the required linker script.
>
> --
> O.S.

If no one objects I will commit the following patch to HEAD and to v2_05_1.

Regards,
Juan M. Guerrero




diff -aprNU5 djgpp.orig/src/docs/kb/wc205.txi djgpp/src/docs/kb/wc205.txi
--- djgpp.orig/src/docs/kb/wc205.txi	2015-06-25 22:54:20 +0000
+++ djgpp/src/docs/kb/wc205.txi	2015-06-25 23:19:28 +0000
@@ -49,10 +49,15 @@ match the order used by the function ver

  @cindex @acronym{C++} compliance, @file{errno.h}
  In @file{errno.h}, do not exclude errno macros for C++ when -std=c++0x, -std=c++11,
  or newer C++ standards are being used.

+@pindex dxe3gen AT r{, and new environment variables @env{DXE_CC, DXE_AS}, @env{DXE_AR}, @env{DXE_LD} and @env{DXE_SC}}
+dxe3gen now responds to @env{DXE_CC}, @env{DXE_AS}, @env{DXE_AR} and @env{DXE_LD} environment
+variables to pick required build tools, and to @env{DXE_SC} environment variable
+to pick the required linker script.
+
  @findex asctime_r AT r{, added to the library}
  @findex ctime_r AT r{, added to the library}
  @findex gmtime_r AT r{, added to the library}
  @findex hcreate AT r{, added to the library}
  @findex hdestroy AT r{, added to the library}
diff -aprNU5 djgpp.orig/src/dxe/dxegen.txi djgpp/src/dxe/dxegen.txi
--- djgpp.orig/src/dxe/dxegen.txi	2003-05-01 12:07:26 +0000
+++ djgpp/src/dxe/dxegen.txi	2015-06-25 23:27:06 +0000
@@ -53,10 +53,24 @@ Usage: @kbd{dxe3gen [-o output.dxe] [opt
  -V		Verbose output (minimal output by default)
  --show-dep	Show dependencies for specified module
  --show-exp	Show symbols exported by the DXE module
  --show-unres	Show unresolved symbols in the DXE module
  [ld-options]	Any other options are passed unchanged to ld
+
+
+dxe3gen responds to the following environment variables:
+
+DXE_CC: C compiler name. If not set, defaults to gcc for native build
+environments, and i586-pc-msdosdjgpp-gcc for cross-build environmlents.
+DXE_AS: Assembler name. If not set, defaults to as for native build
+environments, and i586-pc-msdosdjgpp-as for cross-build environmlents.
+DXE_AR: Archiver name. If not set, defaults to ar for native build
+environments, and i586-pc-msdosdjgpp-ar for cross-build environmlents.
+DXE_LD: Linker name. If not set, defaults to ld for native build
+environments, and i586-pc-msdosdjgpp-ld for cross-build environmlents.
+DXE_SC: Path to linker script name. If not set, defaults to dxe.ld.
+Passed internally to ld, like 'ld -T dxe.ld'
  @end example

  @command{dxe3gen} is a utility which allows you to create files which contain
  dynamically loadable code (@acronym{DXE}).  @acronym{DXE} is used as a synonym
  for `dynamically loadable executable module', also called sometimes `dynamic

- Raw text -


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