Re: Compiling UMFPACK to work with Visual Studio 2008



I am a little new to compiling pre packaged routines.  Has anyone
compiled UMFPACK to work under windows and using it in visual studio
2008? Any help would be great.

Usually I use gcc under cygwin but recently I did need to compile my
application under VS 2005. VS 2008 is still a beta, isn't it?

What happened that VS can just take a library compiled by gcc and this
what I have done - just renamed libumpfack.a to umpfack.lib. Well, it
is work only if one uses mingw, that is, the flag -mno-cygwin.

This way it could be simpler to learn. You download cygwin with gcc
and make. Make a few modifications in UFconfig.mk and then just make
"make" and you have the library under gcc. Once more, do not forget to
use -mno-cygwin, if you want to use it with VS.

It is also possible to use VS as a command line tool. This way you can
use GNU make the same way as above. Well, it is necessary to edit
UFconfig.mk a bit more. cl will be as CC and link as linker and lib as
AR.

Evgenii
http://MatrixProgramming.com
.



Relevant Pages

  • Re: Porting code from Linux to Windows
    ... You should be able to write cross-platform code with GCC. ... However, if you only want to port one way, it is possible to compile pure ANSI C code with standard libraries from *NIX to Windows and you can compile such code inside Visual Studio. ...
    (microsoft.public.vsnet.general)
  • Re: How do I install this missing library?
    ... you really should be carefully following LSTC's installation ... libg2c is part of gcc. ... to tell a newcomer to compile. ... like the source code to GNU tar, and make sure you understand what's ...
    (comp.os.linux.misc)
  • Re: HPGCC Questions ladies and gentlemen!!!
    ... No matter how you slice it in order to compile a C program you need to know ... it took a few hours just to get gcc running in my computer ... of the students that used an ide in the c++ class I took a few years ago. ... so why not use a data inspector if it's available? ...
    (comp.sys.hp48)
  • Re: Aquarius prolog so fast?
    ... Mercury cannot do all this because Mercury cannot keep track of the fact ... you need this capability quite rarely, ... Why not the alternative GCC back-end, ... While Mercury can compile to the internal data structures of the gcc backend, ...
    (comp.lang.prolog)
  • Re: Question about gcc on OS X 10.0.4.11 Tiger
    ... running Linux and gcc 4.0.2. ... How do I switch to a different version of gcc to compile with on OS X ... fgetsis a libc function and is not really part of the compiler. ... int main(int argc, char* argv){ ...
    (comp.sys.mac.programmer.help)