Oz and Mozart Hackers Mailing List

RE: Compiling Mozart on Windows - A long term vision


From: Bob Calco (robert.calco@verizon.net)
Date: Wed Oct 30 2002 - 14:08:17 CET


Denys:

%% Hi Bob,
%%
%% I hope Leif will pipe in and provide more accurate/helpful info, but,
%% for starters, you will need CYGWIN if only to provide the
%% infrastructure for configuring and building Mozart; the GNU tool chain
%% is just a must here (no, we are no interested in maintaining a
%% Windows-specific alternative). However, you can change e.g. the
%% compilers which are used by setting environment vars (CC, CXX etc...)
%% prior to invoking configure.

OK - that makes sense. I have no problem working with the Cygwin tools and
retooling the auto configure stuff to add detecting MSVC and asking the user
whether they want to use that instead of the GCC with Cygwin should be part
of the task.

%%
%% I have no idea if anyone has tried it (although, I am under the vague
%% impression that MSVC is supported). We don't have the manpower to
%% invest in this direction, but we can provide advice and we will be
%% happy to fold the necessary mods back into the CVS if you can provide
%% them, should any be necessary. Be warned though, that pouring red hot
%% coals down your shorts is probably a great deal more enjoyable :-(

I've tried it. It isn't so bad, once the nerve endings are dead. ;)

%%
%% > but can Mozart live without GMP.lib, which appears a bit
%% > tricker to compile with MSVC, or are there acceptable alternatives?
%%
%% No and no. why is it tricky?

Only because I did not immediately spot anything that screamed out "msvc".
For instance, the zlib distro had a .dsw and .dsp file, which means all I
have to do is open up Visual Studio and hit "Build".

With GMP, I will actually have to exercise some brain power, albeit small in
relation to changing code to tune for the MSVC compiler, which is where I
expect the real "joy" to be. (Defining "joy" as sticking hot coals down my
shorts). ;)

%%
%% Cheers,
%%
%% --
%% Dr. Denys Duchier Denys.Duchier@ps.uni-sb.de
%% Forschungsbereich Programmiersysteme (Programming Systems Lab)
%% Universitaet des Saarlandes, Geb. 45 http://www.ps.uni-sb.de/~duchier
%% Postfach 15 11 50 Phone: +49 681 302 5618
%% 66041 Saarbruecken, Germany Fax: +49 681 302 5615
%% -
%% Please send submissions to hackers@mozart-oz.org
%% and administriva mail to hackers-request@mozart-oz.org.
%% The Mozart Oz web site is at http://www.mozart-oz.org/.
%%
%%

-
Please send submissions to hackers@mozart-oz.org
and administriva mail to hackers-request@mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.



This archive was generated by hypermail 2b29.