Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 5 additions & 19 deletions documentation/source/getting-started-ide/projects.rst
Original file line number Diff line number Diff line change
Expand Up @@ -685,10 +685,10 @@ of two modes: Interactive Development mode, and Production mode. See
Link page
---------

The **Project > Settings...** dialog's Link page controls whether a project
The :menuselection:`Project --> Settings...` dialog's Link page controls whether a project
is linked as an executable or as a DLL, and what its name will be. It
also allows you to specify version information for the target, a base
address for it, and the Windows subsystem it runs in.
also allows you to specify version information for the target
and the Windows subsystem it runs in.

.. note:: The default linker used in Open Dylan is a GNU linker. If
you own Microsoft Developer Studio, you can use the Microsoft linker
Expand All @@ -699,30 +699,16 @@ address for it, and the Windows subsystem it runs in.
Target File section of the Link page
------------------------------------

The **Project > Settings...** dialog's Link page has a Target File section
The :menuselection:`Project --> Settings...` dialog's Link page has a Target File section
that contains the name of the project target and the type of the target.
The default target name is derived from the name of the project. Note
that the name will always end in .EXE or .DLL according to the target
type, regardless of any extension you give to the target's name.

Base Address section of the Link page
-------------------------------------

The **Project > Settings...** dialog's Link page has a Base Address section
that allows you to specify a base address for your target file. This is
the address at which the target will be loaded into memory.

Windows 95, Windows 98, and Windows NT all provide a default base
address, one for EXEs and one for DLLs, and will also relocate the
target automatically if there is no room for it at that address. You can
provide a value in the Base Address if you would like the target to be
loaded at a particular location. The value should be specified in
hexadecimal, using Dylan's *#x* prefix: for example, *#x1000000*.

Version Information section of the Link page
--------------------------------------------

The **Project > Settings...** dialog's Link page has a Version Information
The :menuselection:`Project --> Settings...` dialog's Link page has a Version Information
section that allows you to add major and minor version numbers to a DLL
or EXE. The values in this section are recorded in the DLL or EXE that
the project builds. Open Dylan uses them at compile time and run
Expand Down
24 changes: 10 additions & 14 deletions documentation/source/library-reference/lid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -415,26 +415,22 @@ LID keyword

Base-Address: *address*

.. deprecated:: 2026.2
Because Windows versions starting with Windows Vista and
Windows Server 2008 implement Address Space Layout Randomization for
improved security, providing an initial base address is no longer
useful.

.. note:: This keyword is only used on Windows and is ignored on other
platforms.

