File: makegcclibs.bat

package info (click to toggle)
mpich2 1.2.1.1-5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 73,904 kB
  • ctags: 65,947
  • sloc: ansic: 343,583; makefile: 55,174; java: 34,959; sh: 27,558; perl: 17,355; cpp: 10,472; python: 9,649; f90: 5,753; fortran: 5,128; cs: 4,019; csh: 152; xml: 91; php: 8
file content (22 lines) | stat: -rw-r--r-- 1,300 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@echo off
Release\impgen.exe ..\lib\mpich2.dll > mpich2gcc.def
REM Release\impgen.exe ..\lib\mpich2d.dll > mpich2gccd.def
Release\impgen.exe ..\lib\mpich2mpi.dll > mpich2mpi.def
REM Release\impgen.exe ..\lib\mpich2mpid.dll > mpich2mpid.def
Release\impgen.exe ..\lib\fmpich2g.dll > fmpich2gcc.def
REM Release\impgen.exe ..\lib\fmpich2gd.dll > fmpich2gccd.def
dlltool --as /usr/bin/as --dllname mpich2.dll --def mpich2gcc.def --output-lib ..\lib\libmpich2.a >> ..\make.log
REM dlltool --dllname mpich2d.dll --def mpich2gccd.def --output-lib ..\lib\libmpich2d.a
dlltool --as /usr/bin/as --dllname mpich2mpi.dll --def mpich2mpi.def --output-lib ..\lib\libmpi.a >> ..\make.log
REM dlltool --dllname mpich2mpid.dll --def mpich2mpid.def --output-lib ..\lib\libmpid.a
dlltool --as /usr/bin/as --dllname fmpich2g.dll --def fmpich2gcc.def --output-lib ..\lib\libfmpich2g.a >> ..\make.log
REM dlltool --dllname fmpich2gd.dll --def fmpich2gccd.def --output-lib ..\lib\libfmpich2gd.a
REM Building MPI CXX Interface lib
bash -c "g++ -I ../src/include -I ../src/include/win32 -c ../src/binding/cxx/initcxx.cxx -o initcxx.o" >> ..\make.log
ar rvs ../lib/libmpicxx.a initcxx.o >> ..\make.log
del mpich2gcc.def
REM del mpich2gccd.def
del mpich2mpi.def
REM del mpich2mpid.def
del fmpich2gcc.def
REM del fmpich2gccd.def