I modified the ebuild to install the documentation only if the 'doc' useflag is set. There is also a prerelease version of tigcc which uses gcc 4.0, you can find it here: http://www.ti-news.net/projects/gcc40. I created an ebuild for this too. Both versions were compiled successfully on amd64 and have been tested with the shipped examples.
Created attachment 51420 [details] tigcc-0.96_beta2.ebuild
Created attachment 51421 [details, diff] hangupfix-pre8.patch fixes an error that caused cc1 to hang, should be obsoleted by pre9
Created attachment 51422 [details] tigcc-gcc40-0.96_pre8.ebuild Ebuild for the tigcc prerelease version against gcc 4.0
*** Bug 81026 has been marked as a duplicate of this bug. ***
ok looking at it now. The tigcc-40-... will need another name to conform to the naming standards. See any problem with tigcc-0.96_pre8.ebuild?
Created attachment 51927 [details] tigcc-0.96_beta2.ebuild I fixed up some of the paths in the install. Please note copyright header /usr/portage/header.txt I have to do a mirror://gentoo so version names don't conflict. I emailed upstream and they haven't changed yet. I noticed a couple of compile failures which is why I put in the || die commands. Can you fix the compile failures please and just make sure I didn't break anything with my changes. config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default commands sed: can't read po/Makefile.in: No such file or directory make[1]: Entering directory `/var/tmp/portage/tigcc-0.96_beta2/work/build/binutils/gas' make all-recursive make[2]: Entering directory `/var/tmp/portage/tigcc-0.96_beta2/work/build/binutils/gas' Making all in doc make[3]: Entering directory `/var/tmp/portage/tigcc-0.96_beta2/work/build/binutils/gas/doc' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/var/tmp/portage/tigcc-0.96_beta2/work/build/binutils/gas/doc' Making all in po make[3]: Entering directory `/var/tmp/portage/tigcc-0.96_beta2/work/build/binutils/gas/po' make[3]: *** No rule to make target `all'. Stop. make[3]: Leaving directory `/var/tmp/portage/tigcc-0.96_beta2/work/build/binutils/gas/po' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/tigcc-0.96_beta2/work/build/binutils/gas' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/tigcc-0.96_beta2/work/build/binutils/gas' make: *** [all-gas] Error 2 !!! ERROR: dev-embedded/tigcc-0.96_beta2 failed. !!! Function src_compile, Line 61, Exitcode 2 !!! gas -1 !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.51.16 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 1900+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 10 2005, 22:34:48)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2
note: I'm on the dev-embedded email list
Created attachment 52182 [details] tigcc-0.96_beta2.ebuild I fixed the binutils compile failures. I don't think it's a good idea to put the tigcc env-file in /etc/env.d/gcc - It shouldn't show up in gcc-config, and should have nothing to do with the normal gcc.
Created attachment 52184 [details] tigcc-0.96_pre9.ebuild added changes from 0.96_beta2 ebuild, version bump to _pre9 (no changes in the ebuild were necessary)
tigcc-0.96_beta2.ebuild added. Spot on with comment 8. I'm still working out a good name for the gcc-4 version
Created attachment 54956 [details] tigcc-0.96_beta3.ebuild - Version bump, gcc 4.0.0 branch of tigcc is now the default in this release (see project homepage for default) - Added some cleanups from the shipped install scripts to the ebuild - Added a check to ensure gcc gets built - the build is expected to fail at a certain point. You may stop thinking of an appropriate name for the prerelease, Daniel! ;-P
Created attachment 54959 [details] tigcc-0.96_beta3.ebuild sorry, missed an error in the DEPEND setting...
Created attachment 58011 [details, diff] 0.96_beta3 to 0.96_beta4 patch tigcc-0.96_beta4 is out
tigcc 0.96 beta5 is out I have upgraded the version definition in the beta4 ebuild : BASE_BINUTILS="2.16" GCC_VER="4.0-20050630" and it compiles and runs just fine on my x86.
Created attachment 68825 [details, diff] 0.96_beta4 to 0.96_beta5 patch uses 4.0.1 final now. seems to work fine on amd64.
Created attachment 70154 [details, diff] 0.96_beta5 to 0.96_beta6 patch 0.96_beta6 is out
beta6 appears to work perfectly on amd64 and x86. Is there any reason why the latest in the portage tree is still beta2? I've had a number of issues with beta2 on amd64, and all of these are fixed in the beta6 release. How far is this from making it into the tree so that users can install it easily?
Still no update in portage? tigcc betas are usually pretty stable. btw: tigcc v0.96 Beta 7 was released recently
Created attachment 95761 [details] tigcc-0.96_beta7.ebuild version bump (required for ktigcc) uses gcc-4.1-20060728 seems to work fine on amd64 and x86
tigcc-0.96_beta8 added. sorry if i shocked anyone and sorry for taking so long.