This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: cannot compute suffix of object files: cannot compile: -a64 unsupported
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: dellair jie <dellair at gmail dot com>
- Cc: GCC HELP <gcc-help at gcc dot gnu dot org>
- Date: Tue, 26 Nov 2013 13:40:56 +0000
- Subject: Re: cannot compute suffix of object files: cannot compile: -a64 unsupported
- Authentication-results: sourceware.org; auth=none
- References: <CA+9Vw94JKJp2awNKzHH9c19BCHz2ACrQR4yNt1YTSjhZmVOxLA at mail dot gmail dot com> <CAH6eHdSToE54bQ=5zGRypsMMaUM+98OHrtBnkJODEPHhHWMxEg at mail dot gmail dot com> <CA+9Vw95n=PHqB9GjdyUXcpUJ_AUGR+0btNFmLZOf7J+BKbms-g at mail dot gmail dot com> <CAH6eHdQgt+VRWQpeJBfgwjk7NnEriFRAGrZoVLGp_xpoDqR-Bw at mail dot gmail dot com> <CA+9Vw96-wsiUoi1hdbM=xvYdM5NtJTUomH8nqGEiya=JwzCn_A at mail dot gmail dot com> <CAH6eHdSiSJREsHrcCdUvvFQwOL-WgifUwyPSZAA8SnDRXdRVOg at mail dot gmail dot com> <CA+9Vw94JZH42fjzfLOB7K=X6jH_=w+YJt3qih_FfPO2j4zGeeg at mail dot gmail dot com>
On 26 November 2013 13:22, dellair jie wrote:
> Thanks Jon,
>
> Regarding the "permisison denied" error, I have added
> "-DLOCAL_INCLUDE_DIR" and setup the environment variable to
> /usr/include folder.
I'm not sure what you've done here. It would help to show the exact
commands you used.
> However, I am still getting it in config.log.
>
> Any ideas on how to get this solved?
>
> Our environment is setup like:
> All standard head files are under /usr/include
> The /usr/local/include exist but only readable to root.
GCC cannot be used if one of the directories in its search path is not readable.
Have you tried using the --with-local-prefix=/usr configuration option?
See http://gcc.gnu.org/install/configure.html