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.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ab7b556690244d7c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-12-05 19:48:20 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!swrinde!pipex!uunet!gwu.edu!gwu.edu!not-for-mail From: mfeldman@seas.gwu.edu (Michael Feldman) Newsgroups: comp.lang.ada Subject: Re: Running GNAT from the VB3 Shell Command Date: 5 Dec 1994 21:30:55 -0500 Organization: George Washington University Message-ID: <3c0icv$sho@felix.seas.gwu.edu> References: <3bi2bc$a4f@gopher.cs.uofs.edu> <3bu04a$94j@news.cais.com> NNTP-Posting-Host: 128.164.9.3 Date: 1994-12-05T21:30:55-05:00 List-Id: In article <3bu04a$94j@news.cais.com>, Lance Kibblewhite wrote: >I have tried 1.83, and have never got it to work. I am able to compile >and bind, but the .EXE's never seem to work. I can't even get the >hello.adb example to work! gnatbl produces an executable in coff form, not a true DOS .exe. This is not really a GNAT problem, it's really an aspect of the djgpp (gcc for DOS) extender. This is spelled out in the djgpp docs but not the GNAT ones, which NYU is trying to keep as platform-independent as possible. To run it, try go32 hello (or whatever the output file is called) or convert the coff to exe by running coff2exe hello The preliminary GNAT 2.0 I got at TRI-Ada fixes this by building the conversion into gnatbl. If the official distribution release does too, it'll solve lots of problems. The entire extender problem will be fixed with the next release of djgpp, which is expected in a few months and will use "pure" DPMI memory. Cheers - Mike Feldman ------------------------------------------------------------------------ Michael B. Feldman - chair, SIGAda Education Working Group Professor, Dept. of Electrical Engineering and Computer Science The George Washington University - Washington, DC 20052 USA 202-994-5919 (voice) - 202-994-0227 (fax) - mfeldman@seas.gwu.edu (Internet) ------------------------------------------------------------------------ Ada on the World-Wide Web: http://lglwww.epfl.ch/Ada/ ------------------------------------------------------------------------ "Illegitimi non carborundum." (Don't let the bastards grind you down.) ------------------------------------------------------------------------