This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with -m64 on Solaris 11
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Sascha Frick <frick at zib dot de>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Fri, 9 Sep 2016 10:37:17 +0100
- Subject: Re: Problem with -m64 on Solaris 11
- Authentication-results: sourceware.org; auth=none
- References: <1473351092.12336.2.camel@zib.de>
On 8 September 2016 at 17:11, Sascha Frick wrote:
> It seems that the -m64 option, which is necessary for compiling and
> linking makes some problems when the assembler is
> being started. Is there a way to prevent gcc from adding -m64 to the
> assembly process?
If GCC is adding flags that don't work with the assembler then it
suggests to me that the assembler is not the same one that was present
when GCC was configured (GCC should know the right flags to use).
Did someone install GCC, and then later change the binutils that is
installed? When you say "live with what is there", how did they get
there?