Package Details: gcc4ti 0.96b11-1

Git Clone URL: https://aur.archlinux.org/gcc4ti.git (read-only, click to copy)
Package Base: gcc4ti
Description: A C cross compiler for the TI-89, TI-89T, TI-92+, and TI-V200
Upstream URL: https://debrouxl.github.io/gcc4ti/
Keywords: c compiler cross ti tigcc
Licenses: GPL
Submitter: been_jamming
Maintainer: been_jamming
Last Packager: been_jamming
Votes: 0
Popularity: 0.000000
First Submitted: 2022-11-13 04:35 (UTC)
Last Updated: 2022-11-13 04:35 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

wezm commented on 2025-03-17 05:59 (UTC)

I was able to build it using GCC 8 (gcc8 AUR package) using this diff to the PKGBUILD. It will probably work with gcc10, but I already had 8 installed.

diff --git a/PKGBUILD b/PKGBUILD
index 118e0be..827c2d9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,11 @@
 # Maintainer: Benjamin Jones <b33n.jamming+aur@gmail.com>
 pkgname=gcc4ti
 pkgver=0.96b11
-pkgrel=1
+pkgrel=2
 pkgdesc="A C cross compiler for the TI-89, TI-89T, TI-92+, and TI-V200"
 url="https://debrouxl.github.io/gcc4ti/"
 depends=('bash')
-makedepends=('git')
+makedepends=('git' 'gcc8')
 arch=('x86_64')
 license=('GPL')
 source=('git+https://github.com/debrouxl/gcc4ti.git')
@@ -34,7 +34,7 @@ package(){

        #I pass PATH and the prefix to the new environment
        #The installation script is interactive, so I must pipe in the installation settings
-       env -i PATH="$PATH" PREFIX_GCC4TI="$pkgdir/usr/share/gcc4ti" CFLAGS="$LDFLAGS" srcdir="$srcdir" pkgname="$pkgname" pkgver="$pkgver" "../Install.sh"
+       env -i PATH="$PATH" PREFIX_GCC4TI="$pkgdir/usr/share/gcc4ti" CC=gcc-8 CFLAGS="$LDFLAGS" srcdir="$srcdir" pkgname="$pkgname" pkgver="$pkgver" "../Install.sh"

        #The package does not provide a binary inside of /usr/bin
        #Instead, I created a script tigcc.sh which sets the variable $TIGCC to '/usr/share/gcc4ti' before executing the binary

saladin commented on 2024-07-09 20:08 (UTC)

This isn't building now, it's giving an error when configuring binutils:

"checking whether the C compiler (gcc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now ) works... no configure: error: installation or configuration problem: C compiler cannot create executables."

This may be an issue with current compilers on Arch, or an issue with just my system, as I have the same issues building from source using the default flags, as well as with using clang.