File tree Expand file tree Collapse file tree 4 files changed +5
-32
lines changed Expand file tree Collapse file tree 4 files changed +5
-32
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ RUN cat $PREFIX/src/gcc-*.patch | patch -d/gcc-$GCC_VERSION -p1 \
101
101
--enable-static \
102
102
--disable-shared \
103
103
--with-pic \
104
- --enable-languages=c,c++ \
104
+ --enable-languages=c,c++,fortran \
105
105
--enable-libgomp \
106
106
--enable-threads=posix \
107
107
--enable-version-specific-runtime-libs \
@@ -263,7 +263,7 @@ RUN /gcc-$GCC_VERSION/configure \
263
263
--with-mpc-lib=/deps/lib \
264
264
--with-mpfr-include=/deps/include \
265
265
--with-mpfr-lib=/deps/lib \
266
- --enable-languages=c,c++ \
266
+ --enable-languages=c,c++,fortran \
267
267
--enable-libgomp \
268
268
--enable-threads=posix \
269
269
--enable-version-specific-runtime-libs \
@@ -301,7 +301,7 @@ RUN $ARCH-gcc -DEXE=gcc.exe -DCMD=cc \
301
301
-o $PREFIX/bin/c89.exe $PREFIX/src/alias.c -lkernel32 \
302
302
&& printf '%s\n ' addr2line ar as c++filt cpp dlltool dllwrap elfedit g++ \
303
303
gcc gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool ld nm objcopy \
304
- objdump ranlib readelf size strings strip windmc windres \
304
+ objdump ranlib readelf size strings strip windmc windres gfortran \
305
305
| xargs -I{} -P$(nproc) \
306
306
$ARCH-gcc -DEXE={}.exe -DCMD=$ARCH-{} \
307
307
-Os -fno-asynchronous-unwind-tables \
Original file line number Diff line number Diff line change 1
- # Portable C and C++ Development Kit for x64 Windows
1
+ # Portable C, C++, and Fortran Development Kit for x64 and x86 Windows
2
2
3
3
[ w64devkit] [ ] is a Dockerfile that builds from source a small, portable
4
4
development suite for creating C and C++ applications on and for x64
@@ -83,12 +83,6 @@ then the hint is zeroed: "no data." Eliminating this random data makes
83
83
binaries more compressible and * theoretically* faster loading. See also:
84
84
` peports ` .
85
85
86
- ## Fortran support
87
-
88
- Only C and C++ are included by default, but w64devkit also has full
89
- support for Fortran. To build a Fortran compiler, add ` fortran ` to the
90
- ` --enable-languages ` lines in the Dockerfile.
91
-
92
86
## Recommended downloadable, offline documentation
93
87
94
88
With a few exceptions, such as Vim's built-in documentation (` :help ` ),
Original file line number Diff line number Diff line change @@ -20,8 +20,6 @@ usage: multibuild.sh [-48abfhnOs] [-s SUFFIX]
20
20
-4 Enable i686 build (default: no)
21
21
-8 Enable x86_64 build (default: auto)
22
22
-a All: Enable all builds
23
- -b Enable vanilla build (default: auto)
24
- -f Enable Fortran build (default: no)
25
23
-h Print this help message
26
24
-n Dry run, print commands but do nothing
27
25
-O Compact with advzip (default: no, less compatible)
@@ -33,9 +31,7 @@ while getopts 48abfhmnOs: opt; do
33
31
case $opt in
34
32
4) arch=" $arch w64devkit-i686" ;;
35
33
8) arch=" $arch w64devkit" ;;
36
- a) flavors=" X -fortran" ; arch=" w64devkit w64devkit-i686" ;;
37
- b) flavors=" $flavors X" ;;
38
- f) flavors=" $flavors -fortran" ;;
34
+ a) flavors=" X" ; arch=" w64devkit w64devkit-i686" ;;
39
35
h) usage; exit 0;;
40
36
n) dryrun=echo;;
41
37
O) compact=yes;;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments