This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Build problems; Please help
- To: 'Nick Clifton' <nickc at cygnus dot com>
- Subject: RE: Build problems; Please help
- From: Jagat Brahma <jbrahma at riverdelta dot com>
- Date: Wed, 26 Jul 2000 18:05:33 -0400
- Cc: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
Hi Nick,
>The contents of asm specs are controlled by the definition of the
>macro ASM_SPEC, which in this case is defined in config/arm/semi.h.
Thanks for the info.
>Well no, because this is not the right way to fix the problem. The
>assembler should not need to be told that it is being passed Thumb
>instructions. Instead there should be directives in the code to tell
>it that the following instructions are Thumb instructions and not ARM
>instructions (which is its default).
Since the gcc does produce thumb code for -mthumb option AND the assembler
'gas' does not recognize the thumb code except being told
explicitely(through
-mthumb option), I would think that there is a problem with the assembler
was
built and *not with the gcc*. Don't you think so ?
The assembler is built from the binutils-2.10 package. I built the 'gas'
binary though a separate make(not part of the gcc make). And since there
was not target for arm-wrs-vxworks, I created a new target 'arm-wrs-vxworks'
with the same properties as 'arm-coff' target and built the binutils
package.
May be the new target was not created properly, though I did it carefully.
There is a target in binutils package called *-*-vxworks. But it is for aout
format and i wanted a coff format. So I could not use it.
May be a new target called 'arm-wrs-vxworks' shoould be added to the
binutils
package with the proper settings.
>This is supposed to be controlled by the definition of the ASM_APP_OFF
>macro in config/arm/arm.h. This is a grungy way to do it, but it does
>work. Or at least it does for other ARM targets.
>
>I do not know why it is not working for you. Maybe ASM_APP_OFF is
>being redefined somewhere after its definition in arm.h ?
Yes, there a define for ARM_APP_OFF which a test for THUMB targets. And I
think
it is working fine(with the above reasoning).
Regards
JP Brahma