Hi Abe,
You're right, I think, about the shell environment. I am no expert (and anyone please
correct me if make an incorrect statement), but it seems that MSYS provides a
Linux/Unix-like environment and command shell. It also includes minGW, a GCC-like compiler
with support for the Windows API, which you can run from the MSYS shell.
I am running Windows XP. It was pretty simple and I am relatively new to Linux. Simply
download the RAR extract where ever you like and run msys.bat. Once you are in the command
shell use the normal commands like "configure", "make", etc. that you
would use in a Linux environment.
As a side note, I did manage to get Dev-C++ to work after I was successful compiling in
MSYS. I don't think the Dev-C++ success is related to having MSYS installed. Dev-C++
includes its own minGW as the backend compiler but is a Windows-like IDE. I believe the
problem was that when compiling, it would create a new file called makefile.win. For
whatever reason, it would not compile using this makefile. So you must go to "Project
Options" and the "Makefile" tab, check "Use custom makefile" and
select the correct file which should simply be called "makefile". After doing
that, Dev-C++ would correctly compile udpcast without errors.
Hope this helps,
Michael
-----Original Message-----
From: Abraham Y. Chen [mailto:AYChen@Avinta.com]
Sent: Tuesday, April 20, 2010 9:05 PM
To: Holdridge, Michael B
Cc: udpcast(a)udpcast.linux.lu
Subject: Re: [Udpcast] Source for Windows 201004201849.AYC
Hi, Michael:
I, too, have been hoping to develop a generic networking monitoring
utility for both Linux and Windows machines by utilizing a part of the
UDPcast capabilities. Being able to generate both executable codes by
compiling from the same source code is a definite encouragement to my
plan. Reviewing the MSYS that you have used, it seems to me that it
needs to be under some kind of software shell environment to work? Did
you start with a PC with Windows as the OS? Could you please outline
your setup, so that I can duplicate your success? Thanks very much in
advance.
Abe (2010-04-20, 19:04)
Website:
www.Avinta.com
Holdridge, Michael B wrote:
Great, it compiled! Thanks! Now I just have to edit
the code without breaking it. Hopefully Java and C++ are similar enough that it take me
too long to figure it out.
From: udpcast-bounces(a)udpcast.linux.lu [mailto:udpcast-bounces@udpcast.linux.lu] On
Behalf Of HouSoft
Sent: Sunday, March 21, 2010 4:26 AM
To: udpcast(a)udpcast.linux.lu
Subject: [Udpcast] Source for Windows
using mysys to compile the source files,it's easy!
--------------
http://msys-cn.googlecode.com/files/MSYS-Update.rar
-------------
./configure
make
------------------ Original ------------------
From:"Holdridge, Michael B"<Michael_Holdridge(a)baylor.edu>lor.edu>;
Date:2010年3月21日(星期天) 中午1:41
To:"udpcast@udpcast.linux.lu"<udpcast@udpcast.linux.lu>;
Subject:[Udpcast] Source for Windows
Is the source code supposed to compile in Windows without modification or would I have to
port the code? Or are there sources for Windows available? I have tried using Dev C++ to
compile the source files but am not having any luck. I’m fairly new to Linux and and have
little experience with C, so I am not sure where to start. I know there are Windows
binaries to download but this is not what I am looking for. I have been asked for a
solution to distribute large game analysis videos to multiple workstations simultaneously.
Udpcast does this perfectly, but I would like to make it more end user friendly. Any help
would be greatly appreciated.
Thanks,
Michael Holdridge
_______________________________________________
Udpcast mailing list
Udpcast(a)udpcast.linux.lu
https://udpcast.linux.lu/cgi-bin/mailman/listinfo/udpcast