[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linrad] Re: Mingw
Yes. It works - and I have been so busy since your original
posting of this message so I have not had the time
to write to the mailing list:-)
Slowly I am becoming familiar to the Windows way of doing
things. There are no major difficulties visible at the
moment but there are several little problems that I
think I have known how to solve, but I do not remember
any more. Just silly things like these:
1) I can only install mingw32 under Debian. My Debian
system is broken and I can not start the graphical
interface so I can not reach the Internet from it.
The Slackware installation is fine for everything
except for mingw32.
2) I can not connect to Debian via FTP so I have to
carry a floppy disk to the Windows PC rather than
transferring it via Ethernet.
3) I would like to make the linrad.exe executable over
the network as G:\linrad or similar, but I have no
idea how to do that.
If there is anyone who has the answer to 1), 2) or 3)
I would be glad for an E-mail. In the meantime I will
carry floppies.
73
Leif / SM5BSZ
> Hello Leif:
>
> I have just done what you requested:
>
> I have installed under my debian box the following packages:
>
>
> mingw32
> mingw32-binutils
> mingw32-runtime
>
> I have read the following link with a quick tutorial:
>
> http://www.mingw.org/docs.shtml
>
>
> Create a directory for your proyect, go inside and create your source
> *.c files:
>
> I have tried this example code for a console application:
>
> /* hello.c console test program */
> #include <stdio.h>
>
> int main(int argc, char **argv)
> {
> printf ("Hello\n");
> return (0);
> }
>
>
> To compile it, just issue this command ( note that the gcc compiler is
> renamed to avoid issues with the real gcc compiler in the Debian system):
>
> $i586-mingw32msvc-gcc hello.c -o hello.exe
>
> I have tested it under "wine" and works:
>
> Also tested this graphical program:
>
>
> /* hellographic.c test program */
> #include <windows.h>
>
> int WINAPI WinMain (HINSTANCE hInstance,
> HINSTANCE hPrevInstance,
> PSTR szCmdLine,
> int iCmdShow)
> {
> MessageBox (NULL, "Hello", "Hello Demo", MB_OK);
> return (0);
> }
>
>
> Compiled the same way:
>
> $i586-mingw32msvc-gcc hellographic.c -o hellographic.exe -mwindows
>
> It creates a little executable file. I have executed it and shows a
> beautiful little window and a button.
>
> Hope this helps as an starting point.
>
> 73, Ramiro.
> EA1ABZ
>
#############################################################
This message is sent to you because you are subscribed to
the mailing list <linrad@xxxxxxxxxxxxxxxxxxxxx>.
To unsubscribe, E-mail to: <linrad-off@xxxxxxxxxxxxxxxxxxxxx>
To switch to the DIGEST mode, E-mail to <linrad-digest@xxxxxxxxxxxxxxxxxxxxx>
To switch to the INDEX mode, E-mail to <linrad-index@xxxxxxxxxxxxxxxxxxxxx>
Send administrative queries to <linrad-request@xxxxxxxxxxxxxxxxxxxxx>
LINRADDARNIL