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: dellair jie <dellair at gmail dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: GCC HELP <gcc-help at gcc dot gnu dot org>
- Date: Wed, 27 Nov 2013 20:10:29 +0100
- 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> <CAH6eHdR5qeJ56QYgCQEK71H7idaTA7TtH2AOtqLz0jki0AOZVQ at mail dot gmail dot com>
You are a saver!!!
The rebuild works like magic! :)
On Tue, Nov 26, 2013 at 2:40 PM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> 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