Mail Archives: djgpp/2015/06/25/18:20:47
Am 25.06.2015 20:05, schrieb Ozkan Sezer (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 -