Specifies the base address of the DLL built from this Dylan library. The
*address* must be a hexadecimal value. For convenience, you can use
either Dylan (``#xNNNNNNNN``) or C (``0xNNNNNNNN``) notations when
specifying the address.
This keyword specifies the base address of the Windows DLL built from
this Dylan library. If provided, *address* must be a hexadecimal value. For
convenience, you can use either Dylan (``#xNNNNNNNN``) or C
(``0xNNNNNNNN``) notations when specifying the address.

This base address is ignored when building a ``.EXE`` file.

If this keyword is not specified, the compiler will compute a default
base address for the library. However, it is possible for more than one
library to end up with the same default base address. If an application
uses any of these libraries, all but one of them will have to be
relocated when the application starts. This process is automatic, but
cuts down on the amount of sharing, increases your application's memory
footprint, and slows down load time. In such circumstances, you may want
to give one or more libraries an explicit base address using this
keyword.

Linker-Options:
^^^^^^^^^^^^^^^

Expand Down
6 changes: 6 additions & 0 deletions documentation/source/release-notes/2026.2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ Compiler
ABIs, and which improves performance in certain situations (such as
dispatching methods with keyword arguments).

* The ``base-address`` keyword in LID and HDP project files,
specifying a default load address for DLLs on Windows, has been
obsoleted. The :guilabel:`Base address` project link option in the
IDE has been removed, and the compiler will no longer attempt to
assign a base address automatically when projects are saved.

Tools
=====

Expand Down
1 change: 0 additions & 1 deletion sources/app/dylan-playground/dylan-playground.lid
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Library: dylan-playground
Author: Andy Armstrong
Synopsis: A Dylan application to play around in
Base-Address: 0x64FE0000
Major-Version: 2
Minor-Version: 1
Compilation-Mode: loose
Expand Down
1 change: 0 additions & 1 deletion sources/app/dylan-playground/gui-dylan-playground.lid
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Library: gui-dylan-playground
Author: Andy Armstrong
Synopsis: A Dylan application to play around in
Base-Address: 0x64FE0000
Linker-Options: $(guilflags)
Major-Version: 2
Minor-Version: 1
Expand Down
1 change: 0 additions & 1 deletion sources/app/plonker/plonker.lid
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ files: library
keyboard-pane
frame
plonker
base-address: 0x64FA0000
start-function: main
linker-options: $(guilflags)
major-version: 2
Expand Down
1 change: 0 additions & 1 deletion sources/collections/collections-win32.lid
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ Library: collections
Synopsis: Collection extensions library
Author: Andy Armstrong
Executable: DxCOLLNS
Base-Address: 0x66CA0000
Library-Pack: Core
RC-Files: version.rc
LID: collections.lid
Expand Down
1 change: 0 additions & 1 deletion sources/common-dylan/win32-common-dylan.lid
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Module: dylan-user
Synopsis: Common Dylan library definition
Author: Andy Armstrong
Executable: DxCMNDYL
Base-Address: 0x66DC0000
RC-Files: version.rc
Target-Type: dll
Files: library
Expand Down
1 change: 0 additions & 1 deletion sources/corba/demos/bank/bank-client/bank-client.hdp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ files: library
module
bank-client
init-client
base-address: 0x64FE0000
debug-arguments: -ORBname-service-file c:\temp\ns.ior -location-service:shared-file
start-function:
linker-options: $(guilflags)
Expand Down
1 change: 0 additions & 1 deletion sources/corba/demos/bank/bank-server/bank-server.hdp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ files: library
bank-server
server-frame
init-server
base-address: 0x64DE0000
debug-arguments: -ORBname-service-file c:\temp\ns.ior -location-service:shared-file
linker-options: $(guilflags)
major-version: 2
Expand Down
1 change: 0 additions & 1 deletion sources/corba/demos/chat/client/chat-client.hdp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
comment: This file is generated, please don't edit
format-version: 2
target-type: executable
base-address: 0x63F80000
linker-options: $(guilflags)
start-function: main
major-version: 2
Expand Down
1 change: 0 additions & 1 deletion sources/corba/demos/chat/server/chat-server.hdp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
comment: This file is generated, please don't edit
format-version: 2
target-type: executable
base-address: 0x63F80000
linker-options: $(guilflags)
start-function: main
major-version: 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ library: corba-hello-world-client
files: library
module
corba-hello-world-client
base-address: 0x63AC0000
start-function: main
major-version: 2
minor-version: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ library: corba-hello-world-server
files: library
module
corba-hello-world-server
base-address: 0x63AA0000
start-function: main
major-version: 2
minor-version: 1
Expand Down
1 change: 0 additions & 1 deletion sources/corba/demos/pente/corba-pente.hdp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ files: library
module
board
start
base-address: 0x63FE0000
start-function: play-pente
linker-options: $(guilflags)
major-version: 2
Expand Down
1 change: 0 additions & 1 deletion sources/corba/orb/connections/orb-connections.hdp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
comment: This file is generated, please don't edit
format-version: 2
Library-Pack: CORBA
base-address: 0x63EE0000
minor-version: 1
files: orb-connections-library
manager
Expand Down
1 change: 0 additions & 1 deletion sources/corba/orb/core/orb-core.hdp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ comment: This file is generated, please don't edit
format-version: 2
target-type: dll
Library-Pack: CORBA
base-address: 0x63F40000
files: orb-core-library
args
orb
Expand Down
1 change: 0 additions & 1 deletion sources/corba/orb/dylan/corba-dylan.hdp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ format-version: 2
library: corba-dylan
files: corba-dylan-library
corba-dylan
base-address: 0x64FE0000
Library-Pack: CORBA
major-version: 2
minor-version: 1
Expand Down
1 change: 0 additions & 1 deletion sources/corba/orb/iiop/orb-iiop.hdp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ comment: This file is generated, please don't edit
format-version: 2
target-type: dll
Library-Pack: CORBA
base-address: 0x63F40000
files: orb-iiop-library
cdr-basic
cdr-constructed
Expand Down
1 change: 0 additions & 1 deletion sources/corba/orb/orb/win32-orb.hdp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ format-version: 2
target-type: dll
Library-Pack: CORBA
RC-Files: version.rc
base-address: 0x64EC0000
files: orb-library
major-version: 2
minor-version: 1
Expand Down
1 change: 0 additions & 1 deletion sources/corba/orb/poa/orb-poa.hdp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ comment: This file is generated, please don't edit
format-version: 2
target-type: dll
Library-Pack: CORBA
base-address: 0x63EC0000
files: orb-poa-library
poa
receiver
Expand Down
1 change: 0 additions & 1 deletion sources/corba/orb/protocols/corba/corba-protocol.hdp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ files: corba-protocol-library
exceptions
conditions
subprojects: ../../dylan/corba-dylan.hdp
base-address: 0x63D80000
Library-Pack: CORBA
debug-arguments: -debug
major-version: 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ files: portableserver-protocol-library
subprojects: ../../dylan/corba-dylan.hdp
../corba/corba-protocol.hdp
Library-Pack: CORBA
base-address: 0x63FC0000
major-version: 2
minor-version: 1
compilation-mode: tight
Expand Down
1 change: 0 additions & 1 deletion sources/corba/orb/streams/orb-streams.hdp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ files: orb-streams-library
subprojects: ../utilities/orb-utilities.hdp
../dylan/corba-dylan.hdp
Library-Pack: CORBA
base-address: 0x63FC0000
major-version: 2
minor-version: 1
compilation-mode: tight
Expand Down
1 change: 0 additions & 1 deletion sources/corba/orb/utilities/orb-utilities.hdp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ files: orb-utilities-library
tickets
subprojects: ../dylan/corba-dylan.hdp
Library-Pack: CORBA
base-address: 0x63FE0000
major-version: 2
minor-version: 1
compilation-mode: tight
Expand Down
1 change: 0 additions & 1 deletion sources/corba/scepter/abstract-syntax-tree/scepter-ast.hdp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ files: scepter-ast-library
root
error
subprojects: ../core/scepter-core.hdp
base-address: 0x63F40000
major-version: 2
minor-version: 1
compilation-mode: tight
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ files: library
dump
subprojects: ../../core/scepter-core.hdp
../../abstract-syntax-tree/scepter-ast.hdp
base-address: 0x63FE0000
major-version: 2
minor-version: 1
compilation-mode: tight
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ files: scepter-dylan-back-end-library
typedef
subprojects: ../../core/scepter-core.hdp
../../abstract-syntax-tree/scepter-ast.hdp
base-address: 0x63FE0000
major-version: 2
minor-version: 1
compilation-mode: tight
Expand Down
1 change: 0 additions & 1 deletion sources/corba/scepter/back-end/ir/scepter-ir-back-end.hdp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ files: scepter-ir-back-end-library
operation
subprojects: ../../core/scepter-core.hdp
../../abstract-syntax-tree/scepter-ast.hdp
base-address: 0x63FE0000
major-version: 2
minor-version: 1
compilation-mode: tight
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ files: library
scepter-ir-back-end-test-suite
subprojects: ../scepter-ir-back-end.hdp
../../../core/scepter-core.hdp
base-address: 0x63FE0000
debug-arguments: -debug -progress
start-function:
major-version: 2
Expand Down
1 change: 0 additions & 1 deletion sources/corba/scepter/console/console-scepter.hdp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ files: console-scepter-library
main
subprojects: ../scepter.hdp
../core/scepter-core.hdp
base-address: 0x64F20000
debug-arguments: /debugger /language:dump /stdout c:/users/keithd/foo.idl
start-function: main
major-version: 2
Expand Down
1 change: 0 additions & 1 deletion sources/corba/scepter/console/minimal-console-scepter.hdp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ files: minimal-console-scepter-library
main
subprojects: ../scepter.hdp
../core/scepter-core.hdp
base-address: 0x64F20000
start-function: main
major-version: 2
minor-version: 1
Expand Down
1 change: 0 additions & 1 deletion sources/corba/scepter/core/scepter-core.hdp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ files: scepter-core-library
back-end
error
subprojects: ../utilities/scepter-utilities.hdp
base-address: 0x63FE0000
major-version: 2
minor-version: 1
compilation-mode: tight
Expand Down
1 change: 0 additions & 1 deletion sources/corba/scepter/minimal-scepter.hdp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ subprojects: front-end\file\scepter-file-front-end.hdp
back-end\dylan\scepter-dylan-back-end.hdp
back-end\dump\scepter-dump-back-end.hdp
core\scepter-core.hdp
base-address: 0x63DE0000
major-version: 2
minor-version: 1
compilation-mode: tight
Expand Down
1 change: 0 additions & 1 deletion sources/corba/scepter/scepter.hdp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ subprojects: front-end\file\scepter-file-front-end.hdp
back-end\dylan\scepter-dylan-back-end.hdp
back-end\dump\scepter-dump-back-end.hdp
core\scepter-core.hdp
base-address: 0x63DE0000
major-version: 2
minor-version: 1
compilation-mode: tight
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ library: console-scepter-tests
files: console-scepter-tests-library
start
subprojects: ../scepter-tests.hdp
base-address: 0x64E80000
major-version: 2
minor-version: 1
compilation-mode: tight
Expand Down
1 change: 0 additions & 1 deletion sources/corba/scepter/tests/scepter-tests.hdp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ files: library
errors/damaged-suite
suites
subprojects: ../scepter.hdp
base-address: 0x64EA0000
major-version: 2
minor-version: 1
compilation-mode: tight
Expand Down
1 change: 0 additions & 1 deletion sources/corba/scepter/tool/tool-scepter.hdp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ files: tool-scepter-library
subprojects: ../scepter.hdp
../abstract-syntax-tree/scepter-ast.hdp
../front-end/file/scepter-file-front-end.hdp
base-address: 0x63CA0000
major-version: 2
minor-version: 1
compilation-mode: tight
Expand Down
1 change: 0 additions & 1 deletion sources/corba/scepter/utilities/scepter-utilities.hdp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ files: scepter-utilities-library
scepter-utilities-module
indenting
misc
base-address: 0x63E00000
major-version: 2
minor-version: 1
compilation-mode: tight
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Library: naming-client
Author: Gary Palter
Executable: DxCNSC
Base-Address: 0x64E80000
Library-Pack: CORBA
RC-Files: version.rc
LID: naming-client.lid
Expand Down
Loading
Loading