Autoconf/automake scripts

Jan Beulich jbeulich@suse.com
Fri Feb 13 12:59:21 GMT 2026


On 13.02.2026 13:21, BERTRAND Joël via Binutils wrote:
> 	Hello,
> 
> 	I'm working on a 6809/6309/63F09 gcc port. I have copied git tree on a
> local server to do some modifications in binutils tree. I have added
> some .c and .h (tc-*, opcodes...) and done some modifications in main
> configure.ac (I have rebuilt with autoconf 2.72, 2.69 procuded faulty
> script). All others configure.ac were rebuilt with autoconf 2.69 and
> automake 1.18.
> 
> 	Now, I'm trying to configure sources and configure scripts return an
> error I don't understand.
> 
> hilbert:[~/cvs/gcc/build-gas] > ../binutils-gdb/configure --target=m6809
> --host=x86_64-pc-linux-gnu
> ...
> checking where to find the target windres... just compiled
> checking where to find the target windmc... just compiled
> checking for clang for target... no
> checking for gcc for target... no
> checking for target -plugin option... no
> checking whether to enable maintainer-specific portions of Makefiles... no
> configure: creating ./config.status
> config.status: creating Makefile
> hilbert:[~/cvs/gcc/build-gas] > make
> make[1] : on entre dans le répertoire « /home/bertrand/cvs/gcc/build-gas »
> Configuring in ./libiberty
> configure: loading cache ./config.cache
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for makeinfo... (cached) makeinfo --split-size=5000000
> checking for perl... (cached) perl
> ...
> checking how to compare bootstrapped objects... cmp --ignore-initial=16
> $$f1 $$f2
> Setting warning flags = -W -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror
> checking whether byte ordering is bigendian... no
> configure: error: GAS does not know what format to use for target
> m6809-unknown-none
> make[1]: *** [Makefile:5475: configure-gas] Error 1
> make[1] : on quitte le répertoire « /home/bertrand/cvs/gcc/build-gas »
> make: *** [Makefile:1032: all] Error 2
> hilbert:[~/cvs/gcc/build-gas] >
> 
> 	If I understand, configure script in gas subdirectory aborts with error.

Well, without you telling us what changes you have made to gas/configure.tgt,
how should we help? And without you having made changes there, I can't see
how --target=m6809 would be recognized there.

Jan


More information about the Binutils mailing list