Errors while building g77 compiler on a CLFS pure64 system
Hi,
I'm trying to build the Fortran77 compiler from gcc-3.4.6 on my 64-bit CLFS machine. But each time I hit upon this error, no matter how I tweak compile options: Code:
stage1/xgcc -Bstage1/ -B/opt/gcc-3.4.6/x86_64-unknown-linux-gnu/bin/ -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -o genmodes \ Code:
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe" \ EDIT: gcc-3.4.6 compiles fine on every 64-bit machine I ran it on. They ( the OS's on those machines )also have the same CFLAGS, CHOST and CTARGET values as the CLFS system. |
Quote:
according to what you posted Code:
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe" \ Code:
- gcc-3.4.6 Code:
- gcc-3.4.6 Code:
../gcc-3.4.6/configure \ |
Yeah, sorry, I just pasted the instructions from the LFS page "as is". I did of course use a build dir outside of the source tree.
|
Quote:
Code:
make[2]: Leaving directory `/tmp/gcc-3.4.6/gcc-build/gcc' |
Very sorry to post confusing and erroneous information. Actually the error in the case when the build dir is in the source dir, was from when I used a script to automate the process. I had posted those same intructions in the first post. I had since corrected it and still got the same error. The solution seems to be to use the complete gcc-3.4.6 tarball instead of only the gcc-core and gcc-g77 sources. Now the build finishes without errors. Thank you for your observations.
|
All times are GMT -5. The time now is 08:18 PM. |