Automatic opcode table generation and gas test cases for s/390.
Martin Schwidefsky
schwidefsky@de.ibm.com
Fri Sep 14 12:46:00 GMT 2001
>> Hmm, if --host doesn't match --build it doesn't work though. Too bad.
Any
>> idea how to fix this?
>
>1. Use a portable shell script (ick).
>
>2. Go through gyrations to find a native compiler (like gcc does).
>
>3. Make it a maintainer-mode-only thing, and also stipulate native
> only in configure, so it just doesn't run when it can't (you'd have
> to worry about updating a file in the source tree, which might be
> on a read-only filesystem).
>
>4. Just don't do that :-)
What about 5:
s390-mkopc: s390-mkopc.c
$(CC_FOR_BUILD) -o s390-mkopc $(srcdir)/s390-mkopc.c
s390-opc.tab: s390-mkopc s390-opc.txt
./s390-mkopc < $(srcdir)/src-opc.txt > s390-opc.tab
Any reason why I can't/shouldn't use CC_FOR_BUILD ??
blue skies,
Martin
Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com
More information about the Binutils
mailing list