This is the mail archive of the gcc@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]

Re: Build problems; Please help


Hi Jagat,

: /var/tmp/ccemnK8B.s: Assembler messages:
: /var/tmp/ccemnK8B.s:95: Error: bad instruction `push {r4,r5,r6,r7,lr}'

This error is occuriung because you do not have gas for the ARM
built.  So the output of gcc is being assembled by the host system's
assembler, which of course does not understand ARM opcodes.

Check to see that gas/as-new has been built in your build directory
and that gcc/as is a symbolic link to this executable.  If either of
these tests fail, then try running 'make clean-gas all-gas' at the top
level before continuing with your build of gcc.


: Why is it building the multilib: even when I pass the option
: --disable-multilib to configure.

This is because the configure option that you want is:

     --enable-multilib=no


Cheers
	Nick


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