I need a help for installing cross compiler for alpha

naghmeh.karimi at yale.edu naghmeh.karimi at yale.edu
Tue Sep 18 15:31:16 UTC 2007


Dear All,

I need to produce OSF alpha binaries to use them by SimpleScalar. I downloaded
crosstool from this website and tried to install gcc ,... as a cross compiler.
I have FEDORA RELEASE 7 on my computer and my system is running gcc 4.1.2-12. I
selected alpha-dec-osf3.2 and for the version of gcc and glibc I
selected  gcc-2.95.3-glibc-2.2.5.dat but the process ended with the following
error.

alphadec-osf-lpha-dec-osf/home/naghmeh/simplescalar/crosstool-0.42/build/alpha-dec-osf3.2/gcc-2.95.3-glibc-2.2.5/binutils-2.15/bfd/coff-alpha.c:
In function
'alpha_relocate_section':
/home/naghmeh/simplescalar/crosstool-0.42/build/alpha-dec-osf3.2/gcc-2.95.3-glibc-2.2.5/binutils-2.15/bfd/coff-alpha.c:1458:
error: invalid lvalue in
assignment
make[3]: *** [coff-alpha.lo] Error 1
make[3]: Leaving directory
`/home/naghmeh/simplescalar/crosstool-0.42/build/alpha-dec-osf3.2/gcc-2.95.3-glibc-2.2.5/build-binutils/bfd'
make[2]: *** [all-recursive] Error
1
make[2]: Leaving directory
`/home/naghmeh/simplescalar/crosstool-0.42/build/alpha-dec-osf3.2/gcc-2.95.3-glibc-2.2.5/build-binutils/bfd'
make[1]: *** [all-recursive-am] Error
2
make[1]: Leaving directory
`/home/naghmeh/simplescalar/crosstool-0.42/build/alpha-dec-osf3.2/gcc-2.95.3-glibc-2.2.5/build-binutils/bfd'
make: *** [all-bfd] Error
2


I also tried gcc-3.2.3-glibc-2.3.2 for alpha-dec-osf4. the same errors occured.
Would you please help me with this problem.


/home/naghmeh/simplescalar/crosstool-0.43/build/alpha-dec-osf4/gcc-3.2.3-glibc-2.3.2/binutils-2.15/bfd/coff-alpha.c:
In function 'alpha_relocate_section':
/home/naghmeh/simplescalar/crosstool-0.43/build/alpha-dec-osf4/gcc-3.2.3-glibc-2.3.2/binutils-2.15/bfd/coff-alpha.c:1458:
error: invalid lvalue in assignment
make[3]: *** [coff-alpha.lo] Error 1
make[3]: Leaving directory
`/home/naghmeh/simplescalar/crosstool-0.43/build/alpha-dec-osf4/gcc-3.2.3-glibc-2.3.2/build-binutils/bfd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/naghmeh/simplescalar/crosstool-0.43/build/alpha-dec-osf4/gcc-3.2.3-glibc-2.3.2/build-binutils/bfd'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory
`/home/naghmeh/simplescalar/crosstool-0.43/build/alpha-dec-osf4/gcc-3.2.3-glibc-2.3.2/build-binutils/bfd'
make: *** [all-bfd] Error 2



Regards,
Naghmeh




More information about the axp-list mailing list