comp.lang.ada
 help / color / mirror / Atom feed
From: "stuart clark" <stuartlclark@hotmail.com>
Subject: Compiling separates with GPS GPL version (Ada 2005 i think)
Date: 1 Mar 2006 04:37:54 -0800
Date: 2006-03-01T04:37:54-08:00	[thread overview]
Message-ID: <1141216674.749938.132650@j33g2000cwa.googlegroups.com> (raw)

i have package spec which declares two visible task. Thye package body
then declares these tasks as separates. i then have the task in
individual files named

common_to_both_1553-io_1553.adb

i have compiled both the package spec and body, however when i try to
compile the separates is get the following;

gnatmake -u -c -u -PC:/GNAT/uatl/uatl_common_lib.gpr
common_to_both_1553-io_1553.adb -d
gcc -c -I- -gnatA "C:\Documents and Settings\stuart\My
Documents\UATL\uatl\common\common_lib\common_to_both_1553-io_1553.adb"
cannot generate code for file common_to_both_1553-io_1553.adb (subunit)
to check subunit for errors, use -gnatc
gnatmake: "c:\documents and settings\stuart\my
documents\uatl\uatl\common\common_lib\common_to_both_1553-io_1553.adb"
compilation error

process exited with status 4


Questions
1) What am i doing wrong???

2) Can i invoke a gnatmake myself in GPS, i tried a GPS shell but it
doesnt recognise the gnatmake command. Is there some way of manually
compiling stuff. At present i am simply doing a SHIFT-F$ to compile the
separate.

Stuart Clark




             reply	other threads:[~2006-03-01 12:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-01 12:37 stuart clark [this message]
2006-03-01 14:19 ` Compiling separates with GPS GPL version (Ada 2005 i think) Marc A. Criley
2006-03-01 22:22   ` stuart clark
2006-03-01 22:22   ` stuart clark
2006-03-03  6:20   ` Simon Wright
2006-03-03 22:24     ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox