delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/11/02:19:23

Date: Sun, 11 Jul 1999 01:18:54 -0500
From: Sergio Arizmendi <sarizmen AT df1 DOT telmex DOT net DOT mx>
Subject: RSXNTDJ 1.5 and GUI apps (Patch)
To: djgpp AT delorie DOT com
Message-id: <000901becb65$41b88620$a074e994@sarizmen>
MIME-version: 1.0
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
X-Priority: 3
Reply-To: djgpp AT delorie DOT com

This is a multi-part message in MIME format.

--Boundary_(ID_z9QgT8n2LtkmtlHGGGq/Vw)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: quoted-printable

Ok ...=20
This is what you should do to fix RSX's bug that makes all apps =
"Console" type and not "GUI".

Add the following line to /rsxntdj/source/emx4w32/winmain.c just after =
the #includes :

__asm__(".stabs \"_WinMain\",5,0,0,_WinMain");

then compile a new libmain.a this way :
>gccw32 -c -O2 -Zwin32 winmain.c
>ar r libmain.a winmain.o
>ar s libmain.a

Then copy the new libmain.a to /rsxntdj/lib
And it's done! :) Now RSX knows if your app is Console or GUI :)

If this helped you, please send me a mail (sarizmen AT df1 DOT telmex DOT net DOT mx), =
'cause i'm almost a newbie (i fought for hours until i made this patch =
work), and i want to know if anybody else had this problem :)

Sergio Arizmendi
=20

--Boundary_(ID_z9QgT8n2LtkmtlHGGGq/Vw)
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Ok ... </FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>This is what you should do to fix =
RSX's bug that=20
makes all apps &quot;Console&quot; type and not =
&quot;GUI&quot;.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Add the following line to=20
/rsxntdj/source/emx4w32/winmain.c just after the #includes =
:</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>__asm__(&quot;.stabs=20
\&quot;_WinMain\&quot;,5,0,0,_WinMain&quot;);</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>then compile a new libmain.a this =
way=20
:</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>&gt;gccw32 -c -O2 -Zwin32 =
winmain.c</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>&gt;ar r libmain.a =
winmain.o</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>&gt;ar s libmain.a</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Then copy the new libmain.a to=20
/rsxntdj/lib</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>And it's done! :) Now RSX knows if =
your app is=20
Console or GUI :)</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>If this helped you, please send me a =
mail (<A=20
href=3D"mailto:sarizmen AT df1 DOT telmex DOT net DOT mx">sarizmen AT df1 DOT telmex DOT net DOT mx</A>=
), 'cause=20
i'm almost a newbie (i fought for hours until i made this patch work), =
and i=20
want to know if anybody else had this problem :)</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Sergio=20
Arizmendi<BR>&nbsp;</FONT></DIV></BODY></HTML>

--Boundary_(ID_z9QgT8n2LtkmtlHGGGq/Vw)--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019