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 12:40:18 +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>
On 26 November 2013 12:14, dellair jie wrote:
> Hello Jon,
>
> Regarding the q32 option, I think it is a default behavior of xlc
> compiler, it automatically adds q32 to build 32 bit objects.
But the option is being added to a gcc command, not xlc.
You might need to look earlier in libgcc/config.log for other relevant errors.
> I added one more option "--disable-multilib", and the build seems to
> go further then stopped at: Permission denied to
> /usr/local/include/time.h
>
> In fact, the correct local include directory is: /usr/include instead
> of /usr/local/include, any idea how we can specify it for compilation?
It will automatically look in /usr/include
The error suggests it is trying to also look in /usr/local/include but
doesn't have permission to.