From 428b81f19650d6818710b40a9ab3e5e077bcf8af Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Thu, 14 Apr 2016 16:40:54 -0400 Subject: [PATCH] Added base files --- .gitignore | 14 + .hg_archival.txt | 6 + .hgignore | 14 + Vagrantfile | 123 +++ .../arm-frc-linux-gnueabi-binutils/PKGBUILD | 43 + .../arm-frc-linux-gnueabi-eglibc/PKGBUILD | 39 + .../arm-frc-linux-gnueabi-frcmake-hg/PKGBUILD | 26 + .../arm-frc-linux-gnueabi-gcc/PKGBUILD | 78 ++ .../minorSOname.patch | 49 + .../arm-frc-linux-gnueabi-gdb/PKGBUILD | 49 + .../PKGBUILD | 31 + .../arm-frc-linux-gnueabi-wpilib-git/PKGBUILD | 36 + arch-linux/pkgbuilds/frc-2015/PKGBUILD | 20 + boostrap-wine.sh | 5 + deb/Makefile | 73 ++ ...ls-arm-frc-linux-gnueabi.lintian-overrides | 5 + deb/debians/binutils/changelog | 23 + deb/debians/binutils/compat | 1 + deb/debians/binutils/control | 20 + deb/debians/binutils/copyright | 41 + deb/debians/binutils/rules | 21 + deb/debians/binutils/source/format | 1 + deb/debians/frc-toolchain/changelog | 11 + deb/debians/frc-toolchain/compat | 1 + deb/debians/frc-toolchain/control | 14 + deb/debians/frc-toolchain/copyright | 18 + deb/debians/frc-toolchain/rules | 33 + deb/debians/frc-toolchain/source/format | 1 + deb/debians/frcmake/changelog | 11 + deb/debians/frcmake/compat | 1 + deb/debians/frcmake/control | 12 + deb/debians/frcmake/copyright | 28 + deb/debians/frcmake/frc-cmake-toolchain.1.xml | 123 +++ deb/debians/frcmake/frcmake.1.xml | 141 +++ deb/debians/frcmake/frcmake.lintian-overrides | 1 + deb/debians/frcmake/frcmake.manpages | 2 + deb/debians/frcmake/rules | 13 + deb/debians/frcmake/source/format | 1 + deb/debians/gcc-versions/changelog | 12 + deb/debians/gcc-versions/compat | 1 + deb/debians/gcc-versions/control | 45 + deb/debians/gcc-versions/copyright | 25 + .../cpp-arm-frc-linux-gnueabi.links | 2 + .../g++-arm-frc-linux-gnueabi.links | 2 + .../gcc-arm-frc-linux-gnueabi.links | 2 + deb/debians/gcc-versions/rules | 22 + deb/debians/gcc-versions/source/format | 1 + deb/debians/gcc/changelog | 92 ++ deb/debians/gcc/compat | 1 + deb/debians/gcc/control | 127 +++ deb/debians/gcc/copyright | 40 + .../cpp-4.9-arm-frc-linux-gnueabi.install.in | 6 + .../g++-4.9-arm-frc-linux-gnueabi.install.in | 3 + .../gcc-4.9-arm-frc-linux-gnueabi.install.in | 10 + ....9-arm-frc-linux-gnueabi.lintian-overrides | 3 + .../libgcc-4.9-dev-frc-armel-cross.install.in | 20 + ...-4.9-dev-frc-armel-cross.lintian-overrides | 2 + .../gcc/libgcc1-frc-armel-cross.install | 8 + .../libgcc1-frc-armel-cross.lintian-overrides | 2 + .../gcc/libgomp1-frc-armel-cross.install | 4 + ...libgomp1-frc-armel-cross.lintian-overrides | 3 + .../libstdc++6-dev-frc-armel-cross.install | 5 + ...c++6-dev-frc-armel-cross.lintian-overrides | 2 + .../gcc/libstdc++6-frc-armel-cross.install | 3 + ...bstdc++6-frc-armel-cross.lintian-overrides | 3 + deb/debians/gcc/rules | 79 ++ deb/debians/gcc/source/format | 1 + deb/debians/gdb/changelog | 17 + deb/debians/gdb/compat | 1 + deb/debians/gdb/control | 19 + deb/debians/gdb/copyright | 41 + ...db-arm-frc-linux-gnueabi.lintian-overrides | 1 + deb/debians/gdb/gdbinit | 4 + deb/debians/gdb/rules | 30 + deb/debians/gdb/source/format | 1 + deb/debians/libc/changelog | 17 + deb/debians/libc/compat | 1 + deb/debians/libc/control | 34 + deb/debians/libc/copyright | 25 + ...ibc6-dev-frc-armel-cross.lintian-overrides | 2 + .../libc6-frc-armel-cross.lintian-overrides | 5 + deb/debians/libc/patches/makefile | 22 + deb/debians/libc/patches/series | 1 + deb/debians/libc/rules | 22 + deb/debians/libc/source.lintian-overrides | 1 + deb/debians/libc/source/format | 1 + deb/debians/linux-libc/changelog | 17 + deb/debians/linux-libc/compat | 1 + deb/debians/linux-libc/control | 23 + deb/debians/linux-libc/copyright | 25 + ...libc-dev-frc-armel-cross.lintian-overrides | 1 + deb/debians/linux-libc/patches/makefile | 20 + deb/debians/linux-libc/patches/series | 1 + deb/debians/linux-libc/rules | 22 + deb/debians/linux-libc/source/format | 1 + deb/debians/sysroot/changelog | 18 + deb/debians/sysroot/compat | 1 + deb/debians/sysroot/control | 17 + deb/debians/sysroot/copyright | 25 + deb/debians/sysroot/rules | 22 + deb/debians/sysroot/source/format | 1 + download.sh | 85 ++ mac/Makefile | 51 ++ mac/Readme.txt | 18 + mac/makes/binutils | 10 + mac/makes/gcc | 46 + mac/makes/gdb | 11 + mac/makes/pkg/FRC ARM Toolchain.packproj | 852 ++++++++++++++++++ mac/makes/sysroot | 12 + mac/makes/tree | 30 + tools/build-ipkg.sh | 65 ++ tools/frc-cmake-toolchain | 7 + tools/frc-convert-deb.rb | 40 + tools/frc-package.rb | 54 ++ tools/frcmake | 4 + tools/frcmake-nix-makefile | 11 + tools/pbuilder-build | 1 + tools/pbuilder-update | 1 + tools/toolchain.cmake | 14 + versions.sh | 16 + windows/Makefile | 38 + windows/Readme.txt | 3 + windows/makes/binutils | 11 + windows/makes/case-sensitive-includes.diff | 301 +++++++ windows/makes/expat | 11 + windows/makes/gcc | 55 ++ windows/makes/gdb | 11 + windows/makes/msi | 12 + windows/makes/msi-files/Dialog.bmp | Bin 0 -> 615402 bytes windows/makes/msi-files/License.rtf | 144 +++ windows/makes/msi-files/banner.bmp | Bin 0 -> 114514 bytes windows/makes/msi-files/frctoolchain.wxs | 42 + windows/makes/msi.bat | 8 + windows/makes/python-config-gdb | 102 +++ windows/makes/sysroot | 14 + windows/makes/tree | 28 + 136 files changed, 4203 insertions(+) create mode 100644 .gitignore create mode 100644 .hg_archival.txt create mode 100644 .hgignore create mode 100644 Vagrantfile create mode 100644 arch-linux/pkgbuilds/arm-frc-linux-gnueabi-binutils/PKGBUILD create mode 100644 arch-linux/pkgbuilds/arm-frc-linux-gnueabi-eglibc/PKGBUILD create mode 100644 arch-linux/pkgbuilds/arm-frc-linux-gnueabi-frcmake-hg/PKGBUILD create mode 100644 arch-linux/pkgbuilds/arm-frc-linux-gnueabi-gcc/PKGBUILD create mode 100644 arch-linux/pkgbuilds/arm-frc-linux-gnueabi-gcc/minorSOname.patch create mode 100644 arch-linux/pkgbuilds/arm-frc-linux-gnueabi-gdb/PKGBUILD create mode 100644 arch-linux/pkgbuilds/arm-frc-linux-gnueabi-linux-api-headers/PKGBUILD create mode 100644 arch-linux/pkgbuilds/contrib/arm-frc-linux-gnueabi-wpilib-git/PKGBUILD create mode 100644 arch-linux/pkgbuilds/frc-2015/PKGBUILD create mode 100644 boostrap-wine.sh create mode 100644 deb/Makefile create mode 100644 deb/debians/binutils/binutils-arm-frc-linux-gnueabi.lintian-overrides create mode 100644 deb/debians/binutils/changelog create mode 100644 deb/debians/binutils/compat create mode 100644 deb/debians/binutils/control create mode 100644 deb/debians/binutils/copyright create mode 100755 deb/debians/binutils/rules create mode 100644 deb/debians/binutils/source/format create mode 100644 deb/debians/frc-toolchain/changelog create mode 100644 deb/debians/frc-toolchain/compat create mode 100644 deb/debians/frc-toolchain/control create mode 100644 deb/debians/frc-toolchain/copyright create mode 100755 deb/debians/frc-toolchain/rules create mode 100644 deb/debians/frc-toolchain/source/format create mode 100644 deb/debians/frcmake/changelog create mode 100644 deb/debians/frcmake/compat create mode 100644 deb/debians/frcmake/control create mode 100644 deb/debians/frcmake/copyright create mode 100644 deb/debians/frcmake/frc-cmake-toolchain.1.xml create mode 100644 deb/debians/frcmake/frcmake.1.xml create mode 100644 deb/debians/frcmake/frcmake.lintian-overrides create mode 100644 deb/debians/frcmake/frcmake.manpages create mode 100755 deb/debians/frcmake/rules create mode 100644 deb/debians/frcmake/source/format create mode 100644 deb/debians/gcc-versions/changelog create mode 100644 deb/debians/gcc-versions/compat create mode 100644 deb/debians/gcc-versions/control create mode 100644 deb/debians/gcc-versions/copyright create mode 100644 deb/debians/gcc-versions/cpp-arm-frc-linux-gnueabi.links create mode 100644 deb/debians/gcc-versions/g++-arm-frc-linux-gnueabi.links create mode 100644 deb/debians/gcc-versions/gcc-arm-frc-linux-gnueabi.links create mode 100755 deb/debians/gcc-versions/rules create mode 100644 deb/debians/gcc-versions/source/format create mode 100644 deb/debians/gcc/changelog create mode 100644 deb/debians/gcc/compat create mode 100644 deb/debians/gcc/control create mode 100644 deb/debians/gcc/copyright create mode 100644 deb/debians/gcc/cpp-4.9-arm-frc-linux-gnueabi.install.in create mode 100644 deb/debians/gcc/g++-4.9-arm-frc-linux-gnueabi.install.in create mode 100644 deb/debians/gcc/gcc-4.9-arm-frc-linux-gnueabi.install.in create mode 100644 deb/debians/gcc/gcc-4.9-arm-frc-linux-gnueabi.lintian-overrides create mode 100644 deb/debians/gcc/libgcc-4.9-dev-frc-armel-cross.install.in create mode 100644 deb/debians/gcc/libgcc-4.9-dev-frc-armel-cross.lintian-overrides create mode 100644 deb/debians/gcc/libgcc1-frc-armel-cross.install create mode 100644 deb/debians/gcc/libgcc1-frc-armel-cross.lintian-overrides create mode 100644 deb/debians/gcc/libgomp1-frc-armel-cross.install create mode 100644 deb/debians/gcc/libgomp1-frc-armel-cross.lintian-overrides create mode 100644 deb/debians/gcc/libstdc++6-dev-frc-armel-cross.install create mode 100644 deb/debians/gcc/libstdc++6-dev-frc-armel-cross.lintian-overrides create mode 100644 deb/debians/gcc/libstdc++6-frc-armel-cross.install create mode 100644 deb/debians/gcc/libstdc++6-frc-armel-cross.lintian-overrides create mode 100755 deb/debians/gcc/rules create mode 100644 deb/debians/gcc/source/format create mode 100644 deb/debians/gdb/changelog create mode 100644 deb/debians/gdb/compat create mode 100644 deb/debians/gdb/control create mode 100644 deb/debians/gdb/copyright create mode 100644 deb/debians/gdb/gdb-arm-frc-linux-gnueabi.lintian-overrides create mode 100644 deb/debians/gdb/gdbinit create mode 100755 deb/debians/gdb/rules create mode 100644 deb/debians/gdb/source/format create mode 100644 deb/debians/libc/changelog create mode 100644 deb/debians/libc/compat create mode 100644 deb/debians/libc/control create mode 100644 deb/debians/libc/copyright create mode 100644 deb/debians/libc/libc6-dev-frc-armel-cross.lintian-overrides create mode 100644 deb/debians/libc/libc6-frc-armel-cross.lintian-overrides create mode 100644 deb/debians/libc/patches/makefile create mode 100644 deb/debians/libc/patches/series create mode 100755 deb/debians/libc/rules create mode 100644 deb/debians/libc/source.lintian-overrides create mode 100644 deb/debians/libc/source/format create mode 100644 deb/debians/linux-libc/changelog create mode 100644 deb/debians/linux-libc/compat create mode 100644 deb/debians/linux-libc/control create mode 100644 deb/debians/linux-libc/copyright create mode 100644 deb/debians/linux-libc/linux-libc-dev-frc-armel-cross.lintian-overrides create mode 100644 deb/debians/linux-libc/patches/makefile create mode 100644 deb/debians/linux-libc/patches/series create mode 100755 deb/debians/linux-libc/rules create mode 100644 deb/debians/linux-libc/source/format create mode 100644 deb/debians/sysroot/changelog create mode 100644 deb/debians/sysroot/compat create mode 100644 deb/debians/sysroot/control create mode 100644 deb/debians/sysroot/copyright create mode 100755 deb/debians/sysroot/rules create mode 100644 deb/debians/sysroot/source/format create mode 100755 download.sh create mode 100644 mac/Makefile create mode 100644 mac/Readme.txt create mode 100755 mac/makes/binutils create mode 100755 mac/makes/gcc create mode 100755 mac/makes/gdb create mode 100755 mac/makes/pkg/FRC ARM Toolchain.packproj create mode 100755 mac/makes/sysroot create mode 100755 mac/makes/tree create mode 100755 tools/build-ipkg.sh create mode 100755 tools/frc-cmake-toolchain create mode 100755 tools/frc-convert-deb.rb create mode 100755 tools/frc-package.rb create mode 100755 tools/frcmake create mode 100644 tools/frcmake-nix-makefile create mode 100644 tools/pbuilder-build create mode 100644 tools/pbuilder-update create mode 100644 tools/toolchain.cmake create mode 100644 versions.sh create mode 100644 windows/Makefile create mode 100644 windows/Readme.txt create mode 100755 windows/makes/binutils create mode 100644 windows/makes/case-sensitive-includes.diff create mode 100755 windows/makes/expat create mode 100755 windows/makes/gcc create mode 100755 windows/makes/gdb create mode 100755 windows/makes/msi create mode 100644 windows/makes/msi-files/Dialog.bmp create mode 100644 windows/makes/msi-files/License.rtf create mode 100644 windows/makes/msi-files/banner.bmp create mode 100644 windows/makes/msi-files/frctoolchain.wxs create mode 100644 windows/makes/msi.bat create mode 100755 windows/makes/python-config-gdb create mode 100755 windows/makes/sysroot create mode 100755 windows/makes/tree diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1f9bbcc --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +syntax: glob +*.tar.bz2 +deb/*-* +*.tar.gz +windows/*-* +windows/wix/ +.DS_Store +mac/*-* +.vagrant +mac/makes/pkg/build/ +*.ipk +repack/ +frcmake-*/ +deb/frcmake_* diff --git a/.hg_archival.txt b/.hg_archival.txt new file mode 100644 index 0000000..600d9ec --- /dev/null +++ b/.hg_archival.txt @@ -0,0 +1,6 @@ +repo: b7f130060b201a106fa83675d9a247d63758684e +node: 5de14e5bbf2c0af64ed671b874e33006b9b47c5a +branch: default +latesttag: null +latesttagdistance: 94 +changessincelatesttag: 98 diff --git a/.hgignore b/.hgignore new file mode 100644 index 0000000..1f9bbcc --- /dev/null +++ b/.hgignore @@ -0,0 +1,14 @@ +syntax: glob +*.tar.bz2 +deb/*-* +*.tar.gz +windows/*-* +windows/wix/ +.DS_Store +mac/*-* +.vagrant +mac/makes/pkg/build/ +*.ipk +repack/ +frcmake-*/ +deb/frcmake_* diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000..f0a4934 --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,123 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! +VAGRANTFILE_API_VERSION = "2" + +Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| + # All Vagrant configuration is done here. The most common configuration + # options are documented and commented below. For a complete reference, + # please see the online documentation at vagrantup.com. + + # Every Vagrant virtual environment requires a box to build off of. + config.vm.box = "ubuntu/trusty32" + config.vm.provision :shell, path: "bootstrap-wine.sh" + + # Disable automatic box update checking. If you disable this, then + # boxes will only be checked for updates when the user runs + # `vagrant box outdated`. This is not recommended. + # config.vm.box_check_update = false + + # Create a forwarded port mapping which allows access to a specific port + # within the machine from a port on the host machine. In the example below, + # accessing "localhost:8080" will access port 80 on the guest machine. + # config.vm.network "forwarded_port", guest: 80, host: 8080 + + # Create a private network, which allows host-only access to the machine + # using a specific IP. + # config.vm.network "private_network", ip: "192.168.33.10" + + # Create a public network, which generally matched to bridged network. + # Bridged networks make the machine appear as another physical device on + # your network. + # config.vm.network "public_network" + + # If true, then any SSH connections made will enable agent forwarding. + # Default value: false + # config.ssh.forward_agent = true + + # Share an additional folder to the guest VM. The first argument is + # the path on the host to the actual folder. The second argument is + # the path on the guest to mount the folder. And the optional third + # argument is a set of non-required options. + # config.vm.synced_folder "../data", "/vagrant_data" + + # Provider-specific configuration so you can fine-tune various + # backing providers for Vagrant. These expose provider-specific options. + # Example for VirtualBox: + # + # config.vm.provider "virtualbox" do |vb| + # # Don't boot with headless mode + # vb.gui = true + # + # # Use VBoxManage to customize the VM. For example to change memory: + # vb.customize ["modifyvm", :id, "--memory", "1024"] + # end + # + # View the documentation for the provider you're using for more + # information on available options. + + # Enable provisioning with CFEngine. CFEngine Community packages are + # automatically installed. For example, configure the host as a + # policy server and optionally a policy file to run: + # + # config.vm.provision "cfengine" do |cf| + # cf.am_policy_hub = true + # # cf.run_file = "motd.cf" + # end + # + # You can also configure and bootstrap a client to an existing + # policy server: + # + # config.vm.provision "cfengine" do |cf| + # cf.policy_server_address = "10.0.2.15" + # end + + # Enable provisioning with Puppet stand alone. Puppet manifests + # are contained in a directory path relative to this Vagrantfile. + # You will need to create the manifests directory and a manifest in + # the file default.pp in the manifests_path directory. + # + # config.vm.provision "puppet" do |puppet| + # puppet.manifests_path = "manifests" + # puppet.manifest_file = "default.pp" + # end + + # Enable provisioning with chef solo, specifying a cookbooks path, roles + # path, and data_bags path (all relative to this Vagrantfile), and adding + # some recipes and/or roles. + # + # config.vm.provision "chef_solo" do |chef| + # chef.cookbooks_path = "../my-recipes/cookbooks" + # chef.roles_path = "../my-recipes/roles" + # chef.data_bags_path = "../my-recipes/data_bags" + # chef.add_recipe "mysql" + # chef.add_role "web" + # + # # You may also specify custom JSON attributes: + # chef.json = { mysql_password: "foo" } + # end + + # Enable provisioning with chef server, specifying the chef server URL, + # and the path to the validation key (relative to this Vagrantfile). + # + # The Opscode Platform uses HTTPS. Substitute your organization for + # ORGNAME in the URL and validation key. + # + # If you have your own Chef Server, use the appropriate URL, which may be + # HTTP instead of HTTPS depending on your configuration. Also change the + # validation key to validation.pem. + # + # config.vm.provision "chef_client" do |chef| + # chef.chef_server_url = "https://api.opscode.com/organizations/ORGNAME" + # chef.validation_key_path = "ORGNAME-validator.pem" + # end + # + # If you're using the Opscode platform, your validator client is + # ORGNAME-validator, replacing ORGNAME with your organization name. + # + # If you have your own Chef Server, the default validation client name is + # chef-validator, unless you changed the configuration. + # + # chef.validation_client_name = "ORGNAME-validator" +end diff --git a/arch-linux/pkgbuilds/arm-frc-linux-gnueabi-binutils/PKGBUILD b/arch-linux/pkgbuilds/arm-frc-linux-gnueabi-binutils/PKGBUILD new file mode 100644 index 0000000..451a6e4 --- /dev/null +++ b/arch-linux/pkgbuilds/arm-frc-linux-gnueabi-binutils/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Tyler Veness + +_target="arm-frc-linux-gnueabi" +pkgname=${_target}-binutils +pkgver=2.24 +pkgrel=2 +pkgdesc="A set of programs to assemble and manipulate binary and object files (${_target})" +arch=(i686 x86_64) +license=(GPL) +options=(!libtool !buildflags !emptydirs) +url="http://sources.redhat.com/binutils" +groups=('frc-2015') +depends=('glibc') +source=(ftp://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.bz2) +md5sums=('e0f71a7b2ddab0f8612336ac81d9636b') + +build() { + cd "$srcdir/binutils-${pkgver}" + + find -name config.cache -exec rm {} \; + + [ $NOEXTRACT -eq 1 ] || ./configure \ + --prefix=/usr \ + --target=${_target} \ + --with-pkgversion='GNU Binutils for FRC' \ + --with-sysroot=/usr/${_target} \ + --disable-multilib \ + --disable-nls \ + --enable-lto \ + --disable-libiberty-install \ + --disable-werror + + make configure-host + make +} + +package() { + cd "$srcdir/binutils-${pkgver}" + + make DESTDIR=$pkgdir install + + rm -rf "$pkgdir"/usr/share/info +} diff --git a/arch-linux/pkgbuilds/arm-frc-linux-gnueabi-eglibc/PKGBUILD b/arch-linux/pkgbuilds/arm-frc-linux-gnueabi-eglibc/PKGBUILD new file mode 100644 index 0000000..4df17a1 --- /dev/null +++ b/arch-linux/pkgbuilds/arm-frc-linux-gnueabi-eglibc/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Tyler Veness + +_target="arm-frc-linux-gnueabi" +pkgname=${_target}-eglibc +pkgver=2.20 +_basever=2.20-r0.62 +pkgrel=2 +pkgdesc="Embedded GNU C Library (${_target})" +arch=(any) +url="http://www.eglibc.org" +curl="http://www.eglibc.org" +license=('GPL') +groups=('frc-2016') +depends=("${_target}-linux-api-headers") +options=(!strip 'staticlibs' '!emptydirs') +source=("http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/cortexa9-vfpv3/libc6_${_basever}_cortexa9-vfpv3.ipk" + "http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/cortexa9-vfpv3/libc6-dev_${_basever}_cortexa9-vfpv3.ipk" + "http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/cortexa9-vfpv3/libcidn1_${_basever}_cortexa9-vfpv3.ipk" + "http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/cortexa9-vfpv3/libc6-thread-db_${_basever}_cortexa9-vfpv3.ipk" + "http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/cortexa9-vfpv3/libc6-extra-nss_${_basever}_cortexa9-vfpv3.ipk") +md5sums=('7ef6696ad457445b12978b404db4a925' + '5903dbf17303729316bae977bf0ad7d6' + '767bf5340ce9807472f4e1275ecf4257' + 'edaf5b79b28cb554fbd188fc45873531' + '91d346538b0c73415ec33aa3d375b850') + +package() { + cd "${srcdir}" + for file in *.ipk; do + ar x $file + tar xf data.tar.gz + done + + mkdir -p ${pkgdir}/usr/${_target} + rm -rf lib/eglibc + find . \( -name .install -o -name ..install.cmd \) -delete + cp -r lib ${pkgdir}/usr/${_target} + cp -r usr ${pkgdir}/usr/${_target} +} diff --git a/arch-linux/pkgbuilds/arm-frc-linux-gnueabi-frcmake-hg/PKGBUILD b/arch-linux/pkgbuilds/arm-frc-linux-gnueabi-frcmake-hg/PKGBUILD new file mode 100644 index 0000000..b271db7 --- /dev/null +++ b/arch-linux/pkgbuilds/arm-frc-linux-gnueabi-frcmake-hg/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Tyler Veness + +pkgname=arm-frc-linux-gnueabi-frcmake-hg +pkgver=r66.eec4367471da +pkgrel=2 +pkgdesc="Wrapper scripts for using CMake with the FRC toolchain" +arch=('any') +url="https://bitbucket.org/byteit101/toolchain-builder/" +license=('GPL') +makedepends=('mercurial') +provides=('arm-frc-linux-gnueabi-frcmake') +groups=('frc-2015') +depends=('cmake') +_hgrepo='toolchain-builder' +source=(hg+https://bitbucket.org/byteit101/toolchain-builder/"$_hgrepo") +sha512sums=('SKIP') + +pkgver() { + cd "$srcdir/$_hgrepo" + printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)" +} + +package() { + cd "$srcdir/$_hgrepo/tools" + make -f frcmake-nix-makefile DESTDIR="$pkgdir" install || return 1 +} diff --git a/arch-linux/pkgbuilds/arm-frc-linux-gnueabi-gcc/PKGBUILD b/arch-linux/pkgbuilds/arm-frc-linux-gnueabi-gcc/PKGBUILD new file mode 100644 index 0000000..884cc12 --- /dev/null +++ b/arch-linux/pkgbuilds/arm-frc-linux-gnueabi-gcc/PKGBUILD @@ -0,0 +1,78 @@ +# Maintainer: Tyler Veness + +_target="arm-frc-linux-gnueabi" +pkgname=${_target}-gcc +pkgver=4.9.1 +pkgrel=2 +pkgdesc="The GNU Compiler Collection (${_target})" +arch=(i686 x86_64) +license=('GPL' 'LGPL') +url="http://gcc.gnu.org" +groups=('frc-2015') +depends=("${_target}-binutils" "${_target}-eglibc" 'libmpc' 'elfutils') +options=('!buildflags' '!libtool' '!emptydirs' 'zipman' 'docs' + '!strip' 'staticlibs') +source=("ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2" + "minorSOname.patch") +md5sums=('fddf71348546af523353bd43d34919c1' + 'eac80070a6324fc67ed5b3ac85551789') + +build() { + cd "${srcdir}/gcc-${pkgver}" + + echo ${pkgver} > gcc/BASE-VER + + patch -p1 < ${srcdir}/minorSOname.patch + + [[ -d gcc-build ]] || mkdir gcc-build + cd gcc-build + + [ $NOEXTRACT -eq 1 ] || ../configure \ + --prefix=/usr \ + --program-prefix=${_target}- \ + --target=${_target} \ + --host=$CHOST \ + --build=$CHOST \ + --enable-shared \ + --disable-nls \ + --enable-threads=posix \ + --enable-languages=c,c++ \ + --disable-multilib \ + --disable-multiarch \ + --with-sysroot=/usr/${_target} \ + --with-build-sysroot=/usr/${_target} \ + --with-as=/usr/bin/${_target}-as \ + --with-ld=/usr/bin/${_target}-ld \ + --with-cpu=cortex-a9 \ + --with-float=softfp \ + --with-fpu=vfpv3 \ + --with-specs='%{save-temps: -fverbose-asm} %{funwind-tables|fno-unwind-tables|mabi=*|ffreestanding|nostdlib:;:-funwind-tables}' \ + --enable-lto \ + --with-pkgversion='GCC for FRC' \ + --with-cloog \ + --enable-poison-system-directories \ + --enable-plugin \ + --with-system-zlib \ + --disable-libmudflap + + make all-gcc all-target-libgcc all-target-libstdc++-v3 +} + +package() { + cd "${srcdir}/gcc-${pkgver}"/gcc-build + + make "DESTDIR=$pkgdir" install-gcc install-target-libgcc \ + install-target-libstdc++-v3 + + rm -rf "$pkgdir"/usr/share/{man/man7,info}/ + + cp -r "$pkgdir"/usr/libexec/* "$pkgdir/usr/lib/" + rm -rf "$pkgdir/usr/libexec" + + rm -rf "$pkgdir/usr/share/gcc-${pkgver}/python" + + # strip it manually + strip "$pkgdir"/usr/bin/* 2>/dev/null || true + find "$pkgdir"/usr/lib -type f -exec /usr/bin/${_target}-strip \ + --strip-unneeded {} \; 2>/dev/null || true +} diff --git a/arch-linux/pkgbuilds/arm-frc-linux-gnueabi-gcc/minorSOname.patch b/arch-linux/pkgbuilds/arm-frc-linux-gnueabi-gcc/minorSOname.patch new file mode 100644 index 0000000..5e8cec2 --- /dev/null +++ b/arch-linux/pkgbuilds/arm-frc-linux-gnueabi-gcc/minorSOname.patch @@ -0,0 +1,49 @@ +Description: Make the default SONAME include minor numbers (c++) + This patch adds .0.20 to the end of the SONAME for libstdc++ to support + independent side-by-side usage of .17 and .20. + . + gcc-armel (4.9.1-0frc2) trusty; urgency=low + . + * Fixing dependency ambiguity yet again... +Author: Patrick Plenefisch + +--- + +--- gcc-armel-4.9.1.orig/libstdc++-v3/configure ++++ gcc-armel-4.9.1/libstdc++-v3/configure +@@ -10698,7 +10698,7 @@ gnu*) + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' +- soname_spec='${libname}${release}${shared_ext}$major' ++ soname_spec='${libname}${release}${shared_ext}$versuffix' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; +@@ -10824,7 +10824,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu) + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' +- soname_spec='${libname}${release}${shared_ext}$major' ++ soname_spec='${libname}${release}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no +@@ -14382,7 +14382,7 @@ gnu*) + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' +- soname_spec='${libname}${release}${shared_ext}$major' ++ soname_spec='${libname}${release}${shared_ext}$versuffix' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; +@@ -14508,7 +14508,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu) + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' +- soname_spec='${libname}${release}${shared_ext}$major' ++ soname_spec='${libname}${release}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no diff --git a/arch-linux/pkgbuilds/arm-frc-linux-gnueabi-gdb/PKGBUILD b/arch-linux/pkgbuilds/arm-frc-linux-gnueabi-gdb/PKGBUILD new file mode 100644 index 0000000..ec5e423 --- /dev/null +++ b/arch-linux/pkgbuilds/arm-frc-linux-gnueabi-gdb/PKGBUILD @@ -0,0 +1,49 @@ +# Maintainer: Tyler Veness + +_target=arm-frc-linux-gnueabi +pkgname=$_target-gdb +pkgver=7.8 +pkgrel=1 +pkgdesc="The GNU Debugger (${_target})" +arch=(i686 x86_64) +url='http://www.gnu.org/software/gdb/' +license=(GPL3) +groups=('frc-2015') +depends=(xz ncurses expat python2 guile) +makedepends=(texinfo) +optdepends=('openocd: for debugging JTAG targets' + 'stlink: for debugging over STLINK') +options=(!emptydirs) +source=(ftp://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz) +sha256sums=('49c4abe174f79f54e1f9e75210ffb590d9b497d5b5200b5398c0e073a4ecb875') + +build() { + cd gdb-$pkgver + + sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure + + ./configure --target=${_target} \ + --prefix=/usr \ + --with-pkgversion='GDB for FRC' \ + --disable-nls \ + --with-libexpat \ + --datadir=/usr/share/frc \ + --with-system-gdbinit=/usr/share/frc/gdb/gdbinit \ + --with-sysroot=/usr/${_target} \ + --enable-lto + make +} + +package() { + cd gdb-$pkgver + + make DESTDIR="$pkgdir" install + + # Following files conflict with 'gdb' package + rm -r "$pkgdir"/usr/share/info + # TOTHINK: we remove python module used for debugging. It means arm-*-gdb alone will not be able to debug and 'gdb' package + # should be installed. File a bug upstream - ask a separate python module folder for cross tools. + rm -r "$pkgdir"/usr/include/gdb + rm "$pkgdir"/usr/share/man/man1/gdb* + rm -r "$pkgdir"/usr/share/man/man5 +} diff --git a/arch-linux/pkgbuilds/arm-frc-linux-gnueabi-linux-api-headers/PKGBUILD b/arch-linux/pkgbuilds/arm-frc-linux-gnueabi-linux-api-headers/PKGBUILD new file mode 100644 index 0000000..661fcd8 --- /dev/null +++ b/arch-linux/pkgbuilds/arm-frc-linux-gnueabi-linux-api-headers/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Tyler Veness + +_target_arch=arm +_target=${_target_arch}-frc-linux-gnueabi +pkgname=${_target}-linux-api-headers +pkgver=3.16 +_basever=3.16-r0.46 +pkgrel=2 +pkgdesc="Kernel headers sanitized for use in userspace (${_target})" +arch=(any) +url="http://www.gnu.org/software/libc" +license=('GPL2') +groups=('frc-2016') +provides=("${_target}-linux-api-headers=${pkgver}" + "${_target}-linux-api-headers30") +conflicts=("${_target}-linux-api-headers26") +options=('!emptydirs') +source=("http://download.ni.com/ni-linux-rt/feeds/2014/arm/ipk/cortexa9-vfp3/linux-libc-headers-dev_${_basever}_cortexa9-vfpv3.ipk") +sha512sums=('485c576ccbb255c3f5630b820b367fb7c02322b7ab516cf926e5d77adbb3aec1c624bfbb90a1e8647bd471230a9eb7e013c63e47f2f85b0452bc4539977b68f6') + +package() { + cd "${srcdir}" + + ar x linux-libc-headers-dev_${_basever}_armv7a-vfp-neon.ipk + tar xf data.tar.gz + + cd usr + mkdir -p ${pkgdir}/usr/${_target}/usr + find . \( -name .install -o -name ..install.cmd \) -delete + cp -r ./* ${pkgdir}/usr/${_target}/usr +} diff --git a/arch-linux/pkgbuilds/contrib/arm-frc-linux-gnueabi-wpilib-git/PKGBUILD b/arch-linux/pkgbuilds/contrib/arm-frc-linux-gnueabi-wpilib-git/PKGBUILD new file mode 100644 index 0000000..82f3813 --- /dev/null +++ b/arch-linux/pkgbuilds/contrib/arm-frc-linux-gnueabi-wpilib-git/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Tyler Veness + +pkgname=arm-frc-linux-gnueabi-wpilib-git +pkgver=935.87e1df0 +pkgrel=1 +pkgdesc="The WPI FIRST Robotics Competition C/C++ library for the arm-frc-linux-gnueabi toolchain" +arch=(i686 x86_64) +provides=('arm-frc-linux-gnueabi-wpilib') +url="https://usfirst.collab.net/sf/projects/wpilib/" +license=('custom=FRC-BSD') +groups=('frc-2015') +depends=('arm-frc-linux-gnueabi-gcc') +makedepends=('cmake' 'git') +options=('!strip' 'libtool' 'staticlibs') +source=("git+https://usfirst.collab.net/gerrit/allwpilib") +sha512sums=('SKIP') + +pkgver() { + cd allwpilib + echo $(git rev-list --count master).$(git rev-parse --short master) +} + +build() { + cd "$srcdir/allwpilib" + mkdir build && cd build + cmake .. -DCMAKE_TOOLCHAIN_FILE=../arm-toolchain.cmake + make ${MAKEFLAGS} || return 1 +} + +package () { + cd "$srcdir/allwpilib/build" + make ${MAKEFLAGS} DESTDIR="${pkgdir}" install || return 1 + mv $pkgdir/usr/local $pkgdir/usr/arm-frc-linux-gnueabi + install -Dm644 ../wpilibj/BSD_License_for_WPILib_code.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE +} +# vim:set ts=2 sw=2 et: diff --git a/arch-linux/pkgbuilds/frc-2015/PKGBUILD b/arch-linux/pkgbuilds/frc-2015/PKGBUILD new file mode 100644 index 0000000..026071f --- /dev/null +++ b/arch-linux/pkgbuilds/frc-2015/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainter: Tyler Veness + +pkgname=frc-2015 +pkgver=20150105 +pkgrel=1 +pkgdesc="Metapackage for installing all of the FIRST Robotics Competition C/C++ build system components" +arch=('any') +url='https://bitbucket.org/byteit101/toolchain-builder/' +license=('GPL') +groups=('frc-2015') +depends=('arm-frc-linux-gnueabi-gcc' + 'arm-frc-linux-gnueabi-wpilib-git' + 'arm-frc-linux-gnueabi-frcmake-hg' + 'arm-frc-linux-gnueabi-gdb') +source=() + + +pkgver() { + date +%Y%m%d +} diff --git a/boostrap-wine.sh b/boostrap-wine.sh new file mode 100644 index 0000000..c13cab7 --- /dev/null +++ b/boostrap-wine.sh @@ -0,0 +1,5 @@ +#!/bin/bash +apt-add-repository -y ppa:byteit101/frc-toolchain +apt-get update +apt-get install -y wine1.6 winetricks zsh g++-mingw-w64 devscripts +echo "Please download wix310-binaries.zip from https://wix.codeplex.com/downloads/get/1483378 (Needs JS to download)" diff --git a/deb/Makefile b/deb/Makefile new file mode 100644 index 0000000..2472bb2 --- /dev/null +++ b/deb/Makefile @@ -0,0 +1,73 @@ +include ../versions.sh +DEBUILD_FLAGS ?= -us -uc + +all: flags sysroot binutils gcc gdb gcc-defaults frcmake frc-toolchain + + +flags: + echo "Using DEBUILG_FLAGS=$(DEBUILD_FLAGS)" + +sysroot: libc6 linux-libc roborio-sysroot + +frcmake: + rm -rf frcmake* + tar xf ../frcmake-${V_FRCMAKE}.tar.bz2 + cp debians/frcmake frcmake-${V_FRCMAKE}/debian -r + cd frcmake-${V_FRCMAKE} && debuild $(DEBUILD_FLAGS) + +roborio-sysroot: + rm -rf roborio-sysroot* + mkdir roborio-sysroot-${V_ROBORIO_SYSROOT} + cp debians/sysroot roborio-sysroot-${V_ROBORIO_SYSROOT}/debian -r + cd roborio-sysroot-${V_ROBORIO_SYSROOT} && debuild $(DEBUILD_FLAGS) + +libc6: + rm -rf libc6-* + cp ../libc6-frc-armel-cross_$(Va_LIBC).orig.tar.bz2 ./ + tar xf libc6-frc-armel-cross_$(Va_LIBC).orig.tar.bz2 + cp debians/libc libc6-$(Va_LIBC)/debian -r + cd libc6-$(Va_LIBC) && debuild $(DEBUILD_FLAGS) + +linux-libc: + rm -rf linux-libc-* + cp ../linux-libc-dev-frc-armel-cross_$(Va_LINUX).orig.tar.bz2 ./ + tar xf linux-libc-dev-frc-armel-cross_$(Va_LINUX).orig.tar.bz2 + cp debians/linux-libc linux-libc-$(Va_LINUX)/debian -r + cd linux-libc-$(Va_LINUX) && debuild $(DEBUILD_FLAGS) + +binutils: + rm -rf binutils-* + cp ../binutils-$(V_BINUTILS).tar.bz2 binutils-frc-armel-cross_$(V_BINUTILS).orig.tar.bz2 + tar xf binutils-frc-armel-cross_$(V_BINUTILS).orig.tar.bz2 + cp debians/binutils binutils-$(V_BINUTILS)/debian -r + cd binutils-$(V_BINUTILS) && debuild $(DEBUILD_FLAGS) + +gcc: + rm -rf gcc-* + cp ../gcc-$(V_GCC).tar.bz2 gcc-frc-armel-cross_$(V_GCC).orig.tar.bz2 + tar xf gcc-frc-armel-cross_$(V_GCC).orig.tar.bz2 + cp debians/gcc gcc-$(V_GCC)/debian -r + cd gcc-$(V_GCC) && debuild $(DEBUILD_FLAGS) + +gcc-defaults: + rm -rf gcc-defaults-frc-armel-cross* + mkdir gcc-defaults-frc-armel-cross-${V_GCC_DEFAULTS} + cp debians/gcc-versions gcc-defaults-frc-armel-cross-${V_GCC_DEFAULTS}/debian -r + cd gcc-defaults-frc-armel-cross-${V_GCC_DEFAULTS} && debuild $(DEBUILD_FLAGS) + +gdb: + rm -rf gdb* + cp ../gdb-$(V_GDB).tar.gz gdb-frc-armel-cross_$(V_GDB).orig.tar.gz + tar xf gdb-frc-armel-cross_$(V_GDB).orig.tar.gz + cp debians/gdb gdb-$(V_GDB)/debian -r + cd gdb-$(V_GDB) && debuild $(DEBUILD_FLAGS) + +frc-toolchain: + rm -rf frc-toolchain* + mkdir frc-toolchain-1 + cp debians/frc-toolchain frc-toolchain-1/debian -r + cd frc-toolchain-1 && debuild $(DEBUILD_FLAGS) + +clean: + find . -maxdepth 1 ! -name Makefile ! -name debians -type f -delete + diff --git a/deb/debians/binutils/binutils-arm-frc-linux-gnueabi.lintian-overrides b/deb/debians/binutils/binutils-arm-frc-linux-gnueabi.lintian-overrides new file mode 100644 index 0000000..ec8ccfe --- /dev/null +++ b/deb/debians/binutils/binutils-arm-frc-linux-gnueabi.lintian-overrides @@ -0,0 +1,5 @@ +binutils-arm-frc-linux-gnueabi: non-standard-dir-in-usr usr/arm-frc-linux-gnueabi/ +binutils-arm-frc-linux-gnueabi: package-contains-hardlink +binutils-arm-frc-linux-gnueabi: manpage-has-errors-from-man +binutils-arm-frc-linux-gnueabi: binary-without-manpage usr/bin/arm-frc-linux-gnueabi-ld.bfd + diff --git a/deb/debians/binutils/changelog b/deb/debians/binutils/changelog new file mode 100644 index 0000000..528b2c0 --- /dev/null +++ b/deb/debians/binutils/changelog @@ -0,0 +1,23 @@ +binutils-frc-armel-cross (2.25.1-1) stable; urgency=low + + * Update to latest binutils version + + -- WPILib Developers Sun, 13 Sep 2015 14:38:08 -0400 + +binutils-frc-armel-cross (2.24-0) stable; urgency=low + + * renaming triplet + + -- Patrick Plenefisch Wed, 10 Sep 2014 09:19:27 -0400 + +binutils-armel-cross-frc (2.24-2) trusty; urgency=low + + * Bumping version for trusty + + -- Patrick Plenefisch Fri, 05 Sep 2014 09:19:27 -0400 + +binutils-armel-cross-frc (2.24-1) unstable; urgency=low + + * Initial release + + -- Patrick Plenefisch Fri, 29 Aug 2014 19:26:26 -0400 diff --git a/deb/debians/binutils/compat b/deb/debians/binutils/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/deb/debians/binutils/compat @@ -0,0 +1 @@ +9 diff --git a/deb/debians/binutils/control b/deb/debians/binutils/control new file mode 100644 index 0000000..cf1ed23 --- /dev/null +++ b/deb/debians/binutils/control @@ -0,0 +1,20 @@ +Source: binutils-frc-armel-cross +Section: devel +Priority: optional +Maintainer: WPILib Developers +Build-Depends: debhelper (>= 9.0.0), autotools-dev, bison, flex, gettext, texinfo, dejagnu, quilt, file, xz-utils, lsb-release +Standards-Version: 3.9.6 +Homepage: http://www.gnu.org/software/binutils/ + +Package: binutils-arm-frc-linux-gnueabi +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: roborio-sysroot (>= 1.1) +Suggests: g++-arm-frc-linux-gnueabi +Description: GNU binary utilities, for arm-frc-linux-gnueabi target + This package provides GNU assembler, linker and binary utilities + for arm-frc-linux-gnueabi target, for use in a cross-compilation environment. + . + You don't need this package unless you plan to cross-compile programs + for arm-frc-linux-gnueabi. + diff --git a/deb/debians/binutils/copyright b/deb/debians/binutils/copyright new file mode 100644 index 0000000..d7313ee --- /dev/null +++ b/deb/debians/binutils/copyright @@ -0,0 +1,41 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: binutils +Source: ftp://ftp.gnu.org/pub/gnu/binutils/ + +Files: * +Copyright: 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +License: GPL-3+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. + +Files: debian/* +Copyright: 2015 WPILib Developers +License: GPL-3+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + diff --git a/deb/debians/binutils/rules b/deb/debians/binutils/rules new file mode 100755 index 0000000..6ec0514 --- /dev/null +++ b/deb/debians/binutils/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +%: + dh $@ --with autotools-dev + +override_dh_auto_configure: + dh_auto_configure -- --prefix=/usr --target=arm-frc-linux-gnueabi '--with-pkgversion=GNU Binutils for FRC' --enable-poison-system-directories --with-sysroot=/usr/arm-frc-linux-gnueabi --enable-plugins --disable-nls --enable-lto --disable-werror + +override_dh_installinfo: + rm -rf debian/binutils-arm-frc-linux-gnueabi/usr/share/info + +override_dh_auto_test: + + diff --git a/deb/debians/binutils/source/format b/deb/debians/binutils/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/deb/debians/binutils/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/deb/debians/frc-toolchain/changelog b/deb/debians/frc-toolchain/changelog new file mode 100644 index 0000000..7e667b9 --- /dev/null +++ b/deb/debians/frc-toolchain/changelog @@ -0,0 +1,11 @@ +frc-toolchain (2016.0) stable; urgency=low + + * Allow installation of latest gcc + + -- WPILib Developers Sun, 13 Sep 2015 14:28:52 -0400 + +frc-toolchain (2015.0) stable; urgency=low + + * First version + + -- Patrick Plenefisch Thu, 01 Jan 2015 15:35:50 -0500 diff --git a/deb/debians/frc-toolchain/compat b/deb/debians/frc-toolchain/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/deb/debians/frc-toolchain/compat @@ -0,0 +1 @@ +7 diff --git a/deb/debians/frc-toolchain/control b/deb/debians/frc-toolchain/control new file mode 100644 index 0000000..4c495c7 --- /dev/null +++ b/deb/debians/frc-toolchain/control @@ -0,0 +1,14 @@ +Source: frc-toolchain +Section: devel +Priority: optional +Maintainer: WPILib Developers +Build-Depends: debhelper (>= 7) +Standards-Version: 3.9.6 + +Package: frc-toolchain +Architecture: all +Depends: g++-arm-frc-linux-gnueabi (>= 4.9), gdb-arm-frc-linux-gnueabi (>= 7.10), libc6-frc-armel-cross, libc6-dev-frc-armel-cross, linux-libc-dev-frc-armel-cross, ${misc:Depends} +Conflicts: g++-arm-frc-linux-gnueabi (>= 5.0) +Recommends: frcmake +Description: FRC Toolchain for 2016+ (Metapackage) + This metapackage depends on all the components of the FRC toolchain. diff --git a/deb/debians/frc-toolchain/copyright b/deb/debians/frc-toolchain/copyright new file mode 100644 index 0000000..aea572f --- /dev/null +++ b/deb/debians/frc-toolchain/copyright @@ -0,0 +1,18 @@ +Copyright 1997 by Paul Seelig +Copyright 1999 by Martin Bialasinski + +The files in this package are free software; you can redistribute them +and/or modify them under the terms of the GNU General Public License +as published by the Free Software Foundation; either version 2, or (at +your option) any later version. + +The files in this package are distributed in the hope that they will +be useful, but WITHOUT ANY WARRANTY; without even the implied warranty +of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +with your Debian GNU/Linux system, in /usr/share/common-licenses/GPL, +or with the Debian GNU/Linux bash source package as the file COPYING. +If not, write to the Free Software Foundation, Inc., 51 Franklin St, +Fifth Floor, Boston, MA 02110-1301, USA. diff --git a/deb/debians/frc-toolchain/rules b/deb/debians/frc-toolchain/rules new file mode 100755 index 0000000..292737f --- /dev/null +++ b/deb/debians/frc-toolchain/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. + +#export DH_VERBOSE=1 + +build build-arch build-indep: + +clean: + dh_testdir + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + +binary-arch: install + +binary-indep: install + dh_testdir + dh_testroot + dh_install + dh_installdocs + dh_installchangelogs + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff --git a/deb/debians/frc-toolchain/source/format b/deb/debians/frc-toolchain/source/format new file mode 100644 index 0000000..d3827e7 --- /dev/null +++ b/deb/debians/frc-toolchain/source/format @@ -0,0 +1 @@ +1.0 diff --git a/deb/debians/frcmake/changelog b/deb/debians/frcmake/changelog new file mode 100644 index 0000000..c45fd44 --- /dev/null +++ b/deb/debians/frcmake/changelog @@ -0,0 +1,11 @@ +frcmake (1.1) stable; urgency=low + + * Update maintainer and copyrights + + -- WPILib Developers Sun, 13 Sep 2015 14:34:50 -0400 + +frcmake (1.0) unstable; urgency=low + + * Initial Release. + + -- Patrick Plenefisch Sat, 08 Nov 2014 00:51:07 -0500 diff --git a/deb/debians/frcmake/compat b/deb/debians/frcmake/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/deb/debians/frcmake/compat @@ -0,0 +1 @@ +9 diff --git a/deb/debians/frcmake/control b/deb/debians/frcmake/control new file mode 100644 index 0000000..eb7bc9b --- /dev/null +++ b/deb/debians/frcmake/control @@ -0,0 +1,12 @@ +Source: frcmake +Section: devel +Priority: optional +Maintainer: WPILib Developers +Build-Depends: debhelper (>= 9.0.0), docbook-xsl, docbook-xml, xsltproc +Standards-Version: 3.9.6 + +Package: frcmake +Architecture: all +Depends: cmake, g++-arm-frc-linux-gnueabi, ${misc:Depends} +Description: CMake wrapper for FRC + Small wrapper program to run CMake with the proper toolchain for FRC diff --git a/deb/debians/frcmake/copyright b/deb/debians/frcmake/copyright new file mode 100644 index 0000000..41673e5 --- /dev/null +++ b/deb/debians/frcmake/copyright @@ -0,0 +1,28 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: frcmake + +Files: * +Copyright: 2015 WPILib Developers +License: GPL-3.0+ + +Files: debian/* +Copyright: 2015 WPILib Developers +License: GPL-3.0+ + +License: GPL-3.0+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + diff --git a/deb/debians/frcmake/frc-cmake-toolchain.1.xml b/deb/debians/frcmake/frc-cmake-toolchain.1.xml new file mode 100644 index 0000000..b7b7f12 --- /dev/null +++ b/deb/debians/frcmake/frc-cmake-toolchain.1.xml @@ -0,0 +1,123 @@ + +.
will be generated. You may view the +manual page with: nroff -man .
| less'. A typical entry +in a Makefile or Makefile.am is: + +DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl +XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" + +manpage.1: manpage.xml + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The XSL files are in +docbook-xsl. A description of the parameters you can use can be found in the +docbook-xsl-doc-* packages. Please remember that if you create the nroff +version in one of the debian/rules file targets (such as build), you will need +to include xsltproc and docbook-xsl in your Build-Depends control field. +Alternatively use the xmlto command/package. That will also automatically +pull in xsltproc and docbook-xsl. + +Notes for using docbook2x: docbook2x-man does not automatically create the +AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as + ... . + +To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections +read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be +found in the docbook-xsl-doc-html package. + +Validation can be done using: `xmllint -''-noout -''-valid manpage.xml` + +General documentation about man-pages and man-page-formatting: +man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ + +--> + + + + + + + + + + + + + +]> + + + + &dhtitle; + &dhpackage; + + + &dhfirstname; + &dhsurname; + Wrote this manpage for the Debian system. +
+ &dhemail; +
+
+
+ + 2015 + &dhusername; + + + This manual page was written for the Debian system + (and may be used by others). + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU General Public License, + Version 2 or (at your option) any later version published by + the Free Software Foundation. + On Debian systems, the complete text of the GNU General Public + License can be found in + /usr/share/common-licenses/GPL. + +
+ + &dhucpackage; + &dhsection; + + + &dhpackage; + CMake toolchain path for FRC + + + + &dhpackage; + + + &dhpackage; + + + + DESCRIPTION + + &dhpackage; returns the path to the toolchain for FRC cross compiling in cmake + + + + SEE ALSO + + + cmake + 1 + , + frcmake + 1 + + +
+ diff --git a/deb/debians/frcmake/frcmake.1.xml b/deb/debians/frcmake/frcmake.1.xml new file mode 100644 index 0000000..1da30f2 --- /dev/null +++ b/deb/debians/frcmake/frcmake.1.xml @@ -0,0 +1,141 @@ + +.
will be generated. You may view the +manual page with: nroff -man .
| less'. A typical entry +in a Makefile or Makefile.am is: + +DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl +XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" + +manpage.1: manpage.xml + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The XSL files are in +docbook-xsl. A description of the parameters you can use can be found in the +docbook-xsl-doc-* packages. Please remember that if you create the nroff +version in one of the debian/rules file targets (such as build), you will need +to include xsltproc and docbook-xsl in your Build-Depends control field. +Alternatively use the xmlto command/package. That will also automatically +pull in xsltproc and docbook-xsl. + +Notes for using docbook2x: docbook2x-man does not automatically create the +AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as + ... . + +To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections +read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be +found in the docbook-xsl-doc-html package. + +Validation can be done using: `xmllint -''-noout -''-valid manpage.xml` + +General documentation about man-pages and man-page-formatting: +man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ + +--> + + + + + + + + + + + + + +]> + + + + &dhtitle; + &dhpackage; + + + &dhfirstname; + &dhsurname; + Wrote this manpage for the Debian system. +
+ &dhemail; +
+
+
+ + 2015 + &dhusername; + + + This manual page was written for the Debian system + (and may be used by others). + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU General Public License, + Version 2 or (at your option) any later version published by + the Free Software Foundation. + On Debian systems, the complete text of the GNU General Public + License can be found in + /usr/share/common-licenses/GPL. + +
+ + &dhucpackage; + &dhsection; + + + &dhpackage; + CMake wrapper for FRC + + + + &dhpackage; + + + + + + + &dhpackage; + + + + + + + + DESCRIPTION + + &dhpackage; is a wrapper around CMake to automatically + use the correct toolchain file and is identical to the command: + cmake -DCMAKE_TOOLCHAIN_FILE=`frc-cmake-toolchain` ... + + + + OPTIONS + The options are mirrors of + + cmake + 1 + options. + + + SEE ALSO + + + cmake + 1 + , + frc-cmake-toolchain + 1 + + +
+ diff --git a/deb/debians/frcmake/frcmake.lintian-overrides b/deb/debians/frcmake/frcmake.lintian-overrides new file mode 100644 index 0000000..9d35762 --- /dev/null +++ b/deb/debians/frcmake/frcmake.lintian-overrides @@ -0,0 +1 @@ +frcmake: non-standard-dir-in-usr usr/arm-frc-linux-gnueabi/ diff --git a/deb/debians/frcmake/frcmake.manpages b/deb/debians/frcmake/frcmake.manpages new file mode 100644 index 0000000..6627e3b --- /dev/null +++ b/deb/debians/frcmake/frcmake.manpages @@ -0,0 +1,2 @@ +debian/frcmake.1 +debian/frc-cmake-toolchain.1 diff --git a/deb/debians/frcmake/rules b/deb/debians/frcmake/rules new file mode 100755 index 0000000..b28af0c --- /dev/null +++ b/deb/debians/frcmake/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ + +override_dh_auto_build: + xsltproc --nonet --param make.year.ranges 1 --param make.single.year.ranges 1 --param man.charmap.use.subset 0 -o debian/ /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl debian/frcmake.1.xml debian/frc-cmake-toolchain.1.xml + dh_auto_build $@ + diff --git a/deb/debians/frcmake/source/format b/deb/debians/frcmake/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/deb/debians/frcmake/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/deb/debians/gcc-versions/changelog b/deb/debians/gcc-versions/changelog new file mode 100644 index 0000000..37da1bd --- /dev/null +++ b/deb/debians/gcc-versions/changelog @@ -0,0 +1,12 @@ +gcc-defaults-frc-armel-cross (4.9.3) stable; urgency=low + + * Update maintainer and copyright + + -- WPILib Developers Sun, 13 Sep 2015 14:19:36 -0400 + +gcc-defaults-frc-armel-cross (4.9) stable; urgency=low + + * Adding links for frc tools + + -- Patrick Plenefisch Thu, 11 Sep 2014 13:45:14 -0400 + diff --git a/deb/debians/gcc-versions/compat b/deb/debians/gcc-versions/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/deb/debians/gcc-versions/compat @@ -0,0 +1 @@ +9 diff --git a/deb/debians/gcc-versions/control b/deb/debians/gcc-versions/control new file mode 100644 index 0000000..7540b7f --- /dev/null +++ b/deb/debians/gcc-versions/control @@ -0,0 +1,45 @@ +Source: gcc-defaults-frc-armel-cross +Maintainer: WPILib Developers +Section: devel +Priority: extra +Standards-Version: 3.9.6 +Build-Depends: debhelper (>= 9) + +Package: cpp-arm-frc-linux-gnueabi +Priority: optional +Architecture: all +Section: interpreters +Depends: cpp-4.9-arm-frc-linux-gnueabi, ${misc:Depends} +Suggests: cpp-doc +Description: The GNU C preprocessor (cpp) for frc-armel architecture + The GNU C preprocessor is a macro processor that is used automatically + by the GNU C compiler to transform programs before actual compilation. + . + This package has been separated from gcc for the benefit of those who + require the preprocessor but not the cross-compiler for frc-armel + architecture. + . + This is a dependency package providing the default GNU C preprocessor for + frc-armel architecture. + +Package: g++-arm-frc-linux-gnueabi +Priority: optional +Architecture: all +Depends: cpp-arm-frc-linux-gnueabi (>= 4.9), gcc-arm-frc-linux-gnueabi (>= 4.9), g++-4.9-arm-frc-linux-gnueabi, gcc-4.9-arm-frc-linux-gnueabi, ${misc:Depends} +Description: The GNU C++ compiler for frc-armel architecture + This is the GNU C++ compiler, a fairly portable optimizing compiler for C++. + . + This is a dependency package providing the default GNU C++ cross-compiler for + frc-armel architecture. + +Package: gcc-arm-frc-linux-gnueabi +Priority: optional +Architecture: all +Depends: cpp-arm-frc-linux-gnueabi (>= 4.9), gcc-4.9-arm-frc-linux-gnueabi, ${misc:Depends} +Recommends: libc6-dev-frc-armel-cross +Suggests: make, manpages-dev, autoconf, automake, libtool, flex, bison, gdb-arm-frc-linux-gnueabi, gcc-doc +Description: The GNU C compiler for frc-armel architecture + This is the GNU C compiler, a fairly portable optimizing compiler for C. + . + This is a dependency package providing the default GNU C cross-compiler for + frc-armel architecture. diff --git a/deb/debians/gcc-versions/copyright b/deb/debians/gcc-versions/copyright new file mode 100644 index 0000000..83a4d47 --- /dev/null +++ b/deb/debians/gcc-versions/copyright @@ -0,0 +1,25 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 +Name: roborio-sysroot +Maintainer: Patrick Plenefisch + +Files: debian/* +Copyright: Copyright 2015 WPILib Developers +License: GPL-2+ + License: GPL-2+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. diff --git a/deb/debians/gcc-versions/cpp-arm-frc-linux-gnueabi.links b/deb/debians/gcc-versions/cpp-arm-frc-linux-gnueabi.links new file mode 100644 index 0000000..9fea0cd --- /dev/null +++ b/deb/debians/gcc-versions/cpp-arm-frc-linux-gnueabi.links @@ -0,0 +1,2 @@ +/usr/bin/arm-frc-linux-gnueabi-cpp-4.9 /usr/bin/arm-frc-linux-gnueabi-cpp + diff --git a/deb/debians/gcc-versions/g++-arm-frc-linux-gnueabi.links b/deb/debians/gcc-versions/g++-arm-frc-linux-gnueabi.links new file mode 100644 index 0000000..0ce9b29 --- /dev/null +++ b/deb/debians/gcc-versions/g++-arm-frc-linux-gnueabi.links @@ -0,0 +1,2 @@ +/usr/bin/arm-frc-linux-gnueabi-g++-4.9 /usr/bin/arm-frc-linux-gnueabi-g++ + diff --git a/deb/debians/gcc-versions/gcc-arm-frc-linux-gnueabi.links b/deb/debians/gcc-versions/gcc-arm-frc-linux-gnueabi.links new file mode 100644 index 0000000..b8c84a9 --- /dev/null +++ b/deb/debians/gcc-versions/gcc-arm-frc-linux-gnueabi.links @@ -0,0 +1,2 @@ +/usr/bin/arm-frc-linux-gnueabi-gcc-4.9 /usr/bin/arm-frc-linux-gnueabi-gcc + diff --git a/deb/debians/gcc-versions/rules b/deb/debians/gcc-versions/rules new file mode 100755 index 0000000..022ff73 --- /dev/null +++ b/deb/debians/gcc-versions/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +export PREFIX=/usr/arm-frc-linux-gnueabi +%: + dh $@ + diff --git a/deb/debians/gcc-versions/source/format b/deb/debians/gcc-versions/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/deb/debians/gcc-versions/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/deb/debians/gcc/changelog b/deb/debians/gcc/changelog new file mode 100644 index 0000000..603267b --- /dev/null +++ b/deb/debians/gcc/changelog @@ -0,0 +1,92 @@ +gcc-frc-armel-cross (4.9.3-1frc1) stable; urgency=medium + + * Fix launchpad build failure + + -- WPILib Developers Sat, 19 Sep 2015 16:58:58 -0400 + +gcc-frc-armel-cross (4.9.3-1) stable; urgency=medium + + * Update to latest 4.9.3 in 4.9.x branch + * Update dependencies for 2016 + + -- WPILib Developers Mon, 31 Aug 2015 13:39:56 -0400 + +gcc-frc-armel-cross (4.9.1-0build0) trusty; urgency=low + + * prefixing frc + + -- Patrick Plenefisch Thu, 11 Sep 2014 12:20:04 -0400 + +gcc-armel (4.9.1-0frc6test1) trusty; urgency=low + + * removing manual target strippers as they keep failing repeatedly + * fixing 32 bit builds + + -- Patrick Plenefisch Fri, 05 Sep 2014 20:04:05 -0400 + +gcc-armel (4.9.1-0frc4) trusty; urgency=low + + * Fixing build issue with LD script + + -- Patrick Plenefisch Fri, 05 Sep 2014 19:29:05 -0400 + +gcc-armel (4.9.1-0frc3) trusty; urgency=low + + * Adding minor version number in SONAME + + -- Patrick Plenefisch Fri, 05 Sep 2014 14:19:48 -0400 + +gcc-armel (4.9.1-0frc2) trusty; urgency=low + + * Fixing dependency ambiguity yet again... + + -- Patrick Plenefisch Thu, 04 Sep 2014 22:04:33 -0400 + +gcc-armel (4.9.1-0frc1) trusty; urgency=low + + * Fixing dependency ambiguity + + -- Patrick Plenefisch Thu, 04 Sep 2014 22:04:33 -0400 + +gcc-armel (4.9.1-0) trusty; urgency=low + + * update for 4.9 + + -- Patrick Plenefisch Fri, 29 Aug 2014 22:26:33 -0400 + +gcc-4.8 (4.8.2-1) precise; urgency=low + + * Forking for armel packages + + -- Patrick Plenefisch Mon, 26 May 2014 14:35:12 -0400 + +gcc-powerpc-wrs-vxworks (4.8.0+1-1) stable; urgency=low + + * Updating to release tarball + * Pre-depending on headers + + -- Patrick Plenefisch Fri, 22 Mar 2013 22:10:44 -0400 + +gcc-powerpc-wrs-vxworks (4.8.0+0svn196132-1debian3) stable; urgency=low + + * Fixing 64 bit builds on launchpad + + -- Patrick Plenefisch Mon, 18 Mar 2013 19:26:48 -0400 + +gcc-powerpc-wrs-vxworks (4.8.0+0svn196132-1debian2) stable; urgency=low + + * Fixing ubuntu compile flags + + -- Patrick Plenefisch Sun, 17 Mar 2013 23:35:42 -0400 + +gcc-powerpc-wrs-vxworks (4.8.0+0svn196132-1debian1) stable; urgency=low + + * Changing dependencies + + -- Patrick Plenefisch Sun, 17 Mar 2013 01:35:53 -0400 + +gcc-powerpc-wrs-vxworks (4.8.0+0svn196132-1) unstable; urgency=low + + * Initial release + + -- Patrick Plenefisch Wed, 06 Mar 2013 23:39:23 -0500 diff --git a/deb/debians/gcc/compat b/deb/debians/gcc/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/deb/debians/gcc/compat @@ -0,0 +1 @@ +9 diff --git a/deb/debians/gcc/control b/deb/debians/gcc/control new file mode 100644 index 0000000..e68df43 --- /dev/null +++ b/deb/debians/gcc/control @@ -0,0 +1,127 @@ +Source: gcc-frc-armel-cross +Section: contrib/devel +Priority: extra +Maintainer: WPILib Developers +Build-Depends: debhelper (>= 9.0.0), autotools-dev, libmpfr-dev (>= 3.1.0), libgmp-dev (>= 2:5.0.2), libmpc-dev (>= 0.9), libcloog-isl-dev (>= 0.17.0), flex, texinfo, zlib1g-dev, bison, binutils-arm-frc-linux-gnueabi (>= 2.24), libc6-dev-frc-armel-cross (>= 2.17) +Standards-Version: 3.9.6 +Homepage: http://gcc.gnu.org/ + +Package: gcc-4.9-arm-frc-linux-gnueabi-base +Architecture: any +Section: devel +Priority: extra +Depends: ${misc:Depends} +Description: GCC, the GNU Compiler Collection (base package) + This package contains files common to all languages and libraries + contained in the GNU Compiler Collection (GCC). + +Package: libgcc1-frc-armel-cross +Architecture: all +Section: devel +Priority: extra +Depends: gcc-4.9-arm-frc-linux-gnueabi-base (= ${binary:Version}), libc6-frc-armel-cross (>= 2.17), ${shlibs:Depends}, ${misc:Depends} +Provides: libgcc1-armel-dcv1 +Description: GCC support library + Shared version of the support library, a library of internal subroutines + that GCC uses to overcome shortcomings of particular machines, or + special needs for some languages. + . + This package contains files for armel architecture, for use in cross-compile + environment. + +#Note: This is set to any because of paths that I have not yet figured out +Package: libgcc-4.9-dev-frc-armel-cross +Architecture: any +Section: libdevel +Priority: optional +Recommends: libc6-dev-frc-armel-cross (>= 2.17) +Depends: gcc-4.9-arm-frc-linux-gnueabi-base (= ${binary:Version}), libgcc1-frc-armel-cross (>= ${binary:Version}), libgomp1-frc-armel-cross (>= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: GCC support library (development files) + This package contains the headers and static library files necessary for + building C programs which use libgcc, libgomp, libquadmath, libssp or libitm. + +Package: gcc-4.9-arm-frc-linux-gnueabi +Architecture: any +Section: devel +Priority: extra +Depends: gcc-4.9-arm-frc-linux-gnueabi-base (= ${binary:Version}), cpp-4.9-arm-frc-linux-gnueabi (= ${binary:Version}), binutils-arm-frc-linux-gnueabi (>= ${binutils:Version}), libgcc-4.9-dev-frc-armel-cross (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Recommends: libc6-dev-frc-armel-cross (>= 2.17) +Suggests: gcc-4.9-doc (>= ${gcc:SoftVersion}), gcc-4.9-locales (>= ${gcc:SoftVersion}) +Provides: c-compiler-arm-frc-linux-gnueabi +Description: GNU C compiler + This is the GNU C compiler, a fairly portable optimizing compiler for C. + . + This package contains C cross-compiler for armel architecture. + +Package: cpp-4.9-arm-frc-linux-gnueabi +Architecture: any +Section: devel +Priority: extra +Depends: gcc-4.9-arm-frc-linux-gnueabi-base (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Suggests: gcc-4.9-locales (>= ${gcc:SoftVersion}) +Description: GNU C preprocessor + A macro processor that is used automatically by the GNU C compiler + to transform programs before actual compilation. + . + This package has been separated from gcc for the benefit of those who + require the preprocessor but not the compiler. + . + This package contains preprocessor configured for armel architecture. + +Package: g++-4.9-arm-frc-linux-gnueabi +Architecture: any +Section: devel +Priority: extra +Depends: gcc-4.9-arm-frc-linux-gnueabi-base (= ${binary:Version}), gcc-4.9-arm-frc-linux-gnueabi (= ${binary:Version}), libstdc++6-dev-frc-armel-cross (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Provides: c++-compiler-arm-frc-linux-gnueabi, c++abi2-dev +Suggests: gcc-4.9-doc (>= ${gcc:SoftVersion}) +Description: GNU C++ compiler + This is the GNU C++ compiler, a fairly portable optimizing compiler for C++. + . + This package contains C++ cross-compiler for armel architecture. + +Package: libgomp1-frc-armel-cross +Section: devel +Architecture: all +Priority: extra +Depends: gcc-4.9-arm-frc-linux-gnueabi-base (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: GCC OpenMP (GOMP) support library + GOMP is an implementation of OpenMP for the C, C++, and Fortran compilers + in the GNU Compiler Collection. + +Package: libstdc++6-frc-armel-cross +Architecture: all +Section: devel +Priority: extra +Depends: gcc-4.9-arm-frc-linux-gnueabi-base (= ${binary:Version}), libc6-frc-armel-cross (>= 2.17), ${shlibs:Depends}, ${misc:Depends} +Provides: libstdc++6-armel-dcv1 +Conflicts: scim (<< 1.4.2-1) +Description: GNU Standard C++ Library v3 + This package contains an additional runtime library for C++ programs + built with the GNU compiler. + . + libstdc++-v3 is a complete rewrite from the previous libstdc++-v2, which + was included up to g++-2.95. The first version of libstdc++-v3 appeared + in g++-3.0. + . + This package contains files for armel architecture, for use in cross-compile + environment. + +Package: libstdc++6-dev-frc-armel-cross +Architecture: all +Section: devel +Priority: extra +Depends: gcc-4.9-arm-frc-linux-gnueabi-base (= ${binary:Version}), libgcc-4.9-dev-frc-armel-cross (= ${binary:Version}), libstdc++6-frc-armel-cross (>= ${binary:Version}), libc6-dev-frc-armel-cross (>= 2.17), ${misc:Depends} +Provides: libstdc++-dev-frc-armel-cross, libstdc++-dev-armel-dcv1, libstdc++6-dev-armel-dcv1, libstdc++6-4.9-dev-frc-armel-cross +Conflicts: libstdc++6-4.9-dev-frc-armel-cross +Description: GNU Standard C++ Library v3 (development files) + This package contains the headers and static library files necessary for + building C++ programs which use libstdc++. + . + libstdc++-v3 is a complete rewrite from the previous libstdc++-v2, which + was included up to g++-2.95. The first version of libstdc++-v3 appeared + in g++-3.0. + . + This package contains files for armel architecture, for use in cross-compile + environment. + diff --git a/deb/debians/gcc/copyright b/deb/debians/gcc/copyright new file mode 100644 index 0000000..27d8532 --- /dev/null +++ b/deb/debians/gcc/copyright @@ -0,0 +1,40 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: gcc +Source: ftp://ftp.gnu.org/pub/gnu/gcc/ + +Files: * +Copyright: 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +License: GPL-3.0+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. + +Files: debian/* +Copyright: 2015 WPILib Developers +License: GPL-3.0+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". diff --git a/deb/debians/gcc/cpp-4.9-arm-frc-linux-gnueabi.install.in b/deb/debians/gcc/cpp-4.9-arm-frc-linux-gnueabi.install.in new file mode 100644 index 0000000..05d5f52 --- /dev/null +++ b/deb/debians/gcc/cpp-4.9-arm-frc-linux-gnueabi.install.in @@ -0,0 +1,6 @@ +usr/bin/arm-frc-linux-gnueabi-cpp-4.9 +usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/cc1 +usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/liblto_plugin.so +usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/liblto_plugin.so.0 +usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/liblto_plugin.so.0.0.0 +usr/share/man/man1/arm-frc-linux-gnueabi-cpp-4.9.1 diff --git a/deb/debians/gcc/g++-4.9-arm-frc-linux-gnueabi.install.in b/deb/debians/gcc/g++-4.9-arm-frc-linux-gnueabi.install.in new file mode 100644 index 0000000..9b4e3cc --- /dev/null +++ b/deb/debians/gcc/g++-4.9-arm-frc-linux-gnueabi.install.in @@ -0,0 +1,3 @@ +usr/bin/arm-frc-linux-gnueabi-g++-4.9 +usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/cc1plus +usr/share/man/man1/arm-frc-linux-gnueabi-g++-4.9.1 diff --git a/deb/debians/gcc/gcc-4.9-arm-frc-linux-gnueabi.install.in b/deb/debians/gcc/gcc-4.9-arm-frc-linux-gnueabi.install.in new file mode 100644 index 0000000..d2d9dd3 --- /dev/null +++ b/deb/debians/gcc/gcc-4.9-arm-frc-linux-gnueabi.install.in @@ -0,0 +1,10 @@ +usr/bin/arm-frc-linux-gnueabi-gcc-4.9 +usr/bin/arm-frc-linux-gnueabi-gcc-ar-4.9 +usr/bin/arm-frc-linux-gnueabi-gcc-nm-4.9 +usr/bin/arm-frc-linux-gnueabi-gcc-ranlib-4.9 +usr/bin/arm-frc-linux-gnueabi-gcov-4.9 +usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/collect2 +usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/lto1 +usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/lto-wrapper +usr/share/man/man1/arm-frc-linux-gnueabi-gcc-4.9.1 +usr/share/man/man1/arm-frc-linux-gnueabi-gcov-4.9.1 diff --git a/deb/debians/gcc/gcc-4.9-arm-frc-linux-gnueabi.lintian-overrides b/deb/debians/gcc/gcc-4.9-arm-frc-linux-gnueabi.lintian-overrides new file mode 100644 index 0000000..36277a2 --- /dev/null +++ b/deb/debians/gcc/gcc-4.9-arm-frc-linux-gnueabi.lintian-overrides @@ -0,0 +1,3 @@ +gcc-4.9-arm-frc-linux-gnueabi: binary-without-manpage usr/bin/arm-frc-linux-gnueabi-gcc-ar-4.9 +gcc-4.9-arm-frc-linux-gnueabi: binary-without-manpage usr/bin/arm-frc-linux-gnueabi-gcc-nm-4.9 +gcc-4.9-arm-frc-linux-gnueabi: binary-without-manpage usr/bin/arm-frc-linux-gnueabi-gcc-ranlib-4.9 diff --git a/deb/debians/gcc/libgcc-4.9-dev-frc-armel-cross.install.in b/deb/debians/gcc/libgcc-4.9-dev-frc-armel-cross.install.in new file mode 100644 index 0000000..c834454 --- /dev/null +++ b/deb/debians/gcc/libgcc-4.9-dev-frc-armel-cross.install.in @@ -0,0 +1,20 @@ +usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/crtbegin.o +usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/crtbeginS.o +usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/crtbeginT.o +usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/crtend.o +usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/crtendS.o +usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/libgcc.a +usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/libgcc_eh.a +usr/lib/DEB_BUILD_GNU_TYPE/gcc/arm-frc-linux-gnueabi/4.9.3/libgcov.a +usr/arm-frc-linux-gnueabi/lib/libasan.a +usr/arm-frc-linux-gnueabi/lib/libatomic.a +usr/arm-frc-linux-gnueabi/lib/libasan_preinit.o +usr/arm-frc-linux-gnueabi/lib/libgomp.a +usr/arm-frc-linux-gnueabi/lib/libgomp.spec +usr/arm-frc-linux-gnueabi/lib/libitm.a +usr/arm-frc-linux-gnueabi/lib/libitm.spec +usr/arm-frc-linux-gnueabi/lib/libsanitizer.spec +usr/arm-frc-linux-gnueabi/lib/libssp.a +usr/arm-frc-linux-gnueabi/lib/libubsan.a +usr/arm-frc-linux-gnueabi/lib/libssp_nonshared.a + diff --git a/deb/debians/gcc/libgcc-4.9-dev-frc-armel-cross.lintian-overrides b/deb/debians/gcc/libgcc-4.9-dev-frc-armel-cross.lintian-overrides new file mode 100644 index 0000000..9d32c22 --- /dev/null +++ b/deb/debians/gcc/libgcc-4.9-dev-frc-armel-cross.lintian-overrides @@ -0,0 +1,2 @@ +libgcc-4.9-dev-frc-armel-cross: binary-from-other-architecture +libgcc-4.9-dev-frc-armel-cross: non-standard-dir-in-usr usr/arm-frc-linux-gnueabi/ diff --git a/deb/debians/gcc/libgcc1-frc-armel-cross.install b/deb/debians/gcc/libgcc1-frc-armel-cross.install new file mode 100644 index 0000000..f52c958 --- /dev/null +++ b/deb/debians/gcc/libgcc1-frc-armel-cross.install @@ -0,0 +1,8 @@ +usr/arm-frc-linux-gnueabi/lib/libgcc_s.so +usr/arm-frc-linux-gnueabi/lib/libgcc_s.so.1 + +usr/arm-frc-linux-gnueabi/lib/libasan.so.1.0.0 +usr/arm-frc-linux-gnueabi/lib/libatomic.so.1.1.0 +usr/arm-frc-linux-gnueabi/lib/libitm.so.1.0.0 +usr/arm-frc-linux-gnueabi/lib/libssp.so.0.0.0 +usr/arm-frc-linux-gnueabi/lib/libubsan.so.0.0.0 diff --git a/deb/debians/gcc/libgcc1-frc-armel-cross.lintian-overrides b/deb/debians/gcc/libgcc1-frc-armel-cross.lintian-overrides new file mode 100644 index 0000000..6b86a48 --- /dev/null +++ b/deb/debians/gcc/libgcc1-frc-armel-cross.lintian-overrides @@ -0,0 +1,2 @@ +libgcc1-frc-armel-cross: non-standard-dir-in-usr usr/arm-frc-linux-gnueabi/ +libgcc1-frc-armel-cross: arch-independent-package-contains-binary-or-object diff --git a/deb/debians/gcc/libgomp1-frc-armel-cross.install b/deb/debians/gcc/libgomp1-frc-armel-cross.install new file mode 100644 index 0000000..2e9fcb3 --- /dev/null +++ b/deb/debians/gcc/libgomp1-frc-armel-cross.install @@ -0,0 +1,4 @@ +usr/arm-frc-linux-gnueabi/lib/libgomp.so +usr/arm-frc-linux-gnueabi/lib/libgomp.so.1 +usr/arm-frc-linux-gnueabi/lib/libgomp.so.1.0.0 + diff --git a/deb/debians/gcc/libgomp1-frc-armel-cross.lintian-overrides b/deb/debians/gcc/libgomp1-frc-armel-cross.lintian-overrides new file mode 100644 index 0000000..494bbc1 --- /dev/null +++ b/deb/debians/gcc/libgomp1-frc-armel-cross.lintian-overrides @@ -0,0 +1,3 @@ +libgomp1-frc-armel-cross: arch-independent-package-contains-binary-or-object usr/arm-frc-linux-gnueabi/lib/libgomp.so.1.0.0 +libgomp1-frc-armel-cross: missing-dependency-on-libc needed by usr/arm-frc-linux-gnueabi/lib/libgomp.so.1.0.0 +libgomp1-frc-armel-cross: non-standard-dir-in-usr usr/arm-frc-linux-gnueabi/ diff --git a/deb/debians/gcc/libstdc++6-dev-frc-armel-cross.install b/deb/debians/gcc/libstdc++6-dev-frc-armel-cross.install new file mode 100644 index 0000000..f8e2031 --- /dev/null +++ b/deb/debians/gcc/libstdc++6-dev-frc-armel-cross.install @@ -0,0 +1,5 @@ +usr/arm-frc-linux-gnueabi/include/c++/4.9.3/ +usr/arm-frc-linux-gnueabi/lib/libstdc++.a +usr/arm-frc-linux-gnueabi/lib/libstdc++.so +usr/arm-frc-linux-gnueabi/lib/libsupc++.a + diff --git a/deb/debians/gcc/libstdc++6-dev-frc-armel-cross.lintian-overrides b/deb/debians/gcc/libstdc++6-dev-frc-armel-cross.lintian-overrides new file mode 100644 index 0000000..b799c22 --- /dev/null +++ b/deb/debians/gcc/libstdc++6-dev-frc-armel-cross.lintian-overrides @@ -0,0 +1,2 @@ +libstdc++6-dev-frc-armel-cross: arch-independent-package-contains-binary-or-object +libstdc++6-dev-frc-armel-cross: non-standard-dir-in-usr usr/arm-frc-linux-gnueabi/ diff --git a/deb/debians/gcc/libstdc++6-frc-armel-cross.install b/deb/debians/gcc/libstdc++6-frc-armel-cross.install new file mode 100644 index 0000000..ff57560 --- /dev/null +++ b/deb/debians/gcc/libstdc++6-frc-armel-cross.install @@ -0,0 +1,3 @@ +usr/arm-frc-linux-gnueabi/lib/libstdc++.so.6 +usr/arm-frc-linux-gnueabi/lib/libstdc++.so.6.0.20 + diff --git a/deb/debians/gcc/libstdc++6-frc-armel-cross.lintian-overrides b/deb/debians/gcc/libstdc++6-frc-armel-cross.lintian-overrides new file mode 100644 index 0000000..d18b51d --- /dev/null +++ b/deb/debians/gcc/libstdc++6-frc-armel-cross.lintian-overrides @@ -0,0 +1,3 @@ +libstdc++6-frc-armel-cross: arch-independent-package-contains-binary-or-object usr/arm-frc-linux-gnueabi/lib/libstdc++.so.6.0.20 +libstdc++6-frc-armel-cross: non-standard-dir-in-usr usr/arm-frc-linux-gnueabi/ + diff --git a/deb/debians/gcc/rules b/deb/debians/gcc/rules new file mode 100755 index 0000000..3ac871f --- /dev/null +++ b/deb/debians/gcc/rules @@ -0,0 +1,79 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +GCC_BUILD_DIR=${CURDIR}/../gcc-build-deb-package +USELESS_VALUE=$(shell mkdir -p ${GCC_BUILD_DIR}) +SRC_DIR=${CURDIR} + +export CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security +export CPPFLAGS=-D_FORTIFY_SOURCE=2 +export CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security +export FFLAGS=-g -O2 +export LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro +export CFLAGS_FOR_TARGET=-g -O2 --param=ssp-buffer-size=4 -Wformat -Wformat-security +# BUG: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61164 +# so we just disable it +export CPPFLAGS_FOR_TARGET= +export CXXFLAGS_FOR_TARGET=-g -O2 --param=ssp-buffer-size=4 -Wformat -Wformat-security +export FFLAGS_FOR_TARGET=-g -O2 +export LDFLAGS_FOR_TARGET=-Wl,-Bsymbolic-functions -Wl,-z,relro + +%: + dh $@ -B${GCC_BUILD_DIR} --with autotools-dev + +override_dh_auto_configure: + + dh_auto_configure -B${GCC_BUILD_DIR} -- --enable-threads=posix --target=arm-frc-linux-gnueabi --with-arch=armv7-a --with-cpu=cortex-a9 --with-float=softfp --with-fpu=vfpv3 --with-specs='%{save-temps: -fverbose-asm} %{funwind-tables|fno-unwind-tables|mabi=*|ffreestanding|nostdlib:;:-funwind-tables}' --enable-languages=c,c++ --enable-shared --enable-lto --disable-nls --with-pkgversion='GCC for FRC' --with-cloog --disable-multilib --disable-multiarch --prefix=/usr --with-sysroot=/usr/arm-frc-linux-gnueabi --enable-poison-system-directories --enable-plugin --with-system-zlib --disable-libmudflap --with-build-sysroot=/usr/arm-frc-linux-gnueabi --program-suffix=-4.9 --program-prefix=arm-frc-linux-gnueabi- + +override_dh_shlibdeps: + LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/arm-frc-linux-gnueabi/lib dh_shlibdeps -- --ignore-missing-info + #all the post files are silly and don't apply to us + rm -rf debian/*post* + +override_dh_auto_build: + mkdir -p ${GCC_BUILD_DIR}/arm-frc-linux-gnueabi/libatomic/.deps + dh_auto_build -B${GCC_BUILD_DIR} -- -j3 + +override_dh_auto_install: + cd ${GCC_BUILD_DIR} && make -j1 install DESTDIR=${SRC_DIR}/debian/tmp AM_UPDATE_INFO_DIR=no + sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'` + mkdir -p ${SRC_DIR}/debian/gcc-4.9-arm-frc-linux-gnueabi-base/usr/lib/${DEB_BUILD_MULTIARCH}/gcc/arm-frc-linux-gnueabi/4.9/ + cd ${SRC_DIR}/debian/gcc-4.9-arm-frc-linux-gnueabi-base/usr/lib/${DEB_BUILD_MULTIARCH}/gcc/arm-frc-linux-gnueabi/ && ln -s 4.9/ 4.9.3 + sed s/DEB_BUILD_GNU_TYPE/${DEB_BUILD_MULTIARCH}/ < debian/libgcc-4.9-dev-frc-armel-cross.install.in > debian/libgcc-4.9-dev-frc-armel-cross.install + sed s/DEB_BUILD_GNU_TYPE/${DEB_BUILD_MULTIARCH}/ < debian/gcc-4.9-arm-frc-linux-gnueabi.install.in > debian/gcc-4.9-arm-frc-linux-gnueabi.install + sed s/DEB_BUILD_GNU_TYPE/${DEB_BUILD_MULTIARCH}/ < debian/g++-4.9-arm-frc-linux-gnueabi.install.in > debian/g++-4.9-arm-frc-linux-gnueabi.install + sed s/DEB_BUILD_GNU_TYPE/${DEB_BUILD_MULTIARCH}/ < debian/cpp-4.9-arm-frc-linux-gnueabi.install.in > debian/cpp-4.9-arm-frc-linux-gnueabi.install + cd ${SRC_DIR}/debian/tmp && find usr/lib/${DEB_BUILD_MULTIARCH}/gcc/arm-frc-linux-gnueabi/4.9.3/include >> ${SRC_DIR}/debian/libgcc-4.9-dev-frc-armel-cross.install + cd ${SRC_DIR}/debian/tmp && find usr/lib/${DEB_BUILD_MULTIARCH}/gcc/arm-frc-linux-gnueabi/4.9.3/include-fixed >> ${SRC_DIR}/debian/libgcc-4.9-dev-frc-armel-cross.install + + +override_dh_strip: + DEB_HOST_GNU_TYPE=arm-frc-linux-gnueabi dh_strip -O-B${GCC_BUILD_DIR} -X liblto_plugin.so.0.0.0 -X cc1 -X lto -X collect2 -X arm-frc-linux-gnueabi- -X fixincl -X gengtype + dh_strip -O-B${GCC_BUILD_DIR} -X usr/arm-frc-linux-gnueabi/lib -X libgcov.a -X libgcc.a -X libgcc_eh.a + [ -d debian/libgcc1-frc-armel-cross ] && arm-frc-linux-gnueabi-strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/libgcc1-frc-armel-cross/usr/arm-frc-linux-gnueabi/lib/lib*.so.* || true + rm -rf ${SRC_DIR}/debian/*/usr/share/man/man7 + rm -rf ${SRC_DIR}/debian/*/usr/share/info + # this should probbably go into a better override + echo 'binutils:Version=2.25.1' >> debian/gcc-4.9-arm-frc-linux-gnueabi.substvars + echo 'gcc:SoftVersion=4.9' >> debian/gcc-4.9-arm-frc-linux-gnueabi.substvars + echo 'gcc:SoftVersion=4.9' >> debian/g++-4.9-arm-frc-linux-gnueabi.substvars + echo 'gcc:SoftVersion=4.9' >> debian/cpp-4.9-arm-frc-linux-gnueabi.substvars + + +override_dh_auto_test: + diff --git a/deb/debians/gcc/source/format b/deb/debians/gcc/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/deb/debians/gcc/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/deb/debians/gdb/changelog b/deb/debians/gdb/changelog new file mode 100644 index 0000000..f9786e8 --- /dev/null +++ b/deb/debians/gdb/changelog @@ -0,0 +1,17 @@ +gdb-frc-armel-cross (7.10-1) stable; urgency=medium + + * Update to 7.10 from upstream + + -- WPILib Developers Sun, 13 Sep 2015 14:16:57 -0400 + +gdb-frc-armel-cross (7.8-1frc2) trusty; urgency=low + + * Re-enabling python and fixing system paths + + -- Patrick Plenefisch Fri, 12 Sep 2014 21:53:19 -0400 + +gdb-frc-armel-cross (7.8-1) trusty; urgency=low + + * Initial release + + -- Patrick Plenefisch Sun, 31 Aug 2014 18:00:02 -0400 diff --git a/deb/debians/gdb/compat b/deb/debians/gdb/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/deb/debians/gdb/compat @@ -0,0 +1 @@ +9 diff --git a/deb/debians/gdb/control b/deb/debians/gdb/control new file mode 100644 index 0000000..51cb795 --- /dev/null +++ b/deb/debians/gdb/control @@ -0,0 +1,19 @@ +Source: gdb-frc-armel-cross +Section: devel +Priority: optional +Maintainer: WPILib Developers +Build-Depends: debhelper (>= 9.0.0), autotools-dev, bison, flex, gettext, texinfo, dejagnu, quilt, file, xz-utils, lsb-release, libexpat1-dev, libncurses5-dev, libreadline-dev, zlib1g-dev, libbz2-dev, liblzma-dev, chrpath, libcloog-isl-dev (>= 0.17.0) +Standards-Version: 3.9.6 +Homepage: https://www.gnu.org/software/gdb/ + +Package: gdb-arm-frc-linux-gnueabi +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, gdb +Recommends: gcc-arm-frc-linux-gnueabi +Description: GNU Debugger (Cross-debugger for arm-frc-linux-gnueabi) + GDB is a source-level debugger, capable of breaking programs at + any specific line, displaying variable values, and determining + where errors occurred. Currently, gdb supports C, C++, D, + Objective-C, Fortran, Java, OpenCL C, Pascal, assembly, Modula-2, + Go, and Ada. A must-have for any serious programmer. This is a + cross debugger for arm-frc-linux-gnueabi targets. diff --git a/deb/debians/gdb/copyright b/deb/debians/gdb/copyright new file mode 100644 index 0000000..707438d --- /dev/null +++ b/deb/debians/gdb/copyright @@ -0,0 +1,41 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: gdb +Source: ftp://ftp.gnu.org/pub/gnu/gdb/ + +Files: * +Copyright: 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +License: GPL-3+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. + +Files: debian/* +Copyright: 2015 WPILib Developers +License: GPL-3+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + diff --git a/deb/debians/gdb/gdb-arm-frc-linux-gnueabi.lintian-overrides b/deb/debians/gdb/gdb-arm-frc-linux-gnueabi.lintian-overrides new file mode 100644 index 0000000..e1b11c4 --- /dev/null +++ b/deb/debians/gdb/gdb-arm-frc-linux-gnueabi.lintian-overrides @@ -0,0 +1 @@ +gdb-arm-frc-linux-gnueabi: binary-without-manpage diff --git a/deb/debians/gdb/gdbinit b/deb/debians/gdb/gdbinit new file mode 100644 index 0000000..b3b0bc5 --- /dev/null +++ b/deb/debians/gdb/gdbinit @@ -0,0 +1,4 @@ +python +import os +gdb.execute('set solib-search-path ' + os.environ['HOME'] + '/wpilib/cpp/current/lib/') +end diff --git a/deb/debians/gdb/rules b/deb/debians/gdb/rules new file mode 100755 index 0000000..aa4a332 --- /dev/null +++ b/deb/debians/gdb/rules @@ -0,0 +1,30 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +%: + dh $@ --with autotools-dev + +override_dh_auto_configure: + dh_auto_configure -- --target=arm-frc-linux-gnueabi --prefix=/usr --with-pkgversion='GDB for FRC' --disable-nls --with-libexpat --datadir=/usr/share/frc --with-system-gdbinit=/usr/share/frc/gdb/gdbinit --with-sysroot=/usr/arm-frc-linux-gnueabi/ --enable-lto + +override_dh_auto_build: + dh_auto_build -- -j3 + +override_dh_installinfo: + rm -rf debian/gdb-arm-frc-linux-gnueabi/usr/share/info + rm -rf debian/gdb-arm-frc-linux-gnueabi/usr/share/man + rm -rf debian/gdb-arm-frc-linux-gnueabi/usr/include + # this is probbably not the right dh for this, but it works as its after install + chrpath -d debian/gdb-arm-frc-linux-gnueabi/usr/bin/arm-frc-linux-gnueabi-gdb + mkdir -p debian/gdb-arm-frc-linux-gnueabi/usr/share/frc/gdb/ + cp debian/gdbinit debian/gdb-arm-frc-linux-gnueabi/usr/share/frc/gdb/gdbinit + +override_dh_auto_test: + + diff --git a/deb/debians/gdb/source/format b/deb/debians/gdb/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/deb/debians/gdb/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/deb/debians/libc/changelog b/deb/debians/libc/changelog new file mode 100644 index 0000000..7a66d7f --- /dev/null +++ b/deb/debians/libc/changelog @@ -0,0 +1,17 @@ +libc6-frc-armel-cross (2.20-r0.62-1) stable; urgency=low + + * Updating to libc 2.20-r0.62 for 2016 image + + -- WPILib Developers Fri, 11 Sept 2015 15:49:12 -0400 + +libc6-frc-armel-cross (2.17-r4-0build0) stable; urgency=low + + * Splitting out libc 2.17-r4 into multiple packages + + -- Patrick Plenefisch Wed, 10 Sept 2014 15:49:12 -0400 + +roborio-sysroot (1.0-1) stable; urgency=low + + * Initial release with 2.17-r4 and 3.2.35-rt52 + + -- Patrick Plenefisch Thu, 22 May 2014 13:52:08 -0400 diff --git a/deb/debians/libc/compat b/deb/debians/libc/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/deb/debians/libc/compat @@ -0,0 +1 @@ +9 diff --git a/deb/debians/libc/control b/deb/debians/libc/control new file mode 100644 index 0000000..d70ff8c --- /dev/null +++ b/deb/debians/libc/control @@ -0,0 +1,34 @@ +Source: libc6-frc-armel-cross +Maintainer: WPILib Developers +Section: devel +Priority: extra +Standards-Version: 3.9.6 +Build-Depends: debhelper (>= 9) + +Package: libc6-frc-armel-cross +Architecture: all +Depends: ${misc:Depends} +Recommends: roborio-sysroot (>= 1.1) +Conflicts: roborio-sysroot (<< 1.1) +Replaces: roborio-sysroot (<< 1.1) +Description: Embedded GNU C Library: Shared libraries (for cross-compiling) + Contains the standard libraries that are used by nearly all programs on + the system. This package includes shared versions of the standard C library + and the standard math library, as well as many others. + . + This package contains files for frc-armel architecture, for use in + cross-compile environments. + +Package: libc6-dev-frc-armel-cross +Architecture: all +Depends: libc6-frc-armel-cross (= ${binary:Version}), linux-libc-dev-frc-armel-cross, ${misc:Depends} +Recommends: roborio-sysroot (>= 1.1) +Conflicts: roborio-sysroot (<< 1.1) +Replaces: roborio-sysroot (<< 1.1) +Description: Embedded GNU C Library: Dev Libs and Header Files (for FRC) + Contains the symlinks, headers, and object files needed to compile + and link programs which use the standard C library. + . + This package contains files for frc-armel architecture, for use in + cross-compile environments. + diff --git a/deb/debians/libc/copyright b/deb/debians/libc/copyright new file mode 100644 index 0000000..b31140f --- /dev/null +++ b/deb/debians/libc/copyright @@ -0,0 +1,25 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 +Name: roborio-sysroot +Maintainer: WPILib Developers + +Files: debian/* +Copyright: Copyright 2015 WPILib Developers +License: GPL-2+ + License: GPL-2+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. diff --git a/deb/debians/libc/libc6-dev-frc-armel-cross.lintian-overrides b/deb/debians/libc/libc6-dev-frc-armel-cross.lintian-overrides new file mode 100644 index 0000000..6b85753 --- /dev/null +++ b/deb/debians/libc/libc6-dev-frc-armel-cross.lintian-overrides @@ -0,0 +1,2 @@ +libc6-dev-frc-armel-cross: arch-independent-package-contains-binary-or-object +libc6-dev-frc-armel-cross: non-standard-dir-in-usr usr/arm-frc-linux-gnueabi/ diff --git a/deb/debians/libc/libc6-frc-armel-cross.lintian-overrides b/deb/debians/libc/libc6-frc-armel-cross.lintian-overrides new file mode 100644 index 0000000..6262461 --- /dev/null +++ b/deb/debians/libc/libc6-frc-armel-cross.lintian-overrides @@ -0,0 +1,5 @@ +libc6-frc-armel-cross: arch-independent-package-contains-binary-or-object +libc6-frc-armel-cross: shared-lib-without-dependency-information usr/arm-frc-linux-gnueabi/lib/ld-2.20.so +libc6-frc-armel-cross: embedded-library usr/arm-frc-linux-gnueabi/lib/libm-2.20.so: libm +libc6-frc-armel-cross: missing-depends-line +libc6-frc-armel-cross: non-standard-dir-in-usr usr/arm-frc-linux-gnueabi/ diff --git a/deb/debians/libc/patches/makefile b/deb/debians/libc/patches/makefile new file mode 100644 index 0000000..e50a818 --- /dev/null +++ b/deb/debians/libc/patches/makefile @@ -0,0 +1,22 @@ +Description: Makefile + add makefile + . + roborio-sysroot (1.0-1) UNRELEASED; urgency=low + . + * Initial release with 2.17-r4 and 3.2.35-rt52 +Author: Patrick Plenefisch + +--- + +--- /dev/null ++++ roborio-sysroot-1.0/Makefile +@@ -0,0 +1,8 @@ ++all: ++clean: ++# all and clean targets need to be present for DESTDIR to work... ++install: ++ mkdir -p debian/libc6-frc-armel-cross/${PREFIX} ++ mkdir -p debian/libc6-dev-frc-armel-cross/${PREFIX} ++ cp libc6/* debian/libc6-frc-armel-cross/${PREFIX} -r ++ cp libc6-dev/* debian/libc6-dev-frc-armel-cross/${PREFIX} -r ++ diff --git a/deb/debians/libc/patches/series b/deb/debians/libc/patches/series new file mode 100644 index 0000000..f0be4dd --- /dev/null +++ b/deb/debians/libc/patches/series @@ -0,0 +1 @@ +makefile diff --git a/deb/debians/libc/rules b/deb/debians/libc/rules new file mode 100755 index 0000000..022ff73 --- /dev/null +++ b/deb/debians/libc/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +export PREFIX=/usr/arm-frc-linux-gnueabi +%: + dh $@ + diff --git a/deb/debians/libc/source.lintian-overrides b/deb/debians/libc/source.lintian-overrides new file mode 100644 index 0000000..87162c5 --- /dev/null +++ b/deb/debians/libc/source.lintian-overrides @@ -0,0 +1 @@ +libc6-frc-armel-cross source: source-is-missing diff --git a/deb/debians/libc/source/format b/deb/debians/libc/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/deb/debians/libc/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/deb/debians/linux-libc/changelog b/deb/debians/linux-libc/changelog new file mode 100644 index 0000000..b6ad130 --- /dev/null +++ b/deb/debians/linux-libc/changelog @@ -0,0 +1,17 @@ +linux-libc-dev-frc-armel-cross (3.16-r0.46-1) stable; urgency=low + + * Updating to linux headers 3.16-r0.46 for 2016 image + + -- WPILib Developers Fri, 11 Sept 2015 15:49:12 -0400 + +linux-libc-dev-frc-armel-cross (3.8-r0-0build0) stable; urgency=low + + * Splitting out linux headers 3.8-r0 into multiple packages + + -- Patrick Plenefisch Wed, 10 Sept 2014 16:59:21 -0400 + +roborio-sysroot (1.0-1) stable; urgency=low + + * Initial release with 2.17-r4 and 3.2.35-rt52 + + -- Patrick Plenefisch Thu, 22 May 2014 13:52:08 -0400 diff --git a/deb/debians/linux-libc/compat b/deb/debians/linux-libc/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/deb/debians/linux-libc/compat @@ -0,0 +1 @@ +9 diff --git a/deb/debians/linux-libc/control b/deb/debians/linux-libc/control new file mode 100644 index 0000000..7372db8 --- /dev/null +++ b/deb/debians/linux-libc/control @@ -0,0 +1,23 @@ +Source: linux-libc-dev-frc-armel-cross +Maintainer: WPILib Developers +Section: devel +Priority: extra +Standards-Version: 3.9.6 +Build-Depends: debhelper (>= 9) + +Package: linux-libc-dev-frc-armel-cross +Architecture: all +Depends: ${misc:Depends} +Recommends: roborio-sysroot (>= 1.1) +Suggests: g++-arm-frc-linux-gnueabi +Conflicts: roborio-sysroot (<< 1.1) +Replaces: roborio-sysroot (<< 1.1) +Description: Linux Kernel Headers for development (for cross-compiling) + This package provides headers from the Linux kernel. These headers + are used by the installed headers for GNU glibc and other system + libraries. They are NOT meant to be used to build third-party modules for + your kernel. + . + This package contains files for frc-armel architecture, for use in + cross-compile environments. + diff --git a/deb/debians/linux-libc/copyright b/deb/debians/linux-libc/copyright new file mode 100644 index 0000000..b31140f --- /dev/null +++ b/deb/debians/linux-libc/copyright @@ -0,0 +1,25 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 +Name: roborio-sysroot +Maintainer: WPILib Developers + +Files: debian/* +Copyright: Copyright 2015 WPILib Developers +License: GPL-2+ + License: GPL-2+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. diff --git a/deb/debians/linux-libc/linux-libc-dev-frc-armel-cross.lintian-overrides b/deb/debians/linux-libc/linux-libc-dev-frc-armel-cross.lintian-overrides new file mode 100644 index 0000000..5065f7f --- /dev/null +++ b/deb/debians/linux-libc/linux-libc-dev-frc-armel-cross.lintian-overrides @@ -0,0 +1 @@ +linux-libc-dev-frc-armel-cross: non-standard-dir-in-usr usr/arm-frc-linux-gnueabi/ diff --git a/deb/debians/linux-libc/patches/makefile b/deb/debians/linux-libc/patches/makefile new file mode 100644 index 0000000..b949227 --- /dev/null +++ b/deb/debians/linux-libc/patches/makefile @@ -0,0 +1,20 @@ +Description: Makefile + add makefile + . + roborio-sysroot (1.0-1) UNRELEASED; urgency=low + . + * Initial release with 2.17-r4 and 3.2.35-rt52 +Author: Patrick Plenefisch + +--- + +--- /dev/null ++++ roborio-sysroot-1.0/Makefile +@@ -0,0 +1,7 @@ ++all: ++clean: ++# all and clean targets need to be present for DESTDIR to work... ++install: ++ mkdir -p ${DESTDIR}${PREFIX} ++ cp usr ${DESTDIR}${PREFIX} -r ++ diff --git a/deb/debians/linux-libc/patches/series b/deb/debians/linux-libc/patches/series new file mode 100644 index 0000000..f0be4dd --- /dev/null +++ b/deb/debians/linux-libc/patches/series @@ -0,0 +1 @@ +makefile diff --git a/deb/debians/linux-libc/rules b/deb/debians/linux-libc/rules new file mode 100755 index 0000000..022ff73 --- /dev/null +++ b/deb/debians/linux-libc/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +export PREFIX=/usr/arm-frc-linux-gnueabi +%: + dh $@ + diff --git a/deb/debians/linux-libc/source/format b/deb/debians/linux-libc/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/deb/debians/linux-libc/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/deb/debians/sysroot/changelog b/deb/debians/sysroot/changelog new file mode 100644 index 0000000..bf6b5ba --- /dev/null +++ b/deb/debians/sysroot/changelog @@ -0,0 +1,18 @@ +roborio-sysroot (1.2) stable; urgency=medium + + * Update to 2016 image dependencies + + -- WPILib Developers Sun, 13 Sep 2015 14:03:45 -0400 + +roborio-sysroot (1.1) stable; urgency=low + + * Making into empty transitional package + + -- Patrick Plenefisch Wed, 10 Sept 2014 18:05:51 -0400 + +roborio-sysroot (1.0-1) stable; urgency=low + + * Initial release with 2.17-r4 and 3.2.35-rt52 + + -- Patrick Plenefisch Thu, 22 May 2014 13:52:08 -0400 + diff --git a/deb/debians/sysroot/compat b/deb/debians/sysroot/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/deb/debians/sysroot/compat @@ -0,0 +1 @@ +9 diff --git a/deb/debians/sysroot/control b/deb/debians/sysroot/control new file mode 100644 index 0000000..02f47eb --- /dev/null +++ b/deb/debians/sysroot/control @@ -0,0 +1,17 @@ +Source: roborio-sysroot +Maintainer: WPILib Developers +Section: devel +Priority: extra +Standards-Version: 3.9.6 +Build-Depends: debhelper (>= 9) + +Package: roborio-sysroot +Architecture: all +Depends: libc6-dev-frc-armel-cross (>= 2.20-r0.62), libc6-frc-armel-cross (>= 2.20-r0.62), linux-libc-dev-frc-armel-cross (>= 3.16-r0.46), ${misc:Depends} +Conflicts: roborio-sysroot (<< 1.1) +Replaces: roborio-sysroot (<< 1.1) +Description: System Root for RoboRIO targets (metapackage) + This package contains the headers and library files necessary for + building linux programs. This is a metapackage that will always depend + on the latest RoboRIO system root for FRC. + diff --git a/deb/debians/sysroot/copyright b/deb/debians/sysroot/copyright new file mode 100644 index 0000000..b31140f --- /dev/null +++ b/deb/debians/sysroot/copyright @@ -0,0 +1,25 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 +Name: roborio-sysroot +Maintainer: WPILib Developers + +Files: debian/* +Copyright: Copyright 2015 WPILib Developers +License: GPL-2+ + License: GPL-2+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. diff --git a/deb/debians/sysroot/rules b/deb/debians/sysroot/rules new file mode 100755 index 0000000..022ff73 --- /dev/null +++ b/deb/debians/sysroot/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +export PREFIX=/usr/arm-frc-linux-gnueabi +%: + dh $@ + diff --git a/deb/debians/sysroot/source/format b/deb/debians/sysroot/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/deb/debians/sysroot/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/download.sh b/download.sh new file mode 100755 index 0000000..dd035b5 --- /dev/null +++ b/download.sh @@ -0,0 +1,85 @@ +#!/bin/zsh +source versions.sh +THIS_DIR="$PWD" + +if [[ `gcc -dumpmachine` == *apple* ]] +then + echo "Aliasing ar and tar to use GNU variants gar and gtar..." + alias ar=gar + alias tar=gtar +fi + +# clean up old files +rm -rf repack + +wget -nc https://ftp.gnu.org/gnu/gcc/gcc-${V_GCC}/gcc-${V_GCC}.tar.bz2 +wget -nc https://ftp.gnu.org/gnu/binutils/binutils-${V_BIN}.tar.bz2 +wget -nc https://ftp.gnu.org/gnu/mpfr/mpfr-${V_MPFR}.tar.bz2 +wget -nc https://ftp.gnu.org/gnu/mpc/mpc-${V_MPC}.tar.gz +wget -nc https://ftp.gnu.org/gnu/gmp/gmp-${V_GMP}.tar.bz2 +wget -nc http://www.bastoul.net/cloog/pages/download/cloog-${V_CLOOG}.tar.gz +wget -nc http://isl.gforge.inria.fr/isl-${V_ISL}.tar.bz2 +wget -nc https://ftp.gnu.org/gnu/gdb/gdb-${V_GDB}.tar.gz +wget -nc http://iweb.dl.sourceforge.net/project/expat/expat/${Vw_EXPAT}/expat-${Vw_EXPAT}.tar.gz +wget -nc http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/cortexa9-vfpv3/libc6_${Va_LIBC}_cortexa9-vfpv3.ipk +wget -nc http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/cortexa9-vfpv3/libc6-dev_${Va_LIBC}_cortexa9-vfpv3.ipk +wget -nc http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/cortexa9-vfpv3/linux-libc-headers-dev_${Va_LINUX}_cortexa9-vfpv3.ipk +wget -nc http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/cortexa9-vfpv3/libcidn1_${Va_LIBC}_cortexa9-vfpv3.ipk +wget -nc http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/cortexa9-vfpv3/libc6-thread-db_${Va_LIBC}_cortexa9-vfpv3.ipk +wget -nc http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/cortexa9-vfpv3/libc6-extra-nss_${Va_LIBC}_cortexa9-vfpv3.ipk + +mkdir -p repack/{libc6,libc6-dev,linux-libc-headers-dev}/out +mv linux-libc-headers-dev_${Va_LINUX}_cortexa9-vfpv3.ipk repack/linux-libc-headers-dev/ +mv libc6_${Va_LIBC}_cortexa9-vfpv3.ipk repack/libc6/ +# the rest are in dev +mv *.ipk repack/libc6-dev/ + +for dir in libc6 libc6-dev linux-libc-headers-dev; do + pushd repack/$dir + for file in *.ipk; do + ar x $file + + # don't need these + rm control.tar.gz debian-binary + pushd out + tar xf ../data.tar.gz + popd + # clean up + rm data.tar.gz + mv $file "$THIS_DIR/" + done + popd +done + +# ick... these are everywhere. remove them +find repack \( -name .install -o -name ..install.cmd \) -delete +# we don't need arm binaries... +rm repack/libc6/out/sbin/ldconfig +rm repack/libc6/out/etc/ld.so.conf +# remove all empty dirs (semi-recursive) +rm -d repack/**/*(/^F) +#rm -d repack/**/*(/^F) +#rm -d repack/**/*(/^F) + +pushd repack/linux-libc-headers-dev/ + mv out linux-libc-${Va_LINUX} + tar cjf "${THIS_DIR}/linux-libc-dev-frc-armel-cross_${Va_LINUX}.orig.tar.bz2" * --owner=0 --group=0 +popd +pushd repack/libc6/ + mkdir libc6-${Va_LIBC} + mv out libc6-${Va_LIBC}/libc6 + mv ../libc6-dev/out libc6-${Va_LIBC}/libc6-dev + tar cjf "${THIS_DIR}/libc6-frc-armel-cross_${Va_LIBC}.orig.tar.bz2" * --owner=0 --group=0 +popd + +# Make frcmake tarball +mkdir frcmake-${V_FRCMAKE} +pushd frcmake-${V_FRCMAKE} +cp ../tools/frcmake frcmake +cp ../tools/frc-cmake-toolchain frc-cmake-toolchain +cp ../tools/toolchain.cmake toolchain.cmake +cp ../tools/frcmake-nix-makefile Makefile +popd +tar cjf frcmake-${V_FRCMAKE}.tar.bz2 frcmake-${V_FRCMAKE} + + diff --git a/mac/Makefile b/mac/Makefile new file mode 100644 index 0000000..2d8e857 --- /dev/null +++ b/mac/Makefile @@ -0,0 +1,51 @@ +include ../versions.sh + +export PATH:="${PWD}/gcc-install/usr/bin:${PWD}/binutils-install/usr/bin:${PATH}" +export CC=/usr/local/bin/gcc-4.9 +export CXX=/usr/local/bin/g++-4.9 +export CPP=/usr/local/bin/cpp-4.9 +export LD=/usr/local/bin/gcc-4.9 +alias c++=/usr/local/bin/c++-4.9 +alias g++=/usr/local/bin/g++-4.9 +alias gcc=/usr/local/bin/gcc-4.9 +alias cpp=/usr/local/bin/cpp-4.9 +alias ld=/usr/local/bin/gcc-4.9 +alias cc=/usr/local/bin/gcc-4.9 + + +all: clean sysroot binutils gcc gdb tree pkg + + +sysroot: + rm -rf sysroot-* + mkdir sysroot-libc-linux + cd sysroot-libc-linux && tar xf ../../libc6-frc-armel-cross_$(Va_LIBC).orig.tar.bz2 + cd sysroot-libc-linux && tar xf ../../linux-libc-dev-frc-armel-cross_$(Va_LINUX).orig.tar.bz2 + makes/sysroot + +binutils: + tar xf ../binutils-$(V_BINUTILS).tar.bz2 + V_BINUTILS=$(V_BINUTILS) makes/binutils + echo 'export PATH=$$PATH:${PWD}/binutils-install/usr/bin' + +gdb: + tar xf ../gdb-$(V_GDB).tar.gz + V_GDB=$(V_GDB) makes/gdb + +gcc: + @# gcc does its own extraction + makes/gcc + echo "export PATH=$$PATH:${PWD}/gcc-install/usr/bin" + +tree: + V_GCC=$(V_GCC) makes/tree + +pkg: + rm -rf makes/pkg/build/ + freeze makes/pkg/FRC\ ARM\ Toolchain.packproj + cd makes/pkg/build && tar czf FRC\ ARM\ Toolchain.pkg.tar.gz FRC\ ARM\ Toolchain.pkg + cp makes/pkg/build/FRC\ ARM\ Toolchain.pkg.tar.gz . + +clean: + rm -rf binutils* roborio* sysroot* gcc* tree-install makes/pkg/build *.pkg.tar.gz + diff --git a/mac/Readme.txt b/mac/Readme.txt new file mode 100644 index 0000000..7778f6e --- /dev/null +++ b/mac/Readme.txt @@ -0,0 +1,18 @@ +# Mac requires wget & native GNU GCC 4.9 build +ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" +brew install wget binutils +brew tap homebrew/versions +brew install gcc49 gnu-tar expat +# you also need to set AR to a good ar that actually can extract ilk files (deb) +echo alias ar=gar +echo alias tar=gtar +# for packaging you need this: +curl -O http://s.sudre.free.fr/Software/files/Iceberg.dmg + +# then: +make sysroot +sudo gcp sysroot-install/usr/local/* /usr/local/ -r +make binutils +sudo gcp binutils-install/usr/local/* /usr/local/ -r + +make gcc gdb tree pkg diff --git a/mac/makes/binutils b/mac/makes/binutils new file mode 100755 index 0000000..9ba479f --- /dev/null +++ b/mac/makes/binutils @@ -0,0 +1,10 @@ +#!/bin/zsh + +mkdir binutils-build +mkdir binutils-install +cd binutils-build +../binutils-${V_BINUTILS}/configure --prefix=/usr/local --target=arm-frc-linux-gnueabi '--with-pkgversion=GNU Binutils for FRC' --enable-poison-system-directories --with-sysroot=/usr/local/arm-frc-linux-gnueabi --disable-nls --enable-lto --with-build-sysroot=/usr/local/arm-frc-linux-gnueabi --disable-werror +make -j3 +DESTDIR=$PWD/../binutils-install make install +cd ../binutils-install +#strip --remove-section=.comment --remove-section=.note --strip-unneeded **/*.exe diff --git a/mac/makes/gcc b/mac/makes/gcc new file mode 100755 index 0000000..9228593 --- /dev/null +++ b/mac/makes/gcc @@ -0,0 +1,46 @@ +#!/bin/bash +source ../versions.sh + + +export CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security" +export CPPFLAGS="-D_FORTIFY_SOURCE=2" +export CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security" +export FFLAGS=-"g -O2" +export LDFLAGS="" +export CFLAGS_FOR_TARGET="-g -O2 --param=ssp-buffer-size=4 -Wformat -Wformat-security" +# BUG: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61164 +# so we just disable it +export CPPFLAGS_FOR_TARGET="" +export CXXFLAGS_FOR_TARGET="-g -O2 --param=ssp-buffer-size=4 -Wformat -Wformat-security" +export FFLAGS_FOR_TARGET="-g -O2" +export LDFLAGS_FOR_TARGET="-Wl,-Bsymbolic-functions -Wl,-z,relro" + +echo "Extracting GCC..." +tar xf ../gcc-${V_GCC}.tar.bz2 +echo "Extracting MPFR..." +tar xf ../mpfr-${V_MPFR}.tar.bz2 +echo "Extracting MPC..." +tar xf ../mpc-${V_MPC}.tar.gz +echo "Extracting GMP..." +tar xf ../gmp-${V_GMP}.tar.bz2 +echo "Extracting CLOOG..." +tar xf ../cloog-${V_CLOOG}.tar.gz +echo "Extracting ISL..." +tar xf ../isl-${V_ISL}.tar.bz2 +echo "Extracting GDB..." +mv cloog-${V_CLOOG} gcc-${V_GCC}/cloog +mv isl-${V_ISL} gcc-${V_GCC}/isl +mv mpfr-${V_MPFR} gcc-${V_GCC}/mpfr +mv mpc-${V_MPC} gcc-${V_GCC}/mpc +mv gmp-${V_GMPf} gcc-${V_GCC}/gmp + +mkdir gcc-build +mkdir gcc-install +cd gcc-build +../gcc-${V_GCC}/configure --enable-threads=posix --target=arm-frc-linux-gnueabi --with-arch=armv7-a --with-cpu=cortex-a9 --with-float=softfp --with-fpu=vfpv3 --with-specs='%{save-temps: -fverbose-asm} %{funwind-tables|fno-unwind-tables|mabi=*|ffreestanding|nostdlib:;:-funwind-tables}' --enable-languages=c,c++ --enable-shared --enable-lto --disable-nls --with-pkgversion='GCC for FRC' --with-cloog --disable-multilib --disable-multiarch --prefix=/usr/local --with-sysroot=/usr/local/arm-frc-linux-gnueabi --enable-poison-system-directories --disable-libmudflap --with-build-sysroot=/usr/local/arm-frc-linux-gnueabi --with-system-zlib || exit $? +make -j3 || exit $? +DESTDIR=$PWD/../gcc-install make install || exit $? + +cd ../gcc-install + + diff --git a/mac/makes/gdb b/mac/makes/gdb new file mode 100755 index 0000000..4f4a1f7 --- /dev/null +++ b/mac/makes/gdb @@ -0,0 +1,11 @@ +#!/bin/zsh + +mkdir gdb-build +mkdir gdb-install +cd gdb-build +../gdb-${V_GDB}/configure --target=arm-frc-linux-gnueabi --prefix=/usr/local --with-pkgversion='GDB for FRC' --disable-nls --with-libexpat --datadir=/usr/local/share/frc --with-system-gdbinit=/usr/local/share/frc/gdb/gdbinit --with-sysroot=/usr/local/arm-frc-linux-gnueabi/ --enable-lto|| exit $? +make|| exit $? +DESTDIR=$PWD/../gdb-install make install|| exit $? +cd ../gdb-install +cp ../../deb/debians/gdb/gdbinit usr/local/share/frc/gdb/gdbinit + diff --git a/mac/makes/pkg/FRC ARM Toolchain.packproj b/mac/makes/pkg/FRC ARM Toolchain.packproj new file mode 100755 index 0000000..f949796 --- /dev/null +++ b/mac/makes/pkg/FRC ARM Toolchain.packproj @@ -0,0 +1,852 @@ + + + + + Hierarchy + + Attributes + + Documents + + Background Image + + IFPkgFlagBackgroundAlignment + 4 + IFPkgFlagBackgroundScaling + 1 + Mode + 0 + Path + + Path Type + 2 + + License + + International + + Mode + 1 + Path + ../../../windows/makes/msi-files/License.rtf + Path Type + 2 + + + ReadMe + + International + + Mode + 0 + Path + + Path Type + 1 + + + Welcome + + International + + Mode + 0 + Path + + Path Type + 1 + + + + Files + + Compress + + Hierarchy + + Children + + + Children + + + Children + + GID + 80 + Path + Utilities + Path Type + 1 + Privileges + 509 + Type + 1 + UID + 0 + + + GID + 80 + Path + Applications + Path Type + 1 + Privileges + 509 + Type + 1 + UID + 0 + + + Children + + GID + 0 + Path + bin + Path Type + 1 + Privileges + 493 + Type + 1 + UID + 0 + + + Children + + + Children + + GID + 80 + Path + Application Support + Path Type + 1 + Privileges + 509 + Type + 1 + UID + 0 + + + Children + + GID + 80 + Path + Documentation + Path Type + 1 + Privileges + 509 + Type + 1 + UID + 0 + + + Children + + GID + 80 + Path + Filesystems + Path Type + 1 + Privileges + 509 + Type + 1 + UID + 0 + + + Children + + GID + 80 + Path + Frameworks + Path Type + 1 + Privileges + 509 + Type + 1 + UID + 0 + + + Children + + GID + 80 + Path + Internet Plug-Ins + Path Type + 1 + Privileges + 509 + Type + 1 + UID + 0 + + + Children + + GID + 80 + Path + PreferencePanes + Path Type + 1 + Privileges + 509 + Type + 1 + UID + 0 + + + Children + + GID + 80 + Path + Printers + Path Type + 1 + Privileges + 509 + Type + 1 + UID + 0 + + + Children + + GID + 80 + Path + Screen Savers + Path Type + 1 + Privileges + 509 + Type + 1 + UID + 0 + + + Children + + GID + 80 + Path + Scripts + Path Type + 1 + Privileges + 509 + Type + 1 + UID + 0 + + + GID + 80 + Path + Library + Path Type + 1 + Privileges + 1021 + Type + 1 + UID + 0 + + + Children + + + Children + + GID + 0 + Path + etc + Path Type + 1 + Privileges + 493 + Type + 1 + UID + 0 + + + Children + + GID + 0 + Path + var + Path Type + 1 + Privileges + 493 + Type + 1 + UID + 0 + + + GID + 0 + Path + private + Path Type + 1 + Privileges + 493 + Type + 1 + UID + 0 + + + Children + + GID + 0 + Path + sbin + Path Type + 1 + Privileges + 493 + Type + 1 + UID + 0 + + + Children + + + Children + + + Children + + GID + 0 + Path + Extensions + Path Type + 1 + Privileges + 493 + Type + 1 + UID + 0 + + + GID + 0 + Path + Library + Path Type + 1 + Privileges + 493 + Type + 1 + UID + 0 + + + GID + 0 + Path + System + Path Type + 1 + Privileges + 493 + Type + 1 + UID + 0 + + + Children + + + Children + + GID + 0 + Path + bin + Path Type + 1 + Privileges + 493 + Type + 1 + UID + 0 + + + Children + + GID + 0 + Path + include + Path Type + 1 + Privileges + 493 + Type + 1 + UID + 0 + + + Children + + GID + 0 + Path + lib + Path Type + 1 + Privileges + 493 + Type + 1 + UID + 0 + + + Children + + GID + 0 + Path + libexec + Path Type + 1 + Privileges + 493 + Type + 1 + UID + 0 + + + Children + + + Children + + GID + 0 + Path + ../../tree-install/usr/local/arm-frc-linux-gnueabi + Path Type + 2 + Privileges + 493 + Type + 3 + UID + 0 + + + Children + + GID + 0 + Path + ../../tree-install/usr/local/bin + Path Type + 2 + Privileges + 493 + Type + 3 + UID + 0 + + + Children + + GID + 0 + Path + ../../tree-install/usr/local/include + Path Type + 2 + Privileges + 493 + Type + 3 + UID + 0 + + + Children + + GID + 0 + Path + ../../tree-install/usr/local/lib + Path Type + 2 + Privileges + 493 + Type + 3 + UID + 0 + + + Children + + GID + 0 + Path + ../../tree-install/usr/local/libexec + Path Type + 2 + Privileges + 493 + Type + 3 + UID + 0 + + + Children + + GID + 0 + Path + ../../tree-install/usr/local/share + Path Type + 2 + Privileges + 493 + Type + 3 + UID + 0 + + + GID + 0 + Path + local + Path Type + 1 + Privileges + 493 + Type + 1 + UID + 0 + + + Children + + GID + 0 + Path + sbin + Path Type + 1 + Privileges + 493 + Type + 1 + UID + 0 + + + Children + + GID + 0 + Path + share + Path Type + 1 + Privileges + 493 + Type + 1 + UID + 0 + + + Children + + GID + 0 + Path + standalone + Path Type + 1 + Privileges + 493 + Type + 1 + UID + 0 + + + GID + 0 + Path + usr + Path Type + 1 + Privileges + 493 + Type + 1 + UID + 0 + + + GID + 80 + Path + / + Path Type + 1 + Privileges + 1021 + Type + 1 + UID + 0 + + IFPkgFlagDefaultLocation + / + Imported Package + + Package Path + + Split Forks + + + Plugins + + PluginsList + + + Path + Introduction + Type + 0 + + + Path + ReadMe + Type + 0 + + + Path + License + Type + 0 + + + Path + Target + Type + 0 + + + Path + PackageSelection + Type + 0 + + + Path + Install + Type + 0 + + + Path + FinishUp + Type + 0 + + + + Scripts + + Additional Resources + + International + + + Installation Scripts + + IFInstallationScriptsPostflight + + Path + + Status + + + IFInstallationScriptsPostinstall + + Path + + Status + + + IFInstallationScriptsPostupgrade + + Path + + Status + + + IFInstallationScriptsPreflight + + Path + + Status + + + IFInstallationScriptsPreinstall + + Path + + Status + + + IFInstallationScriptsPreupgrade + + Path + + Status + + + + Requirements + + + Settings + + Description + + International + + IFPkgDescriptionDeleteWarning + + IFPkgDescriptionDescription + FRC Toolchain for arm-frc-linux-gnueabi with GCC 4.9.3 and GNU Binutils 2.25.1 + IFPkgDescriptionTitle + FRC ARM Toolchain + IFPkgDescriptionVersion + 2015.10.03 + + + Display Information + + CFBundleGetInfoString + FRC ARM Toolchain 2015 Copyrights © 2016 WPI + CFBundleIconFile + + CFBundleIconFile Path Type + 2 + CFBundleIdentifier + edu.wpi.first.frc-toolchain + CFBundleName + FRC ARM Toolchain + CFBundleShortVersionString + 2015.103 + + Options + + IFPkgFlagAllowBackRev + + IFPkgFlagAuthorizationAction + 2 + IFPkgFlagFollowLinks + + IFPkgFlagIsRequired + + IFPkgFlagOverwritePermissions + + IFPkgFlagRelocatable + + IFPkgFlagRestartAction + 0 + IFPkgFlagRootVolumeOnly + + IFPkgFlagUpdateInstalledLanguages + + + Version + + IFMajorVersion + 2015 + IFMinorVersion + 103 + + + + IFPkgFlagPackageSelection + 1 + Name + FRC ARM Toolchain + Status + 1 + Type + 1 + + Name + Project + Settings + + 10.1 Compatibility + + Build Path + build + Build Path Type + 2 + Comment + + Remove .DS_Store + + Remove .pbdevelopment + + Remove CVS + + + + diff --git a/mac/makes/sysroot b/mac/makes/sysroot new file mode 100755 index 0000000..1f59d77 --- /dev/null +++ b/mac/makes/sysroot @@ -0,0 +1,12 @@ +#!/bin/zsh +source ../versions.sh + + +mkdir -p sysroot-install/usr/local/arm-frc-linux-gnueabi +mkdir -p sysroot-libc-linux/{usr,lib} +cp -a sysroot-libc-linux/linux-libc-${Va_LINUX}/usr/* sysroot-libc-linux/usr/ +cp -a sysroot-libc-linux/libc6-${Va_LIBC}/libc6-dev/usr/* sysroot-libc-linux/usr/ +cp -a sysroot-libc-linux/libc6-${Va_LIBC}/libc6-dev/lib/* sysroot-libc-linux/lib/ +cp -a sysroot-libc-linux/libc6-${Va_LIBC}/libc6/lib/* sysroot-libc-linux/lib/ +cp -a sysroot-libc-linux/{usr,lib} sysroot-install/usr/local/arm-frc-linux-gnueabi/ + diff --git a/mac/makes/tree b/mac/makes/tree new file mode 100755 index 0000000..aec593b --- /dev/null +++ b/mac/makes/tree @@ -0,0 +1,30 @@ +#!/bin/zsh + +rm -rf tree-install +mkdir tree-install +cp -r gcc-install/ tree-install/ +cp -r binutils-install/ tree-install/ +cp -r sysroot-install/ tree-install/ +cp -r gdb-install/ tree-install/ +cd tree-install/ +du -hs . +echo "#####################################" +echo "## TODO: Figure out Mac Stripping ###" +echo "#####################################" +exit +pushd lib/gcc/arm-linux-gnueabi/${V_GCC} +arm-linux-gnueabi-strip --strip-debug libgcc.a libgcc_eh.a libgcov.a +arm-linux-gnueabi-strip --strip-debug crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o +popd +i686-w64-mingw32-strip --remove-section=.comment --remove-section=.note --strip-unneeded **/*.exe +rm -rf share/info share/man +arm-linux-gnueabi-strip --strip-debug arm-linux-gnueabi/**/*.a +arm-linux-gnueabi-strip --remove-section=.comment --remove-section=.note --strip-unneeded arm-linux-gnueabi/**/*.so +arm-linux-gnueabi-strip --remove-section=.comment --remove-section=.note --strip-unneeded arm-linux-gnueabi/lib/libgcc_s.so.1 + +find -name '*.install*' | xargs rm +pushd usr/include +patch -p4 < ../../../../../makes/case-sensitive-includes.diff +popd +rm -rf lib/xtables +du -hs . diff --git a/tools/build-ipkg.sh b/tools/build-ipkg.sh new file mode 100755 index 0000000..d2cc6e1 --- /dev/null +++ b/tools/build-ipkg.sh @@ -0,0 +1,65 @@ +#!/bin/zsh + +LIBS=(/usr/arm-frc-linux-gnueabi/lib/libstdc++.so.6.0.20 /usr/arm-frc-linux-gnueabi/lib/libatomic.so.1.1.0 /usr/arm-frc-linux-gnueabi/lib/libssp.so.0.0.0 /usr/arm-frc-linux-gnueabi/lib/libasan.so.1.0.0 /usr/arm-frc-linux-gnueabi/lib/libitm.so.1.0.0) +VERSION=`apt-cache show libstdc++6-frc-armel-cross | sed -n 's/Version: //p'` + +function strip_suffix() +{ + echo "$1" | sed 's,^/usr/arm-frc-linux-gnueabi,,' +} +function dodh() +{ + echo " " dh_$1 + fakeroot dh_$1 -plibstdc++6-4.9 || exit $? +} + +rm -rf ipkg-tmp-build +mkdir -p ipkg-tmp-build/debian/libstdc++6-4.9/DEBIAN +pushd ipkg-tmp-build +cat > debian/libstdc++6-4.9/DEBIAN/control < +License: GPLv3+ w/GCC runtime library exception +Architecture: armv7a-vfp-neon + +EOL +cat > debian/postinst < debian/compat +ln -s $PWD/debian/libstdc++6-4.9/DEBIAN/control debian/control +for lib in $LIBS; do + echo `strip_suffix $lib` + TO_FILE=debian/libstdc++6-4.9/`strip_suffix $lib` + mkdir -p `dirname $TO_FILE` + cp $lib $TO_FILE + chrpath -d $TO_FILE +done +pushd debian/libstdc++6-4.9/lib + ln -s libasan.so.1.0.0 libasan.so.1 + ln -s libatomic.so.1.1.0 libatomic.so.1 + ln -s libitm.so.1.0.0 libitm.so.1 + ln -s libssp.so.0.0.0 libssp.so.0 +popd + +dodh compress +dodh installdeb +dodh fixperms +dodh md5sums +dodh builddeb +popd +mv libstdc++6-4.9_${VERSION}_armv7a-vfp-neon.deb libstdc++6-4.9_4.9.1-0build0_armv7a-vfp-neon.ipk + diff --git a/tools/frc-cmake-toolchain b/tools/frc-cmake-toolchain new file mode 100755 index 0000000..d72b054 --- /dev/null +++ b/tools/frc-cmake-toolchain @@ -0,0 +1,7 @@ +#!/bin/sh + +SYSROOT="/usr/arm-frc-linux-gnueabi" +TOOLCHAIN_FILE="$SYSROOT/share/cmake/toolchain.cmake" + +echo $TOOLCHAIN_FILE + diff --git a/tools/frc-convert-deb.rb b/tools/frc-convert-deb.rb new file mode 100755 index 0000000..6182476 --- /dev/null +++ b/tools/frc-convert-deb.rb @@ -0,0 +1,40 @@ +#!/usr/bin/env ruby +# This script debianizes all the argumnts ipk + +require 'fileutils' + +DEBEMAIL="root@localhost" +DEBFULLNAME="Automatic Packaging" + +maintainer="#{DEBFULLNAME} <#{DEBEMAIL}>" +# note this requires better handling... +$base_img = %w{libc6 libgcc1 libstdc++6} + +def field(ipk,bit) + `dpkg-deb -f #{ipk} #{bit}` +end + +ARGV.each do |ipk| + puts "working on #{ipk}..." + pkg = "frc-xipk-#{field(ipk,"Package").strip}" + FileUtils.rm_rf "#{ipk}_deb" if File.exist? "#{ipk}_deb" + FileUtils.mkdir_p "#{ipk}_deb/debian/#{pkg}/usr/arm-frc-linux-gnueabi/" + FileUtils.mkdir_p "#{ipk}_deb/debian/#{pkg}/DEBIAN/" + control = "Source: #{pkg}\n" + control << "Section: #{field(ipk,"Section")}" + control << "Maintainer: #{maintainer}\n" + control << "Priority: optional\nStandards-Version: 3.9.4\n\n" + control << "Package: #{pkg}\nArchitecture: all\n" + control << "Description: #{field(ipk,"Description")} .\n This package was automatically generated from an ipkg for arm via\n frc-convert-deb.rb and any errors are your own fault. If you think\n that this package should be provided and supported, file a bug." + control << "Depends: #{field(ipk,"Depends").split(",").delete_if{|x|$base_img.include? x.strip.split(" ")[0]}.map{|x|"frc-xipk-#{x.strip}"}.join(", ")}\n" + control << "Recommends: #{field(ipk,"Recommends").split(",").delete_if{|x|$base_img.include? x.strip.split(" ")[0]}.map{|x|"frc-xipk-#{x.strip}"}.join(", ")}\n\n" + + File.write("#{ipk}_deb/debian/control", control) + File.write("#{ipk}_deb/debian/#{pkg}/DEBIAN/control", control) + File.write("#{ipk}_deb/debian/compat", "9") + `cd #{ipk}_deb/debian/#{pkg}/usr/arm-frc-linux-gnueabi/ && ar x #{File.absolute_path(ipk)} && tar xf data.tar.gz` + `cd #{ipk}_deb/debian/#{pkg}/usr/arm-frc-linux-gnueabi/ && rm control.tar.gz data.tar.gz debian-binary` + `cd #{ipk}_deb/ && bash -c "DEBEMAIL='#{DEBEMAIL}' DEBFULLNAME='#{DEBFULLNAME}' dch -v '#{field(ipk, "Version").strip}' 'Creating Package via frc-convert-deb.rb. This is an automated import from NI ipkg files.' --create -D UNRELEASED --package '#{pkg}'"` + `cd #{ipk}_deb/ && fakeroot -- bash -c 'dh_installchangelogs && dh_compress && dh_fixperms && dh_gencontrol && dh_md5sums && dh_builddeb'` + +end diff --git a/tools/frc-package.rb b/tools/frc-package.rb new file mode 100755 index 0000000..ab07ae2 --- /dev/null +++ b/tools/frc-package.rb @@ -0,0 +1,54 @@ +#!/usr/bin/env ruby +# usage: no args: list all packags +# one arg: download package + +$repos = 'http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/cortexa9-vfpv3/' +$base_img = %w{libc6 libgcc1 libstdc++6} + +class Pkg + attr_reader :name, :depends, :recs, :file + def initialize(name) + @name = name + @rawinfo = `grep 'Package: #{name}$' Packages -A 30`.split("\n\n")[0] + @file = @rawinfo.match(/^Filename: (.*)$/)[1] + deps = (@rawinfo.match(/^Depends: (.*)$/)||[nil,""])[1] + recs = (@rawinfo.match(/^Recommends: (.*)$/)||[nil,""])[1] + @depends = deps.split(",").map{|x| Pkg.new(x.strip.split(/[ \(]/)[0])} + @recs = deps.split(",").map{|x| Pkg.new(x.strip.split(/[ \(]/)[0])} + end + def download_name(base=[]) + return base if base.include? [@name, @file] + base << [@name, @file] + @depends.map{|x|x.download_name(base)} + @recs.map{|x|x.download_name(base)} + base + end + def download + list = download_name + p list + list.delete_if{|x|$base_img.include? x[0]} + list.each do |x| + ## popen would be nice.... + pid = fork do + puts "Downloading #{x[0]}..." + `wget -nc #{$repos}#{x[1]}` + end + + Process.wait pid + end + end +end + + + +`wget -nc #{$repos}Packages.gz` +`zcat Packages.gz > Packages` +if ARGV.length != 1 + puts `cat Packages| sed -n 's/Package: //p'` + exit 0 +else + pkg = Pkg.new(ARGV[0]) + puts "getting dependencies..." + rr = pkg.download +end + diff --git a/tools/frcmake b/tools/frcmake new file mode 100755 index 0000000..88c7b25 --- /dev/null +++ b/tools/frcmake @@ -0,0 +1,4 @@ +#!/bin/sh + +exec "cmake" "-DCMAKE_TOOLCHAIN_FILE=`frc-cmake-toolchain`" "$@" + diff --git a/tools/frcmake-nix-makefile b/tools/frcmake-nix-makefile new file mode 100644 index 0000000..6df1f35 --- /dev/null +++ b/tools/frcmake-nix-makefile @@ -0,0 +1,11 @@ +PREFIX ?= /usr + +all: + +install: + install -m 644 -D toolchain.cmake ${DESTDIR}${PREFIX}/arm-frc-linux-gnueabi/share/cmake/toolchain.cmake + install -D frc-cmake-toolchain ${DESTDIR}${PREFIX}/bin/frc-cmake-toolchain + install -D frcmake ${DESTDIR}${PREFIX}/bin/frcmake + +clean: + diff --git a/tools/pbuilder-build b/tools/pbuilder-build new file mode 100644 index 0000000..f9fafc7 --- /dev/null +++ b/tools/pbuilder-build @@ -0,0 +1 @@ +sudo pbuilder --build --distribution trusty --architecture amd64 --basetgz ~/code/athena/toolchains/pbuilder/trusty-abd64-base.tgz --mirror http://archive.ubuntu.com/ubuntu --components "main restricted universe multiverse" --debootstrapopts "--keyring=/usr/share/keyrings/ubuntu-archive-keyring.gpg" --buildresult ~/code/athena/toolchains/pbuilder/result gcc-frc-armel-cross_4.9.3-1atest0.dsc diff --git a/tools/pbuilder-update b/tools/pbuilder-update new file mode 100644 index 0000000..0ed42de --- /dev/null +++ b/tools/pbuilder-update @@ -0,0 +1 @@ +sudo pbuilder --update --distribution trusty --architecture amd64 --basetgz ~/code/athena/toolchains/pbuilder/trusty-abd64-base.tgz --mirror http://archive.ubuntu.com/ubuntu --components "main restricted universe multiverse" --debootstrapopts "--keyring=/usr/share/keyrings/ubuntu-archive-keyring.gpg" --buildresult ~/code/athena/toolchains/pbuilder/result --save-after-login --override-config diff --git a/tools/toolchain.cmake b/tools/toolchain.cmake new file mode 100644 index 0000000..d9f3338 --- /dev/null +++ b/tools/toolchain.cmake @@ -0,0 +1,14 @@ +cmake_minimum_required(VERSION 2.8) +set(ARM_PREFIX arm-frc-linux-gnueabi) + +set(CMAKE_SYSTEM_NAME Linux) +set(CMAKE_SYSROOT /usr/${ARM_PREFIX}) + +set(CMAKE_C_COMPILER ${ARM_PREFIX}-gcc) +set(CMAKE_CXX_COMPILER ${ARM_PREFIX}-g++) + +set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) +set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) +set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) +set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY) + diff --git a/versions.sh b/versions.sh new file mode 100644 index 0000000..761cc27 --- /dev/null +++ b/versions.sh @@ -0,0 +1,16 @@ +V_GCC=4.9.3 +V_BIN=2.25.1 +V_BINUTILS=${V_BIN} +V_MPFR=3.1.2 +V_MPC=1.0.2 +V_GMP=6.0.0a +V_GMPf=6.0.0 +V_CLOOG=0.18.1 +V_ISL=0.12.2 +V_GDB=7.10 +V_ROBORIO_SYSROOT=1.2 +V_GCC_DEFAULTS=4.9.3 +Va_LIBC=2.20-r0.62 +Va_LINUX=3.16-r0.46 +Vw_EXPAT=2.1.0 +V_FRCMAKE=1.1 diff --git a/windows/Makefile b/windows/Makefile new file mode 100644 index 0000000..6655231 --- /dev/null +++ b/windows/Makefile @@ -0,0 +1,38 @@ +include ../versions.sh + +all: clean sysroot binutils gcc gdb tree msi + + +sysroot: + rm -rf sysroot-* + mkdir sysroot-libc-linux + cd sysroot-libc-linux && tar xf ../../libc6-frc-armel-cross_$(Va_LIBC).orig.tar.bz2 + cd sysroot-libc-linux && tar xf ../../linux-libc-dev-frc-armel-cross_$(Va_LINUX).orig.tar.bz2 + makes/sysroot + +binutils: + tar xf ../binutils-$(V_BINUTILS).tar.bz2 + V_BINUTILS=$(V_BINUTILS) makes/binutils + +expat-install: expat +expat: + tar xf ../expat-$(Vw_EXPAT).tar.gz + Vw_EXPAT=$(Vw_EXPAT) makes/expat + +gdb: expat-install + tar xf ../gdb-$(V_GDB).tar.gz + V_GDB=$(V_GDB) makes/gdb + +gcc: + @# gcc does its own extraction + makes/gcc + +tree: + V_GCC=$(V_GCC) makes/tree + +msi: + makes/msi + +clean: + rm -rf binutils* roborio* sysroot* gcc* tree-install msi-build expat* gdb* + diff --git a/windows/Readme.txt b/windows/Readme.txt new file mode 100644 index 0000000..dfebfff --- /dev/null +++ b/windows/Readme.txt @@ -0,0 +1,3 @@ +Please download wix310-binaries.zip from https://wix.codeplex.com/downloads/get/1483378 (Needs JS to download) and extract into the wix folder such that windows/wix/light.exe exists + +The makefiles are set up to work on debian-based systems and will not work on Windows. You must cross compile diff --git a/windows/makes/binutils b/windows/makes/binutils new file mode 100755 index 0000000..7e20b43 --- /dev/null +++ b/windows/makes/binutils @@ -0,0 +1,11 @@ +#!/bin/zsh + +mkdir binutils-build +mkdir binutils-install +cd binutils-build +../binutils-${V_BINUTILS}/configure --host=i686-w64-mingw32 --prefix=/c/frc --target=arm-frc-linux-gnueabi '--with-pkgversion=GNU Binutils for FRC' --enable-poison-system-directories --with-sysroot=/c/frc --enable-plugins --disable-nls --enable-lto --with-build-sysroot=/usr/arm-frc-linux-gnueabi +make +DESTDIR=$PWD/../binutils-install make install +cd ../binutils-install +i686-w64-mingw32-strip --remove-section=.comment --remove-section=.note --strip-unneeded **/*.exe + diff --git a/windows/makes/case-sensitive-includes.diff b/windows/makes/case-sensitive-includes.diff new file mode 100644 index 0000000..c97884f --- /dev/null +++ b/windows/makes/case-sensitive-includes.diff @@ -0,0 +1,301 @@ +diff -rupN ./c/frc/include/linux/netfilter/xt_CONNMARK.h ../rem/usr/include/linux/netfilter/xt_CONNMARK.h +--- ./c/frc/include/linux/netfilter/xt_CONNMARK.h 2014-08-30 18:25:41.038581610 -0400 ++++ ../rem/usr/include/linux/netfilter/xt_CONNMARK.h 1969-12-31 19:00:00.000000000 -0500 +@@ -1,6 +0,0 @@ +-#ifndef _XT_CONNMARK_H_target +-#define _XT_CONNMARK_H_target +- +-#include +- +-#endif /*_XT_CONNMARK_H_target*/ +diff -rupN ./c/frc/include/linux/netfilter/xt_dscp.h ../rem/usr/include/linux/netfilter/xt_dscp.h +--- ./c/frc/include/linux/netfilter/xt_dscp.h 2014-08-30 18:25:41.058581393 -0400 ++++ ../rem/usr/include/linux/netfilter/xt_dscp.h 2014-06-06 22:51:17.000000000 -0400 +@@ -28,4 +28,18 @@ struct xt_tos_match_info { + __u8 invert; + }; + ++#include ++#include ++ ++/* target info */ ++struct xt_DSCP_info { ++ __u8 dscp; ++}; ++ ++struct xt_tos_target_info { ++ __u8 tos_value; ++ __u8 tos_mask; ++}; ++ ++ + #endif /* _XT_DSCP_H */ +diff -rupN ./c/frc/include/linux/netfilter/xt_DSCP.h ../rem/usr/include/linux/netfilter/xt_DSCP.h +--- ./c/frc/include/linux/netfilter/xt_DSCP.h 2014-08-30 18:25:41.038581610 -0400 ++++ ../rem/usr/include/linux/netfilter/xt_DSCP.h 1969-12-31 19:00:00.000000000 -0500 +@@ -1,26 +0,0 @@ +-/* x_tables module for setting the IPv4/IPv6 DSCP field +- * +- * (C) 2002 Harald Welte +- * based on ipt_FTOS.c (C) 2000 by Matthew G. Marsh +- * This software is distributed under GNU GPL v2, 1991 +- * +- * See RFC2474 for a description of the DSCP field within the IP Header. +- * +- * xt_DSCP.h,v 1.7 2002/03/14 12:03:13 laforge Exp +-*/ +-#ifndef _XT_DSCP_TARGET_H +-#define _XT_DSCP_TARGET_H +-#include +-#include +- +-/* target info */ +-struct xt_DSCP_info { +- __u8 dscp; +-}; +- +-struct xt_tos_target_info { +- __u8 tos_value; +- __u8 tos_mask; +-}; +- +-#endif /* _XT_DSCP_TARGET_H */ +diff -rupN ./c/frc/include/linux/netfilter/xt_MARK.h ../rem/usr/include/linux/netfilter/xt_MARK.h +--- ./c/frc/include/linux/netfilter/xt_MARK.h 2014-08-30 18:25:41.038581610 -0400 ++++ ../rem/usr/include/linux/netfilter/xt_MARK.h 1969-12-31 19:00:00.000000000 -0500 +@@ -1,6 +0,0 @@ +-#ifndef _XT_MARK_H_target +-#define _XT_MARK_H_target +- +-#include +- +-#endif /*_XT_MARK_H_target */ +diff -rupN ./c/frc/include/linux/netfilter/xt_rateest.h ../rem/usr/include/linux/netfilter/xt_rateest.h +--- ./c/frc/include/linux/netfilter/xt_rateest.h 2014-08-30 18:25:41.094581002 -0400 ++++ ../rem/usr/include/linux/netfilter/xt_rateest.h 2014-06-06 22:49:54.000000000 -0400 +@@ -34,4 +34,13 @@ struct xt_rateest_match_info { + struct xt_rateest *est2 __attribute__((aligned(8))); + }; + ++struct xt_rateest_target_info { ++ char name[IFNAMSIZ]; ++ __s8 interval; ++ __u8 ewma_log; ++ ++ /* Used internally by the kernel */ ++ struct xt_rateest *est __attribute__((aligned(8))); ++}; ++ + #endif /* _XT_RATEEST_MATCH_H */ +diff -rupN ./c/frc/include/linux/netfilter/xt_RATEEST.h ../rem/usr/include/linux/netfilter/xt_RATEEST.h +--- ./c/frc/include/linux/netfilter/xt_RATEEST.h 2014-08-30 18:25:41.038581610 -0400 ++++ ../rem/usr/include/linux/netfilter/xt_RATEEST.h 1969-12-31 19:00:00.000000000 -0500 +@@ -1,15 +0,0 @@ +-#ifndef _XT_RATEEST_TARGET_H +-#define _XT_RATEEST_TARGET_H +- +-#include +- +-struct xt_rateest_target_info { +- char name[IFNAMSIZ]; +- __s8 interval; +- __u8 ewma_log; +- +- /* Used internally by the kernel */ +- struct xt_rateest *est __attribute__((aligned(8))); +-}; +- +-#endif /* _XT_RATEEST_TARGET_H */ +diff -rupN ./c/frc/include/linux/netfilter/xt_tcpmss.h ../rem/usr/include/linux/netfilter/xt_tcpmss.h +--- ./c/frc/include/linux/netfilter/xt_tcpmss.h 2014-08-30 21:22:08.782448315 -0400 ++++ ../rem/usr/include/linux/netfilter/xt_tcpmss.h 2014-06-06 22:50:51.000000000 -0400 +@@ -8,4 +8,10 @@ struct xt_tcpmss_match_info { + __u8 invert; + }; + ++struct xt_tcpmss_info { ++ __u16 mss; ++}; ++ ++#define XT_TCPMSS_CLAMP_PMTU 0xffff ++ + #endif /*_XT_TCPMSS_MATCH_H*/ +diff -rupN ./c/frc/include/linux/netfilter/xt_TCPMSS.h ../rem/usr/include/linux/netfilter/xt_TCPMSS.h +--- ./c/frc/include/linux/netfilter/xt_TCPMSS.h 2014-08-30 18:25:41.038581610 -0400 ++++ ../rem/usr/include/linux/netfilter/xt_TCPMSS.h 1969-12-31 19:00:00.000000000 -0500 +@@ -1,12 +0,0 @@ +-#ifndef _XT_TCPMSS_H +-#define _XT_TCPMSS_H +- +-#include +- +-struct xt_tcpmss_info { +- __u16 mss; +-}; +- +-#define XT_TCPMSS_CLAMP_PMTU 0xffff +- +-#endif /* _XT_TCPMSS_H */ +diff -rupN ./c/frc/include/linux/netfilter_ipv4/ipt_ecn.h ../rem/usr/include/linux/netfilter_ipv4/ipt_ecn.h +--- ./c/frc/include/linux/netfilter_ipv4/ipt_ecn.h 2014-08-30 18:25:41.118580741 -0400 ++++ ../rem/usr/include/linux/netfilter_ipv4/ipt_ecn.h 2014-06-06 22:53:41.000000000 -0400 +@@ -12,4 +12,23 @@ enum { + IPT_ECN_OP_MATCH_MASK = XT_ECN_OP_MATCH_MASK, + }; + ++#define IPT_ECN_IP_MASK (~XT_DSCP_MASK) ++ ++#define IPT_ECN_OP_SET_IP 0x01 /* set ECN bits of IPv4 header */ ++#define IPT_ECN_OP_SET_ECE 0x10 /* set ECE bit of TCP header */ ++#define IPT_ECN_OP_SET_CWR 0x20 /* set CWR bit of TCP header */ ++ ++#define IPT_ECN_OP_MASK 0xce ++ ++struct ipt_ECN_info { ++ __u8 operation; /* bitset of operations */ ++ __u8 ip_ect; /* ECT codepoint of IPv4 header, pre-shifted */ ++ union { ++ struct { ++ __u8 ece:1, cwr:1; /* TCP ECT bits */ ++ } tcp; ++ } proto; ++}; ++ ++ + #endif /* IPT_ECN_H */ +diff -rupN ./c/frc/include/linux/netfilter_ipv4/ipt_ECN.h ../rem/usr/include/linux/netfilter_ipv4/ipt_ECN.h +--- ./c/frc/include/linux/netfilter_ipv4/ipt_ECN.h 2014-08-30 18:25:41.118580741 -0400 ++++ ../rem/usr/include/linux/netfilter_ipv4/ipt_ECN.h 1969-12-31 19:00:00.000000000 -0500 +@@ -1,33 +0,0 @@ +-/* Header file for iptables ipt_ECN target +- * +- * (C) 2002 by Harald Welte +- * +- * This software is distributed under GNU GPL v2, 1991 +- * +- * ipt_ECN.h,v 1.3 2002/05/29 12:17:40 laforge Exp +-*/ +-#ifndef _IPT_ECN_TARGET_H +-#define _IPT_ECN_TARGET_H +- +-#include +-#include +- +-#define IPT_ECN_IP_MASK (~XT_DSCP_MASK) +- +-#define IPT_ECN_OP_SET_IP 0x01 /* set ECN bits of IPv4 header */ +-#define IPT_ECN_OP_SET_ECE 0x10 /* set ECE bit of TCP header */ +-#define IPT_ECN_OP_SET_CWR 0x20 /* set CWR bit of TCP header */ +- +-#define IPT_ECN_OP_MASK 0xce +- +-struct ipt_ECN_info { +- __u8 operation; /* bitset of operations */ +- __u8 ip_ect; /* ECT codepoint of IPv4 header, pre-shifted */ +- union { +- struct { +- __u8 ece:1, cwr:1; /* TCP ECT bits */ +- } tcp; +- } proto; +-}; +- +-#endif /* _IPT_ECN_TARGET_H */ +diff -rupN ./c/frc/include/linux/netfilter_ipv4/ipt_ttl.h ../rem/usr/include/linux/netfilter_ipv4/ipt_ttl.h +--- ./c/frc/include/linux/netfilter_ipv4/ipt_ttl.h 2014-08-30 18:25:41.118580741 -0400 ++++ ../rem/usr/include/linux/netfilter_ipv4/ipt_ttl.h 2014-06-06 22:53:09.000000000 -0400 +@@ -20,4 +20,19 @@ struct ipt_ttl_info { + }; + + ++enum { ++ IPT_TTL_SET = 0, ++ IPT_TTL_INC, ++ IPT_TTL_DEC ++}; ++ ++#define IPT_TTL_MAXMODE IPT_TTL_DEC ++ ++struct ipt_TTL_info { ++ __u8 mode; ++ __u8 ttl; ++}; ++ ++ ++ + #endif +diff -rupN ./c/frc/include/linux/netfilter_ipv4/ipt_TTL.h ../rem/usr/include/linux/netfilter_ipv4/ipt_TTL.h +--- ./c/frc/include/linux/netfilter_ipv4/ipt_TTL.h 2014-08-30 18:25:41.118580741 -0400 ++++ ../rem/usr/include/linux/netfilter_ipv4/ipt_TTL.h 1969-12-31 19:00:00.000000000 -0500 +@@ -1,23 +0,0 @@ +-/* TTL modification module for IP tables +- * (C) 2000 by Harald Welte */ +- +-#ifndef _IPT_TTL_H +-#define _IPT_TTL_H +- +-#include +- +-enum { +- IPT_TTL_SET = 0, +- IPT_TTL_INC, +- IPT_TTL_DEC +-}; +- +-#define IPT_TTL_MAXMODE IPT_TTL_DEC +- +-struct ipt_TTL_info { +- __u8 mode; +- __u8 ttl; +-}; +- +- +-#endif +diff -rupN ./c/frc/include/linux/netfilter_ipv6/ip6t_hl.h ../rem/usr/include/linux/netfilter_ipv6/ip6t_hl.h +--- ./c/frc/include/linux/netfilter_ipv6/ip6t_hl.h 2014-08-30 18:25:41.146580437 -0400 ++++ ../rem/usr/include/linux/netfilter_ipv6/ip6t_hl.h 2014-06-06 22:54:27.000000000 -0400 +@@ -21,4 +21,17 @@ struct ip6t_hl_info { + }; + + ++enum { ++ IP6T_HL_SET = 0, ++ IP6T_HL_INC, ++ IP6T_HL_DEC ++}; ++ ++#define IP6T_HL_MAXMODE IP6T_HL_DEC ++ ++struct ip6t_HL_info { ++ __u8 mode; ++ __u8 hop_limit; ++}; ++ + #endif +diff -rupN ./c/frc/include/linux/netfilter_ipv6/ip6t_HL.h ../rem/usr/include/linux/netfilter_ipv6/ip6t_HL.h +--- ./c/frc/include/linux/netfilter_ipv6/ip6t_HL.h 2014-08-30 18:25:41.146580437 -0400 ++++ ../rem/usr/include/linux/netfilter_ipv6/ip6t_HL.h 1969-12-31 19:00:00.000000000 -0500 +@@ -1,24 +0,0 @@ +-/* Hop Limit modification module for ip6tables +- * Maciej Soltysiak +- * Based on HW's TTL module */ +- +-#ifndef _IP6T_HL_H +-#define _IP6T_HL_H +- +-#include +- +-enum { +- IP6T_HL_SET = 0, +- IP6T_HL_INC, +- IP6T_HL_DEC +-}; +- +-#define IP6T_HL_MAXMODE IP6T_HL_DEC +- +-struct ip6t_HL_info { +- __u8 mode; +- __u8 hop_limit; +-}; +- +- +-#endif diff --git a/windows/makes/expat b/windows/makes/expat new file mode 100755 index 0000000..c0174b6 --- /dev/null +++ b/windows/makes/expat @@ -0,0 +1,11 @@ +#!/bin/zsh + +mkdir expat-build +mkdir expat-install +cd expat-build +../expat-${Vw_EXPAT}/configure --host=i686-w64-mingw32 +make +INSTALL_ROOT=$PWD/../expat-install make install +cd ../expat-install +i686-w64-mingw32-strip --remove-section=.comment --remove-section=.note --strip-unneeded **/*.dll + diff --git a/windows/makes/gcc b/windows/makes/gcc new file mode 100755 index 0000000..540bac8 --- /dev/null +++ b/windows/makes/gcc @@ -0,0 +1,55 @@ +#!/bin/bash +source ../versions.sh + +export CFLAGS="-g -O2" +export CPPFLAGS="-D_FORTIFY_SOURCE=2" +export CXXFLAGS="-g -O2" +export FFLAGS="-g -O2" +export LDFLAGS= + +export CFLAGS_FOR_TARGET="-g -O2 --param=ssp-buffer-size=4 -Wformat -Wformat-security" +# BUG: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61164 +# so we just disable it +export CPPFLAGS_FOR_TARGET= +export CXXFLAGS_FOR_TARGET="-g -O2 --param=ssp-buffer-size=4 -Wformat -Wformat-security" +export FFLAGS_FOR_TARGET="-g -O2" +export LDFLAGS_FOR_TARGET="-Wl,-Bsymbolic-functions -Wl,-z,relro" + +echo "Please comment out the following two lines in /usr/arm-frc-linux-gnueabi/usr/include/sys/types.h temporarily:" +echo "//typedef __daddr_t daddr_t;" +echo "//typedef __caddr_t caddr_t;" + + +echo "Extracting GCC..." +tar xf ../gcc-${V_GCC}.tar.bz2 +echo "Extracting MPFR..." +tar xf ../mpfr-${V_MPFR}.tar.bz2 +echo "Extracting MPC..." +tar xf ../mpc-${V_MPC}.tar.gz +echo "Extracting GMP..." +tar xf ../gmp-${V_GMP}.tar.bz2 +echo "Extracting CLOOG..." +tar xf ../cloog-${V_CLOOG}.tar.gz +echo "Extracting ISL..." +tar xf ../isl-${V_ISL}.tar.bz2 +echo "Extracting GDB..." +mv cloog-${V_CLOOG} gcc-${V_GCC}/cloog +mv isl-${V_ISL} gcc-${V_GCC}/isl +mv mpfr-${V_MPFR} gcc-${V_GCC}/mpfr +mv mpc-${V_MPC} gcc-${V_GCC}/mpc +mv gmp-${V_GMPf} gcc-${V_GCC}/gmp + +pushd gcc-${V_GCC} +# apply the debian so patch +patch -p1 < ../../deb/debians/gcc/patches/minorSOname +popd + +mkdir gcc-build +mkdir gcc-install +cd gcc-build +../gcc-${V_GCC}/configure --host=i686-w64-mingw32 --enable-threads=posix --target=arm-frc-linux-gnueabi --with-arch=armv7-a --with-cpu=cortex-a9 --with-float=softfp --with-fpu=vfpv3 --with-specs='%{save-temps: -fverbose-asm} %{funwind-tables|fno-unwind-tables|mabi=*|ffreestanding|nostdlib:;:-funwind-tables}' --enable-languages=c,c++ --enable-shared --enable-lto --disable-nls --with-pkgversion='GCC for FRC' --with-cloog --disable-multilib --disable-multiarch --prefix=/frc --with-sysroot=/frc --enable-poison-system-directories --disable-libmudflap --with-build-sysroot=/usr/arm-frc-linux-gnueabi || exit $? +make -j3 || exit $? +DESTDIR=$PWD/../gcc-install make install + +cd ../gcc-install + diff --git a/windows/makes/gdb b/windows/makes/gdb new file mode 100755 index 0000000..609b210 --- /dev/null +++ b/windows/makes/gdb @@ -0,0 +1,11 @@ +#!/bin/zsh + +mkdir gdb-build +mkdir gdb-install +cd gdb-build +../gdb-${V_GDB}/configure --host=i686-w64-mingw32 --prefix=/c/frc --target=arm-frc-linux-gnueabi --with-sysroot=/c/frc --enable-plugins --disable-nls --with-pkgversion='GDB for FRC' --disable-nls --with-expat --with-libexpat-prefix=$PWD/../expat-install/usr/local/ +# --with-python=$PWD/../makes/python-config-gdb +make -j4 +DESTDIR=$PWD/../gdb-install make install +cd ../gdb-install +i686-w64-mingw32-strip --remove-section=.comment --remove-section=.note --strip-unneeded **/*.exe diff --git a/windows/makes/msi b/windows/makes/msi new file mode 100755 index 0000000..778ffc5 --- /dev/null +++ b/windows/makes/msi @@ -0,0 +1,12 @@ +#!/bin/zsh + +rm -rf msi-build +cp -r makes/msi-files msi-build +MSI_PATH=$(winepath -w msi-build | sed 's/\\/\\\\\\\\/g') +FRC_PATH=$(winepath -w $PWD/tree-install/c/frc | sed 's/\\/\\\\\\\\/g') + +wine wix/heat.exe dir "$FRC_PATH" -sreg -gg -dr APPLICATIONFOLDER -cg BINUTILS -out "$MSI_PATH\\gen.wxs" -var var.binutilsdir -srd +wine wix/candle.exe -nologo "-dbinutilsdir=$FRC_PATH" "$MSI_PATH\\gen.wxs" -out "$MSI_PATH\\gen.wixobj" +wine wix/candle.exe -nologo "$MSI_PATH\\frctoolchain.wxs" -out "$MSI_PATH\\frctoolchain.wixobj" -ext WixUIExtension +wine wix/light.exe -nologo "$MSI_PATH\\frctoolchain.wixobj" "$MSI_PATH\\gen.wixobj" -out "$MSI_PATH\\FRC Toolchain.msi" -ext WixUIExtension -sval +chmod 755 msi-build/FRC\ Toolchain.msi diff --git a/windows/makes/msi-files/Dialog.bmp b/windows/makes/msi-files/Dialog.bmp new file mode 100644 index 0000000000000000000000000000000000000000..0920d589658824b8489b021d42ca51ba03a09d6c GIT binary patch literal 615402 zcmeI5XP*>B|L#5KJUUO#D^UO53T9D2GLm!7L6T$v0YyN9WRSRIc3IdZNKOV2j3A0A zDh3omF%U&1ivjcR^i|w7R`qo6^zP2GJ=0fx7`m&wEA+Q(>#AI}nx5(Tf3Jg?;ryO- ze&_$!b=OsNe*f#bo38smj{PC${#*a=I`wm`+Q@a+#r|DatA4A;^^Ks%|LuBE?k{y0 ze`FAvG$1r2KmsH{0=@*O*(|e!DGm50RNf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yone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.\par +\pard\keepn\s3\sb240\sa120\b\fs28 Preamble\par +\pard\sa120\b0\fs24 The GNU General Public License is a free, copyleft license for software and other kinds of works.\par +The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.\par +When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.\par +To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.\par +For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.\par +Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.\par +For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.\par +Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.\par +Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.\par +The precise terms and conditions for copying, distribution and modification follow.\par +\pard\keepn\s3\sb240\sa120\b\fs28 TERMS AND CONDITIONS\par +\pard\keepn\s4\sb240\sa120\fs24 0. Definitions.\par +\pard\sa120\b0\ldblquote\'80This License\rdblquote\'80\'81\'45refers to version 3 of the GNU General Public License.\par +\ldblquote\'80Copyright\rdblquote\'80\'81\'45also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.\par +\ldblquote\'80The Program\rdblquote\'80\'81\'45refers to any copyrightable work licensed under this License. Each licensee is addressed as \ldblquote\'80\'9c\'79ou\rdblquote\'80\'81\'45 \ldblquote\'80\'9c\'4cicensees\rdblquote\'80\'81\'45and \ldblquote\'80\'9c\'72ecipients\rdblquote\'80\'81\'45may be individuals or organizations.\par +To \ldblquote\'80\'9c\'6dodify\rdblquote\'80\'81\'45a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a \ldblquote\'80\'9c\'6dodified version\rdblquote\'80\'81\'45of the earlier work or a work \ldblquote\'80\'9c\'62ased on\rdblquote\'80\'81\'45the earlier work.\par +A \ldblquote\'80\'9c\'63overed work\rdblquote\'80\'81\'45means either the unmodified Program or a work based on the Program.\par +To \ldblquote\'80\'9c\'70ropagate\rdblquote\'80\'81\'45a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.\par +To \ldblquote\'80\'9c\'63onvey\rdblquote\'80\'81\'45a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.\par +An interactive user interface displays \ldblquote\'80\'9c\'41ppropriate Legal Notices\rdblquote\'80\'81\'45to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.\par +\pard\keepn\s4\sb240\sa120\b 1. Source Code.\par +\pard\sa120\b0 The \ldblquote\'80\'9c\'73ource code\rdblquote\'80\'81\'45for a work means the preferred form of the work for making modifications to it. \ldblquote\'80\'9c\'4fbject code\rdblquote\'80\'81\'45means any non-source form of a work.\par +A \ldblquote\'80\'9c\'53tandard Interface\rdblquote\'80\'81\'45means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.\par +The \ldblquote\'80\'9c\'53ystem Libraries\rdblquote\'80\'81\'45of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A \ldblquote\'80\'9c\'4dajor Component\rdblquote\'80\'81\'45 in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.\par +The \ldblquote\'80\'9c\'43orresponding Source\rdblquote\'80\'81\'45for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.\par +The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.\par +The Corresponding Source for a work in source code form is that same work.\par +\pard\keepn\s4\sb240\sa120\b 2. Basic Permissions.\par +\pard\sa120\b0 All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.\par +You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.\par +Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.\par +\pard\keepn\s4\sb240\sa120\b 3. Protecting Users' Legal Rights From Anti-Circumvention Law.\par +\pard\sa120\b0 No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.\par +When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.\par +\pard\keepn\s4\sb240\sa120\b 4. Conveying Verbatim Copies.\par +\pard\sa120\b0 You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.\par +You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.\par +\pard\keepn\s4\sb240\sa120\b 5. Conveying Modified Source Versions.\par +\pard\sa120\b0 You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:\par +\pard\fi-283\li707\tx707\f1\tab\f0 a) The work must carry prominent notices stating that you modified it, and giving a relevant date. \par +\f1\tab\f0 b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to \ldblquote\'80\'9c\'6beep intact all notices\rdblquote\'80\'81\'45 \par +\f1\tab\f0 c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. \par +\pard\fi-283\li707\sa120\tx707\f1\tab\f0 d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. \par +\pard\sa120 A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an \ldblquote\'80\'9c\'61ggregate\rdblquote\'80\'81\'45if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.\par +\pard\keepn\s4\sb240\sa120\b 6. Conveying Non-Source Forms.\par +\pard\sa120\b0 You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:\par +\pard\fi-283\li707\tx707\f1\tab\f0 a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. \par +\f1\tab\f0 b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. \par +\f1\tab\f0 c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. \par +\f1\tab\f0 d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. \par +\pard\fi-283\li707\sa120\tx707\f1\tab\f0 e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. \par +\pard\sa120 A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.\par +A \ldblquote\'80\'9c\'55ser Product\rdblquote\'80\'81\'45is either (1) a \ldblquote\'80\'9c\'63onsumer product\rdblquote\'80\'81\'45 which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, \ldblquote\'80\'9c\'6eormally used\rdblquote\'80\'81\'45refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.\par +\ldblquote\'80Installation Information\rdblquote\'80\'81\'45for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.\par +If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).\par +The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.\par +Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.\par +\pard\keepn\s4\sb240\sa120\b 7. Additional Terms.\par +\pard\sa120\b0\ldblquote\'80Additional permissions\rdblquote\'80\'81\'45are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.\par +When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.\par +Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:\par +\pard\fi-283\li707\tx707\f1\tab\f0 a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or \par +\f1\tab\f0 b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or \par +\f1\tab\f0 c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or \par +\f1\tab\f0 d) Limiting the use for publicity purposes of names of licensors or authors of the material; or \par +\f1\tab\f0 e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or \par +\pard\fi-283\li707\sa120\tx707\f1\tab\f0 f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. \par +\pard\sa120 All other non-permissive additional terms are considered \ldblquote\'80\'9c\'66urther restrictions\rdblquote\'80\'81\'45within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.\par +If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.\par +Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.\par +\pard\keepn\s4\sb240\sa120\b 8. Termination.\par +\pard\sa120\b0 You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).\par +However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.\par +Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.\par +Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.\par +\pard\keepn\s4\sb240\sa120\b 9. Acceptance Not Required for Having Copies.\par +\pard\sa120\b0 You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.\par +\pard\keepn\s4\sb240\sa120\b 10. Automatic Licensing of Downstream Recipients.\par +\pard\sa120\b0 Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.\par +An \ldblquote\'80\'9c\'65ntity transaction\rdblquote\'80\'81\'45is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.\par +You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.\par +\pard\keepn\s4\sb240\sa120\b 11. Patents.\par +\pard\sa120\b0 A \ldblquote\'80\'9c\'63ontributor\rdblquote\'80\'81\'45is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's \ldblquote\'80\'9c\'63ontributor version\rdblquote\'80\'81\'45\par +A contributor's \ldblquote\'80\'9c\'65ssential patent claims\rdblquote\'80\'81\'45are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, \ldblquote\'80\'9c\'63ontrol\rdblquote\'80\'81\'45includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.\par +Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.\par +In the following three paragraphs, a \ldblquote\'80\'9c\'70atent license\rdblquote\'80\'81\'45is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To \ldblquote\'80\'9c\'67rant\rdblquote\'80\'81\'45such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.\par +If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. \ldblquote\'80\'9c\'4bnowingly relying\rdblquote\'80\'81\'45means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.\par +If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.\par +A patent license is \ldblquote\'80\'9c\'64iscriminatory\rdblquote\'80\'81\'45if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.\par +Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.\par +\pard\keepn\s4\sb240\sa120\b 12. No Surrender of Others' Freedom.\par +\pard\sa120\b0 If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.\par +\pard\keepn\s4\sb240\sa120\b 13. Use with the GNU Affero General Public License.\par +\pard\sa120\b0 Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.\par +\pard\keepn\s4\sb240\sa120\b 14. Revised Versions of this License.\par +\pard\sa120\b0 The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.\par +Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License \ldblquote\'80\'9c\'6fr any later version\rdblquote\'80\'81\'45applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.\par +If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.\par +Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.\par +\pard\keepn\s4\sb240\sa120\b 15. Disclaimer of Warranty.\par +\pard\sa120\b0 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \ldblquote\'80\'9c\'41S IS\rdblquote\'80\'81\'45WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\par +\pard\keepn\s4\sb240\sa120\b 16. Limitation of Liability.\par +\pard\sa120\b0 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\par +\pard\keepn\s4\sb240\sa120\b 17. Interpretation of Sections 15 and 16.\par +\pard\sa120\b0 If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.\par +END OF TERMS AND CONDITIONS\par +\pard\keepn\s3\sb240\sa120\b\fs28 How to Apply These Terms to Your New Programs\par +\pard\sa120\b0\fs24 If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.\par +To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the \ldblquote\'80\'9c\'63opyright\rdblquote\'80\'81\'45line and a pointer to where the full notice is found.\par +\pard\f2\fs20 \par + Copyright (C) \par +\par + This program is free software: you can redistribute it and/or modify\par + it under the terms of the GNU General Public License as published by\par + the Free Software Foundation, either version 3 of the License, or\par + (at your option) any later version.\par +\par + This program is distributed in the hope that it will be useful,\par + but WITHOUT ANY WARRANTY; without even the implied warranty of\par + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\par + GNU General Public License for more details.\par +\par + You should have received a copy of the GNU General Public License\par +\pard\sa283 along with this program. If not, see .\par +\pard\sa120\fs24 Also add information on how to contact you by electronic and paper mail.\f0\par +\f2 If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:\f0\par +\pard\f2\fs20 Copyright (C) \par + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\par + This is free software, and you are welcome to redistribute it\par +\pard\sa283 under certain conditions; type `show c' for details.\par +\pard\sa120\fs24 The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an \ldblquote\'80\'9c\'61bout box\rdblquote\'80\'81\'45\f0\par +\f2 You should also get your employer (if you work as a programmer) or school, if any, to sign a \ldblquote\'80\'9c\'63opyright disclaimer\rdblquote\'80\'81\'45for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see <\lang255 http://www.gnu.org/licenses/\lang1033\f0 >.\par +\f2 The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read <\lang255 http://www.gnu.org/philosophy/why-not-lgpl.html\lang1033\f0 >.\par +\pard\nowidctlpar\kerning1\par +} + \ No newline at end of file diff --git a/windows/makes/msi-files/banner.bmp b/windows/makes/msi-files/banner.bmp new file mode 100644 index 0000000000000000000000000000000000000000..fd44ad625566af2aaf9be9e58124758bc60daa8c GIT binary patch literal 114514 zcmeI5X_QsPxrQ}uJj?V<~sV0po-Z}8d|99|i`U(n>DCjSwYKmYKmYKmYKmYKmYKm_6uSY15TJ^G6;xLw<~#w(y)A|L`H zAOim{2^>3o(4F}3*ja5marB7e8g}CNF?a0Hfs{OU{Yc$)e}OzTmGAn)@crcR<5vFk z=~LmkObNvHDI87oJ5Z=`D~E1bU<@02@p`m{T+XQ!*JsrFgJ_k*>&GoIhQz0w^y zxUa5#X>H*?Cr^Chmz%)>-}tJ}sPo?Hf4H3)I8Y|NF8J`AeS1%xJYlzo@rTC_yIoaV zO|#b&zvhk}+Hdzy_Yb#yJFC)9yFJyF?ojO>Ym4_oraF%A+WWDf?X)dwHB}Yn+nGn++!vm)G~eUiMm}(p8+gYr z?2!0x#Qit9PM3el@;%Y|`)=W@V|-S(cHZlDzHG_=hUYRRdf)I}_m>B63ooI2#FwQX z-)sKF5w1szrmpi97drC3w{Dr~GZ=Z|JhFeU8~U4Tf-+xr-G2E^H|sC`tv<_V6}ZQ)`MMj_{&M$ttM9nw zZ%hvB=@W1mc29GwGxd0??SHxTrEl2f`s%WH`iqv|bT#OY;J5h2VOFMaa2MC-#vfQ3 zpCdZ7cH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Lm<0N_`EjgxmKeHx>HG${PU7QG?Vc1Li>5pu ztA4CWJFsVGShk>F$5`cP7tbNh^nBLmyWSb=9@FxAgnpF}0TB=Z5fFh~5tz{Hcd>K{ zZJYhV;09GAiI4Pt!T#MlV%M)^(#WuWRh!<9U5>VGTD~AG>l5r5#$f@*si~hUAFfP z-#u$z?6`Y?5B*KE6u&wU0TB=Z5fFh~5U5zUBDSt&)6D4gtz~P%>L&3)zkp|sZ&)

