This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hello. I have downloaded the sources to gcc 3.2, and have fit in patches
we had made in gcc 3.1+ to make it compile and work on BSD/OS 4.x systems.
The changes I made are largely the inclusion of gcc/config/ files to
configure gcc for BSD/OS ELF systems. It should be noted that I have only
whitelisted bsdos[45]* systems, because BSD/OS 3.x and earlier systems
were a.out based, and I have no way to currently test that configuration.
Changes (and justifications for them) are as follows:
1) gcc/config.guess uses ${mach}-pc-bsdi${rel} for x86's, and
${mach}-unknown-bsdi${rel} for other architechtures. This is a remnant
of BSD/OS 0.x and 1.x, which were named BSDi. Since BSD/OS 2.0, released
in 1995, BSDi was the name of the company releasing the product, and BSD/OS
was the name of the product. As of BSD/OS 4.3, it is no longer even
released by BSDi, as the BSD/OS assets have been sold to Wind River Systems.
So, it certainly should not hold "bsdi" in the target name. I have changed
this to "bsdos" in all of the places I found it. I would expect this to
be an easy change to justify incorporating...
2) In gcc/config.gcc, I whitelisted "*-*-bsdos[45]*", since you had
previously put "i?86-*-bsd*" in the blacklist. I assume you did this to
trim bsd386 systems, and the like, and that's a fine thing. But for
recently BSD/OS systems, they should be whitelisted. It'd be nice if we
had some BSD/OS 3.x support in the tree, but I can't add that myself. Or
at least am not motivated to install a 3.1 machine to do it. hehe.
I also added a block of configuration detail for "*-*-bsdos*" and
"i[34567]86-*-bsdos*". I put a place to put "sparc*-*-bsdos*" config
bits in, but didn't do any of that work. I can bring up a BSD/OS 4.2
sparc if you'd like me to get that piece done, too. It's just useful to so
few people, I didn't think it important.
3) Lots of config files added to gcc/config and gcc/config/i386. Again, no
gcc/config/sparc* files were added, but that could be done if there was some
call for it...
I've included the patch between my tree and the gcc-3.2 original source tree
I downloaded from your ftp servers. It is encoded as a shar file. Please
let me know if you'd like a diff against something else, or if you'd like it
encoded differently.
I know this may not be able to make it into 3.2.1, which sounds like it's
going to ship soon, but I would very much hope it could make it into the 3.3
release. Please let me know if you need anything else from me. I am not
a member of this mailing list, so please respond to me directly with any
email. Thank you.
- Chris
--
Chris Ross
cross+gcc@distal.com
Attachment:
gcc-diff.shar
Description: Unix shell archive
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |