* How to create OS/2 PM applications?(Leonid Dulman)
@ 1996-07-25 0:00 dulman
0 siblings, 0 replies; 4+ messages in thread
From: dulman @ 1996-07-25 0:00 UTC (permalink / raw)
I had no any problems with Os/2 PM applications in GNAT 2.0
After RC <program>.res <program>.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 ( dulman@ibm.net)
^ permalink raw reply [flat|nested] 4+ messages in thread
* How to create OS/2 PM applications? (Leonid Dulman)
@ 1996-07-27 0:00 dulman
1996-07-29 0:00 ` Dale Pontius
1996-07-30 0:00 ` Bruce.Conroy
0 siblings, 2 replies; 4+ messages in thread
From: dulman @ 1996-07-27 0:00 UTC (permalink / raw)
I had no any problems with Os/2 PM applications in GNAT 2.0
After RC <program>.res <program>.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)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to create OS/2 PM applications? (Leonid Dulman)
1996-07-27 0:00 How to create OS/2 PM applications? (Leonid Dulman) dulman
@ 1996-07-29 0:00 ` Dale Pontius
1996-07-30 0:00 ` Bruce.Conroy
1 sibling, 0 replies; 4+ messages in thread
From: Dale Pontius @ 1996-07-29 0:00 UTC (permalink / raw)
In article <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 <program>.res <program>.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 ?
I used <name forgotten> PM bindings from the contrib section of
the gnat libraries to compile a few sample programs. I only did
straight 'gcc', 'gnatbl' and didn't fiddle with resources or
anything. I had to fiddle with some source in the demo that
worked with 2.04, but not with 3.01, but once I did that every-
thing worked just fine. Back when fiddling with 2.04 I tried
some of the examples with resources and didn't get them to work.
I haven't had time to fiddle further. If I can I'll let you know.
Dale Pontius
(NOT speaking for IBM)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to create OS/2 PM applications? (Leonid Dulman)
1996-07-27 0:00 How to create OS/2 PM applications? (Leonid Dulman) dulman
1996-07-29 0:00 ` Dale Pontius
@ 1996-07-30 0:00 ` Bruce.Conroy
1 sibling, 0 replies; 4+ messages in thread
From: Bruce.Conroy @ 1996-07-30 0:00 UTC (permalink / raw)
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 <program>.res <program>.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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1996-07-30 0:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-07-25 0:00 How to create OS/2 PM applications?(Leonid Dulman) dulman
-- strict thread matches above, loose matches on Subject: below --
1996-07-27 0:00 How to create OS/2 PM applications? (Leonid Dulman) dulman
1996-07-29 0:00 ` Dale Pontius
1996-07-30 0:00 ` Bruce.Conroy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox