From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HK_RANDOM_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d516a6b61d50c7ae,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!j33g2000cwa.googlegroups.com!not-for-mail From: "stuart clark" Newsgroups: comp.lang.ada Subject: Compiling separates with GPS GPL version (Ada 2005 i think) Date: 1 Mar 2006 04:37:54 -0800 Organization: http://groups.google.com Message-ID: <1141216674.749938.132650@j33g2000cwa.googlegroups.com> NNTP-Posting-Host: 202.6.138.35 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1141216683 7807 127.0.0.1 (1 Mar 2006 12:38:03 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 1 Mar 2006 12:38:03 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: j33g2000cwa.googlegroups.com; posting-host=202.6.138.35; posting-account=wseb7A0AAACoGSN9Y-Rms_un18idFn-Q Xref: g2news1.google.com comp.lang.ada:3220 Date: 2006-03-01T04:37:54-08:00 List-Id: 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