AdaPower Logged in as Guest
Ada Tools and Resources

Ada 95 Reference Manual
Ada Source Code Treasury
Bindings and Packages
Ada FAQ


Join >
Home >
Articles >
Getting Started >
Ada FAQ >
Source Treasury >
Books & Tutorials >
Packages for Reuse >
Latest Additions >
Ada Projects >
Press Releases >
Ada Audio / Video >
Home Pages >
Links >
Contact >
About >
Login >
Back
Ada Utilities - gnatlink
Utilities for Ada Programming

Gnatlink does not automatically handle the resource (.rc) files common
in Windows programs.  Wglink rectifies this.  It is a shell that
automatically processes any.rc or any.res files that were mentioned
in a Pragma Linker_Options("any.rc"), or, with Gnat 3.15,
Pragma Link_With("any.rc"), producing .rbj files, then it calls
gnatlink with the linker options changed to "any.rbj".

To use wglink, add appropriate 'pragma linker_options("abc.rc")'
to the Ada source code, then add "--GNATLINK=wglink.exe" to your
gnatmake command line.

By default, wglink uses rcl.exe and res2coff, as needed.  If rcl
is inadequate for your .rc file, and you have rc.exe available,
then add "--RC" to the gnatmake command line to use rc.exe instead.
Click to download wglink.zip


(c) 1998-2004 All Rights Reserved David Botton