summaryrefslogtreecommitdiffhomepage
path: root/configure-gcc-n64.pl
blob: 0f0f29c804c6a82b89eb2186caf8b561b5befb37 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/perl -w

require './scripts/libconf.pl';

libconf->new();

chdir("./toolchains/mingw-w64-gcc/") or die "Cannot change directory: $!";

system("configure", "--host=x86_64-w64-mingw32", "--prefix=mingw64-nekernel-gcc") or die "Configuration failed: $!";

print("Configuration and build complete.\nUse 'make install' to install the toolchain.\n");