On Sat, 2006-09-09 at 10:43 +1000, Jonathan Kelly wrote:

> Hmm ... does this mean I actually need the mingw stuff installed, or is 
> it somehow already incorporated into cygwin?

It is either 'built in' to g++ package in cygwin, or is its
own package, can't remember. Whichever way, it "just works" without
any need to touch any paths or anything else.

Felix should build under all three of:

        --target=cygwin 
        --target=nocygwin 
        --host=nocygwin

What I recommend is:

(a) first try to build under cygwin:

        ./configure
        make

(b) then you can try to build to make nocygwin target dlls:

        # start in clean directory!
        ./configure --target=nocygwin
        make

(c) if you want then try cygwin free host tools, however this
    is much harder because Ocaml compiler is a Cygwin tool.

        # start in clean directory
        ./configure --host=nocygwin
        make

Note that the compiler flxg is STILL dependent on cygwin1.dll
I think, since it is built by Cygwin Ocaml.

To get around this you need to install a different Ocaml.
This is tricky! There are THREE Ocamls on WIndows:

        1. Cygwin
        2. MingW
        3. MSVC++

and option (3) requires MS Assembler as well.

(d) Finally, you may want to build 100% native Win32,
which you can do by installing win32 native ocaml,
MS assembler (for Ocaml), MSVC++, setting up environment 
for both to work, and then

        win32config
        win32make

from CMD.EXE prompt. Generally the build script can handle
all these options, but it is very hard to test all the
combinations. It's particularly messing that some 
commands look like:

        bin/fred dir\\arg

because even though you're running bash, fred is a windows
program and expects a windows filename argument.

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to