Hi. I decided to install SMGL to give it a whirl, since I'm into the source-based systems, although relatively new at it. When I used Gentoo in the past, I didn't delve too deeply into use flags and customizing the builds.
I had created a fresh SourceMage install, and then started updating. My problem is that I updated gcc, and now I can't build any other programs. Here are the relevant lines from my config.log:
Code:
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: in '/usr/src/gcc-4.4.3.bld':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use '--host'.
gcc is installed and in my $PATH, etc.
I have tried to build some basic c programs with gcc, and they build fine, but they do not run. When attempting to run an executable I've created, for example './a.out' I get: a.out: No such file or directory.
This is an AMD64 system. I can only guess that I somehow misconfigured gcc when I upgraded it, and that somehow the code being generated is not compatible with my system (I used -march=native), but I'm new to the sorcery system and do not know how to correct this. I've tried to reconfigure gcc, but I just haven't been able to figure it out.
I could really use some help!