Mail Archives: djgpp/1999/07/11/02:19:23
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 "Console" type and not =
"GUI".</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </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> </DIV>
<DIV><FONT color=3D#000000 size=3D2>__asm__(".stabs=20
\"_WinMain\",5,0,0,_WinMain");</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </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>>gccw32 -c -O2 -Zwin32 =
winmain.c</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>>ar r libmain.a =
winmain.o</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>>ar s libmain.a</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </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> </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> </DIV>
<DIV><FONT color=3D#000000 size=3D2>Sergio=20
Arizmendi<BR> </FONT></DIV></BODY></HTML>
--Boundary_(ID_z9QgT8n2LtkmtlHGGGq/Vw)--
- Raw text -