2011/4/19 Sisyphus <[email protected]>

>
> ----- Original Message ----- From: "Ruben Van Boxem" <
> [email protected]>
> To: "Ralf Tautenhahn" <[email protected]>
> Cc: "mingw64" <[email protected]>
> Sent: Tuesday, April 19, 2011 8:55 PM
> Subject: Re: [Mingw-w64-public] netCDF with MSYS/mingw-w64
>
>
>
>  I am forwarding this to the mingw-w64 mailing list as well.
>>
>>
> I have built netcdf-4.0.1, and I find the following notes that I kept:
>

Awesome, thanks!


>
> #######################################
> netcdf
> ======
>
> First (for x64 build only), immediately below the first bunch of #includes
> near the beginning of
> libsr/v2i.c, insert:
>
> #include "nc.h"
> #include "rename.h"
> #include <string.h>
> #include <assert.h>
> #include "rnd.h"
> #include "utf8proc.h"
>

I only needed the first (I guess it may include the rest). I'm talking about
3.6.3 and 4.1.1 of course


>
> That's needed to get the NC struct defined.
>
> Then build 4.0.1 with:
> ./configure --disable-shared --enable-static --enable-netcdf-4
> --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32
> CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++
> AR=x86_64-w64-mingw32-ar LD=x86_64-w64-mingw32-ld NM=x86_64-w64-mingw32-nm
> RANLIB=x86_64-w64-mingw32-ranlib --prefix=/usr/local
> CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib && make
>
> To build 4.1.1 we apparently need a TeX utility.
> ############################################
>
> The "--build" and "--host" arguments specified in the above are possibly
> unnecessary.
>

No need to specify all the tools themselves I think; specifying --host AND
--build should take care of those.


>
> The CPPFLAGS and LDFLAGS are set to /usr/local as that's where I generally
> install libraries that I've built. (I've since read that installing them
> there is not recommended practice.)
>
> No guarantees as to the accuracy of those notes, btw :-)
>
> HTH.
>
> Cheers,
> Rob
>
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to