This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
i386 and i370 targets
- From: "Paul Edwards" <mutazilah at gmail dot com>
- To: <binutils at sourceware dot org>
- Date: Wed, 27 Jun 2018 11:52:48 +1000
- Subject: i386 and i370 targets
Hello.
I am writing a new operating system, PDOS/386,
which is meant to be a 32-bit version of MSDOS:
http://pdos.sourceforge.net
I wish to use the a.out format, and I am currently
using 2.14a which configures and makes cleanly ( * ).
I tried using 2.30:
./configure --target=i386-aout --with-sysroot --disable-nls --disable-werror
and it said that the target was obsolete and
was going to be removed.
Can I ask that this target not be removed?
I also intend to use the i370 target.
Thanks. Paul.
( * ) I had to make these minor changes:
Index: gas/tc.h
===================================================================
RCS file: c:\cvsroot/binutils-2.14a/gas/tc.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -r1.1.1.1 -r1.2
29a30,31
> #if !defined(RELAX_TYPE_DEFINED)
> #define RELAX_TYPE_DEFINED
42a45
> #endif
Index: gas/config/tc-i386.h
===================================================================
RCS file: c:\cvsroot/binutils-2.14a/gas/config/tc-i386.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -r1.1.1.1 -r1.2
25a26,42
> #if !defined(RELAX_TYPE_DEFINED)
> #define RELAX_TYPE_DEFINED
> struct relax_type
> {
> /* Forward reach. Signed number. > 0. */
> long rlx_forward;
> /* Backward reach. Signed number. < 0. */
> long rlx_backward;
>
> /* Bytes length of this address. */
> unsigned char rlx_length;
>
> /* Next longer relax-state. 0 means there is no 'next' relax-state. */
> relax_substateT rlx_more;
> };
> #endif
>