autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using autoconf to create build scripts for Assembly language program


From: Eric Blake
Subject: Re: using autoconf to create build scripts for Assembly language programs
Date: Thu, 7 Jun 2018 11:33:33 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

On 06/07/2018 11:23 AM, mallapadi niranjan wrote:
Thanks for the reply, that did help  a bit but  was not able to remove the
-c option

I passed./configure CCAS=/usr/bin/as CFLAGS=''


  address@hidden foobar]$ make
make  all-am
make[1]: Entering directory
`/home/ashok/practice/ia32/myasm/autotools/foobar'
/usr/bin/as --gstabs+  -c -o hello.o hello.s

The automake documentation states that when you use AM_PROG_AS, your assembler MUST behave like a C compiler, in that it MUST accept -c and -o. If /usr/bin/as does not accept -c, then you'll have to provide a shell-script wrapper that adds that functionality on top of /usr/bin/as, at least according to the automake documentation.

But again, the autoconf list is not the best list to be asking this; you'll (hopefully) get better response on the automake list, since it is an automake feature you are trying to use.

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]