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,ec027d79edf367ae X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-12-08 07:40:36 PST Path: bga.com!news.sprintlink.net!pipex!uunet!zib-berlin.de!prise.nz.dlr.de!news.dfn.de!gina.zfn.uni-bremen.de!marvin.pc-labor.uni-bremen.de!news.uni-stuttgart.de!iris2.csv.ica.uni-stuttgart.de!ucaa2385 From: ucaa2385@iris2.csv.ica.uni-stuttgart.de (Peter Hermann) Newsgroups: comp.lang.ada Subject: Re: GNAT problem: Hello World Date: 8 Dec 1994 09:44:22 GMT Organization: Comp.Center (RUS), U of Stuttgart, FRG Message-ID: <3c6khm$spq@info4.rus.uni-stuttgart.de> References: <3c091j$k9i@euromath.dk> <3c1kpp$fuo@columbia.acc.brad.ac.uk> NNTP-Posting-Host: iris2.csv.ica.uni-stuttgart.de Date: 1994-12-08T09:44:22+00:00 List-Id: W ALI (W.Ali1@bradford.ac.uk) wrote: : Jacob Sparre Andersen (sparre@meyer.fys.ku.dk) wrote: : : I've got a problem with GNAT-1.83-DOS (just downloaded from ftp.cdrom.com : : yesterday): : : The Hello.adb example freezes the computer when I try : : to run it. It seems to compile and link fine. : : Could somebody please help me (or point me to some help). : I'm having exactly the same problem too ! : I've even tried typing a short program myself, but this tells me that the : program is too big for memory. This is impossible as it is only a few : lines long. Anybody ? some time ago I posted the remedy but this obviously did not arrive. So, once again the remedy: Maybe some of the problems can be removed for some by looking at my compile-link-go - file I produced yesterday evening after getting angry about myself having forgotten to apply the @#*% "coff2exe" step: begin of contents of command file clg.bat on MSDOS6.2 : gcc -c %1.adb gnatbl -o %1 %1.ali coff2exe %1 %1 end of contents of command file clg.bat on MSDOS6.2 I am using this multistep with one parameter (where tst is the unit name AND the filename(part) ): clg tst When I have other packages to "with" I compile them (first) separately with e.g.: gcc -c tstpak.ads and gcc -c tstpak.adb and then finally compile, link, go with clg tst The good news: it works :-) The bad news: It's nowhere documented (at least not inlined the cookbook recipes ;-) -- Peter Hermann Tel:+49-711-685-3611 Fax:3758 ph@csv.ica.uni-stuttgart.de Pfaffenwaldring 27, 70569 Stuttgart Uni Computeranwendungen Team Ada: "C'mon people let the world begin" (Paul McCartney)