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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d7ebd49467fb4662 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-05 10:37:33 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Use gnat and emacs(Ada-mode) can not compile file :( Date: 05 May 2003 18:37:06 +0100 Organization: Pushface Sender: simon@smaug.pushface.org Message-ID: References: <332408c5.0305030013.216af8bf@posting.google.com> <332408c5.0305040600.2d188a16@posting.google.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1052156251 2744 62.49.19.209 (5 May 2003 17:37:31 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Mon, 5 May 2003 17:37:31 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: archiver1.google.com comp.lang.ada:36979 Date: 2003-05-05T18:37:06+01:00 List-Id: wangcity@hotmail.com (wang tianyi) writes: > in "Project and Editor configuration. -->[Ada Menu]" > Compiling a single file (menu Ada->Compile File): [Help] > (comp_cmd) > it's always is :"cd ${build_dir} && gcc -c " > > > > whatever I fixed it to "gcc -c" ,but can not save. :( --i use the " > [Save]" in the page below,but still can not save , every time > ,it's "cd ${build_dir} && gcc -c " Very odd. Have you tried Ada->Customize, Ada Prj Default Comp Cmd (near the end)? On my machine the options look as I showed (the 'cd' and the 'gcc' on separate lines).