Re: help with include and library files in GPS



Simon Wright a écrit :
(a) the environment variable ADA_PROJECT_PATH tells where to find .gpr
files

I know, but I generally avoid using environment variables; I put my
build machinery under version control and make sure I can get a
reproducible build from there, without the need for environment
variables. YMMV.

(b) you could make your gtkada.gpr define a symbol for the library
path,
GTKADALIB := ("/usr/lib/libgtkada.a");
and then
for Default_Switches ("Ada") use gtkada.GTKADALIB;

I already do that for the shared libraries in all Debian packages. I
haven't bothered doing it for the static libraries, since linking
dynamically is so much better - at least in Debian.

--
Ludovic Brenta.

.



Relevant Pages

  • Re: routing and remote access error
    ... i looked at the environment variables and the temp directory has the system account configured to full control. ... this could be an internal windows error ...
    (microsoft.public.win2000.networking)
  • Re: Environment variable set where?
    ... Do I have to change it here or is there a control panel ... will display the system and user environment variables. ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: Language Support
    ... The group of settings that control the internationalization ... Note that there is a hierarchy among these environment variables, ... You can set these values in your shell startup files to override the ...
    (linux.redhat)
  • Re: Where is the config file?
    ... > I would like to know where pkg_add keeps its configuration file? ... manpage for the list of available options and environment variables ... that control its behaviour. ...
    (freebsd-questions)