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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6844e52c100fb549 X-Google-Attributes: gid103376,public From: Bruce.Conroy@jpl.nasa.gov Subject: Re: How to create OS/2 PM applications? (Leonid Dulman) Date: 1996/07/30 Message-ID: <1996Jul30.175347.14487@llyene.jpl.nasa.gov>#1/1 X-Deja-AN: 171206559 sender: news@llyene.jpl.nasa.gov references: <4tcqla$293k@news-s01.ny.us.ibm.net> organization: Jet Propulsion Laboratory reply-to: Bruce.Conroy@jpl.nasa.gov newsgroups: comp.lang.ada Date: 1996-07-30T00:00:00+00:00 List-Id: In <4tcqla$293k@news-s01.ny.us.ibm.net>, dulman@ibm.net writes: > I had no any problems with Os/2 PM applications in GNAT 2.0 >After RC .res .exe I got program to PM. >But in GNAT 3.x I can't create this file and by RC (SYS3175 A program >generated an access violation at 1bd32dfa PMMERGE.DLL) >and by commands (adae.cmd): >@echo Creation Pm exe file >call gnatbl -o %1.exe %1.ali >call emxbind -bp -d%1.def -r%1.res d:\gnat30\bin\emxl.exe %1.exe >emxbind:The input and output files have the same name >after command >call emxbind -bp -d%1.def -r%1.res d:\gnat30\bin\emxl.exe %1.exe new.exe >emxbind: invalid a.out file (header) >How to create OS/2 PM application ? > Leonid ( dulman@ibm.net) I think your mistake is putting the ".exe" on the gnatbl command. Try call gnatbl -o %1 %1.ali call emxbind -bp -d%1.def -r%1.res d:\gnat30\bin\emxl.exe %1 emxbind dosen't like an exe file as input and will generate an exe file on output without being told. Also, I have used either the "-bp" option, or the ".def" file to make a PM application as independant methods. Bruce Conroy