I'm trying to create a simple project in GPS environment and compile it against the ORBExpress packages. The orbexpress directory contains a subdirectory "include" with .ads file and another subdirectory "lib" with .ali files.
The toolchain that is set in the GPS environment is gnatmake 6.1.1 (I think the version does not matter though).
When I try to build the project, I get the messages such as "external source corba.ads is not part of any project; cannot be compiled without gnatmake switch -x".
If I add the -x switch to gnatmake line in Switches, I get the following error: "cannot generate code for file 'corba.ads' (package spec)".
I looked at the gnatmake manual and it seemed that -aL'dir' switch is the thing I need (supposedly, tells to ignore compilation for units whose .ali files can be found in dir, but adding this switch seems to have no effect...
Please help.
.gpr
file? if so, you’d probably find it simpler in the long run to write your own project GPR andwith
the ORBexpress one. Even if not, it’s probably not too hard to write your ownorbexpress.gpr
. – Simon Wright