windows configure and make

1 view
Skip to first unread message

Jason Moxham

unread,
Jul 10, 2009, 11:16:20 PM7/10/09
to mpir...@googlegroups.com
Hi
 
In the svn at branches/windows-mpir is a configure/make/make check mechanism for MSVC on Windows.
 
Open a console(dos box) change to the build.vc9 directory and you can compile MSVC MPIR just like linux
configure
make
make check
 
make install , make clean dont work yet
Only tested and works on VS9 and it uses Brians VS9 project files
configure compiles a config.guess.exe  which gives a core2-pc-Win32  etc
 
configure accepts
--enable-shared
--enable-static
--disable-static
--disable-shared   although you can only build one at a time
--ABI32
--ABI64
--cpu-core2
--cpu-pentiummmx
etc
 
Given the configure options above it then makes a choice on what to build.
 
Have fun.
 
Jason
 

Jason Moxham

unread,
Jul 11, 2009, 12:24:37 AM7/11/09
to mpir...@googlegroups.com
I've added a make clean
don't know what we want to do for a make install
I should add a make --help
make check fails for shared library , i think it fails normally though?
Plain C build is not enabled yet

Cactus

unread,
Jul 11, 2009, 2:54:21 AM7/11/09
to mpir-dev


On Jul 11, 5:24 am, "Jason Moxham" <ja...@njkfrudils.plus.com> wrote:
> I've added a make clean
> don't know what we want to do for a make install
> I should add a make --help
> make check fails for shared library , i think it fails normally though?

As you suggest, the tests don't work with the DLL build.

This is because the tests depend on access to internal MPIR functions
that are not exported by the DLL.

Brian

Jason Moxham

unread,
Jul 11, 2009, 7:57:49 PM7/11/09
to mpir...@googlegroups.com
I've added make try,speed,tune options
I'm going to merge it with trunk , as it has no effect if you dont use it

There is some weirdness going on with make.bat , in that on Vista 64(not 32)
it doesn't detect python properly.

Jason
Reply all
Reply to author
Forward
0 new messages