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, FREEMAIL_REPLY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d7ebd49467fb4662,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-03 01:13:27 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: wangcity@hotmail.com (wang tianyi) Newsgroups: comp.lang.ada Subject: Use gnat and emacs(Ada-mode) can not compile file :( Date: 3 May 2003 01:13:26 -0700 Organization: http://groups.google.com/ Message-ID: <332408c5.0305030013.216af8bf@posting.google.com> NNTP-Posting-Host: 219.140.131.141 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1051949606 27409 127.0.0.1 (3 May 2003 08:13:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 3 May 2003 08:13:26 GMT Xref: archiver1.google.com comp.lang.ada:36905 Date: 2003-05-03T08:13:26+00:00 List-Id: I use emacs21.3 and Ada-mode.el3.6 with gnat 1.5 compile Ada files in winXP. but when i use "Ada->compile file" from menu, it tell me: "&& gcc -c -gnatq i:/xxx.adb , system can not find need file, Compilation exited abnormally with code 1 at Sat May 03 15:42:24" I just want to compile it for windows NOT want to use 'cross_prefix' but every time i use "complile file" from menu, it always add && before command gcc -c , and system not find what is &&, so system tell : can not find need file. any way can get rid of "&&"? and I already use "Ada->Costomize" fixed Ada Prj Default Comp Cmd from "${cross_prefix}gcc -c ${comp_opt}" to "gcc -c ${comp_opt}" and save it. but it's useless!!! I have already set PATH for gnat , and can use gcc command in any where . how to get it work? thanks -- Best regards, wang mailto:wang_tian_yi@sina.com