z6m`tETe3lv;dNA6wS1aN7f|J-DaFMSuUD;w0h0hsO@P z%_~dY>|no?{4VWX-fvqvp4-;Fc~g5v>xlbray(P5Xv{#jvgj3Qbwa+%E&?JT0wN#+ zA|L`HAOa#F0wN#+A|L`HAOa#F0wN#+A|L`HAOa#F0wN#+A|L`HAOa#F0wVBlN8q0a CnpN}w literal 0 HcmV?d00001 diff --git a/windows/makes/msi-files/frctoolchain.wxs b/windows/makes/msi-files/frctoolchain.wxs new file mode 100644 index 0000000..b085c49 --- /dev/null +++ b/windows/makes/msi-files/frctoolchain.wxs @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/windows/makes/msi.bat b/windows/makes/msi.bat new file mode 100644 index 0000000..919dd06 --- /dev/null +++ b/windows/makes/msi.bat @@ -0,0 +1,8 @@ + +rd /s /q msi-build +xcopy makes\msi-files msi-build /s /e + +wix\heat.exe dir tree-install\c\frc -sreg -gg -dr APPLICATIONFOLDER -cg BINUTILS -out msi-build\gen.wxs -var var.binutilsdir -srd +wix\candle.exe -nologo "-dbinutilsdir=tree-install\c\frc" "msi-build\gen.wxs" -out "msi-build\gen.wixobj" +wix\candle.exe -nologo "msi-build\frctoolchain.wxs" -out "msi-build\frctoolchain.wixobj" -ext WixUIExtension +wix\light.exe -nologo "msi-build\frctoolchain.wixobj" "msi-build\gen.wixobj" -out "msi-build\FRC Toolchain.msi" -ext WixUIExtension diff --git a/windows/makes/python-config-gdb b/windows/makes/python-config-gdb new file mode 100755 index 0000000..b7e7f53 --- /dev/null +++ b/windows/makes/python-config-gdb @@ -0,0 +1,102 @@ +#!/bin/sh + +echo "INIT $@" >> /tmp/pyc +shift +exit_with_usage () +{ + echo "Usage: $0 --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--help|--configdir" + exit $1 +} + +if [ "$1" = "" ] ; then + exit_with_usage 1 +fi + +# Returns the actual prefix where this script was installed to. +installed_prefix () +{ + echo $HOME/.wine/drive_c/Python27/ +} + +prefix_build="/usr" +prefix_real=$(installed_prefix "$0") + +prefix=$(installed_prefix "$0") +exec_prefix_build="${prefix}" +exec_prefix=$(installed_prefix "$0") +includedir="${prefix}/include" +libdir="${exec_prefix}/libs" +CFLAGS="-D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security " +VERSION="2.7" +LIBM="-lm" +LIBC="" +SYSLIBS="$LIBM $LIBC" +ABIFLAGS="" +MULTIARCH="x86_64-linux-gnu" +LIBS="-lpthread -ldl -lutil $SYSLIBS -lpython${VERSION}${ABIFLAGS}" +BASECFLAGS=" -fno-strict-aliasing" +LDLIBRARY="libpython${VERSION}${DEBUG_EXT}.a" +LINKFORSHARED="-Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions" +OPT="-DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes" +PY_ENABLE_SHARED="0" +LIBDEST=${prefix}/lib/python${VERSION} +LIBPL=${LIBDEST}/config-${MULTIARCH}${ABIFLAGS} +SO="${ABIFLAGS}.so" +PYTHONFRAMEWORK="" +INCDIR="-I$includedir/python${VERSION}${ABIFLAGS}" +PLATINCDIR="-I$includedir/$MULTIARCH/python${VERSION}${ABIFLAGS}" + +# Scan for --help or unknown argument. +for ARG in $* +do + case $ARG in + --help) + exit_with_usage 0 + ;; + --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--configdir) + ;; + *) + exit_with_usage 1 + ;; + esac +done + +for ARG in $* +do + case $ARG in + --prefix) + echo "$prefix" + echo "prefix=$prefix" >> /tmp/pyc + ;; + --exec-prefix) + echo "$exec_prefix" + echo "execprefix=$exec_prefix" >> /tmp/pyc + ;; + --includes) + echo "-I$includedir" + echo "includes" "-I$includedir" >> /tmp/pyc + ;; + --cflags) + echo "$INCDIR $PLATINCDIR $BASECFLAGS $CFLAGS $OPT" + echo "cflags=" "$INCDIR $PLATINCDIR $BASECFLAGS $CFLAGS $OPT" >> /tmp/pyc + ;; + --libs) + echo "$LIBS" + echo "libs=$LIBS" >> /tmp/pyc + ;; + --ldflags) + echo "-L$libdir -lpthread -lm -lpython27 " + echo "ldflags=-L$libdir -lpthread -lm -lpython27 " >> /tmp/pyc + ;; + --extension-suffix) + echo "exsuffix" >> /tmp/pyc + exit 1 + echo "$SO" + ;; + --configdir) + echo "cfg" >> /tmp/pyc + exit 1 + echo "$LIBPL" + ;; +esac +done diff --git a/windows/makes/sysroot b/windows/makes/sysroot new file mode 100755 index 0000000..fa2c9a4 --- /dev/null +++ b/windows/makes/sysroot @@ -0,0 +1,14 @@ +#!/bin/zsh +source ../versions.sh + + +mkdir -p sysroot-install/c/frc +mkdir -p sysroot-libc-linux/{usr,lib} +# remove symlinks +cp sysroot-libc-linux/linux-libc-${Va_LINUX}/usr/* sysroot-libc-linux/usr/ -r +cp sysroot-libc-linux/libc6-${Va_LIBC}/libc6-dev/usr/* sysroot-libc-linux/usr/ -r +cp sysroot-libc-linux/libc6-${Va_LIBC}/libc6-dev/lib/* sysroot-libc-linux/lib/ -r +cp sysroot-libc-linux/libc6-${Va_LIBC}/libc6/lib/* sysroot-libc-linux/lib/ -r +rsync sysroot-libc-linux/usr sysroot-install/c/frc -a --copy-links +rsync sysroot-libc-linux/lib sysroot-install/c/frc -a --copy-links + diff --git a/windows/makes/tree b/windows/makes/tree new file mode 100755 index 0000000..01d0a45 --- /dev/null +++ b/windows/makes/tree @@ -0,0 +1,28 @@ +#!/bin/zsh + +rm -rf tree-install +mkdir tree-install +cp gcc-install tree-install/c -r +cp binutils-install/c tree-install/ -r +cp sysroot-install/c tree-install/ -r +cp gdb-install/c tree-install/ -r +cd tree-install/c/frc +du -hs . +pushd lib/gcc/arm-frc-linux-gnueabi/${V_GCC} +arm-frc-linux-gnueabi-strip --strip-debug libgcc.a libgcc_eh.a libgcov.a +arm-frc-linux-gnueabi-strip --strip-debug crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o +popd +i686-w64-mingw32-strip --remove-section=.comment --remove-section=.note --strip-unneeded **/*.exe +rm -rf share/info share/man +arm-frc-linux-gnueabi-strip --strip-debug arm-frc-linux-gnueabi/**/*.a +arm-frc-linux-gnueabi-strip --remove-section=.comment --remove-section=.note --strip-unneeded arm-frc-linux-gnueabi/**/*.so +arm-frc-linux-gnueabi-strip --remove-section=.comment --remove-section=.note --strip-unneeded arm-frc-linux-gnueabi/lib/libgcc_s.so.1 + +pushd usr/include +patch -p4 < ../../../../../makes/case-sensitive-includes.diff +popd +rm -rf lib/xtables + +sync +du -hs . +