Package Details: gcc47 4.7.4-2

Git Clone URL: (read-only, click to copy)
Package Base: gcc47
Description: The GNU Compiler Collection (4.7.x)
Upstream URL:
Licenses: GPL, custom, LGPL, FDL
Submitter: mosra
Maintainer: severach
Last Packager: severach
Votes: 21
Popularity: 0.000000
First Submitted: 2013-06-06 16:22
Last Updated: 2018-11-24 21:45

Latest Comments

1 2 3 4 5 Next › Last »

severach commented on 2018-11-24 21:47

All fixed.

KarelvdP commented on 2018-10-27 12:31

Doesn't compile for me. Fails with:

configure:3602: error: in `/tmp/yaourt-tmp-karel/aur-gcc47/src/x86_64-unknown-linux-gnu/libgcc':

configure:3605: error: cannot compute suffix of object files: cannot compile

Last few errors in config.log:

xgcc: error: unrecognized command line option '-V'

xgcc: error: unrecognized command line option '-qversion'

xgcc: error: unrecognized command line option '-fno-plt'

xgcc: error: unrecognized command line option '-fno-plt'

Tried to compile with make -j2 CC=gcc-6 and just make -j2.

Full config.log:

vtyulb commented on 2017-11-07 19:40

It looks like package is finally broken. Compilation fails with message "configure: error: cannot compute suffix of object files: cannot compile", and there is nothing interesting in internal log.

For those, who needs gcc47 for Matlab I can only offer a dirty workaround. I still have half-working package, which was built a year ago. You can download it from here (but you better fix the package, using unsigned packages is a bad thing):
After installation of package you'll need to run:
sudo ln -s /usr/lib/ /usr/lib/ && sudo ldconfig

Compiler works after the hack, but I can't check if it's usable by Matlab, because I don't have one. Good luck!

vtyulb commented on 2016-11-01 15:46

joaocandre, can you send me logs to <> ?

joaocandre commented on 2016-11-01 15:38

I get a lot of undefined references when linking, can't install.

FMorel commented on 2016-10-31 14:03

For me, the package compiles and installs fine with no bug or special edit of PKGBUILD.

After installation, the gcc4.7 works well with Matlab/Simulink in accelerator mode just by following instructions on the Archlinux's wiki page about Matlab. I had to change folders in Simulink preferences in order to have the same folder (/tmp for me) for both "Simulation cache folder" and "code generation folder".

Tanks to the maintainer !

vtyulb commented on 2016-10-30 14:37

Fixed errors. You can build it now, or download fresh version from me (not recommended and not safe):

vtyulb commented on 2016-10-29 19:52

I'm trying to fix it now. I compiled latest version 24th of July, can give you that packet if you want.

FMorel commented on 2016-10-29 17:46

I followed the instructions of stonyboy but the compilation failed on my computer. It's a pity because this package would be still useful for Matlab users (gcc47 is an optional dependence even for recent versions).

stonyboy commented on 2016-08-18 13:12

This worked for me:

1) Adding export LD_PRELOAD=/usr/lib/ to PKGBUILD as described by 12qu
2) Installing ppl 1.1-2 (no other dependencies on my machine) as described by antony
3) rm -rf src (not doing this caused a bit of headache)
4) Building and installing the package

Thanks to 12qu and antony!