configure failure for --host=armv7-apple-darwin with assembly

Taner Sener tanersener at gmail.com
Sat Jun 16 08:02:22 UTC 2018


Compiled your line into assembly. Output is below, it is a long. Attached
archive includes assembly files for all three architectures: armv7, armv7s,
arm64; armv7 and armv7s is the same but arm64 format is different.

        .section        __TEXT,__text,regular,pure_instructions

        .ios_version_min 7, 0

        .syntax unified

        .section        __DATA,__data

        .globl  _foo                    @ @foo

        .p2align        2

_foo:

        .long   3735928559              @ 0xdeadbeef



.subsections_via_symbols



On Fri, 15 Jun 2018 at 18:35, Torbjörn Granlund <tg at gmplib.org> wrote:

> Taner Sener <tanersener at gmail.com> writes:
>
>   checking how to define a 32-bit word... configure: error: cannot
> determine
>   how to define a 32-bit word
>
> Well, how do you define a 32-bit word in this assembly variant?
>
> (You might want to compile something like "int foo = 0xdeadbeef;" into
> assembly and check the output to see the used syntax.)
>
> --
> Torbjörn
> Please encrypt, key id 0xC8601622
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asm_test.tar.gz
Type: application/x-gzip
Size: 382 bytes
Desc: not available
URL: <https://gmplib.org/list-archives/gmp-bugs/attachments/20180616/a3fe3289/attachment.bin>


More information about the gmp-bugs mailing list