This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cannot compute suffix of object files: cannot compile: -a64 unsupported


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]