public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Patch to gcc 3.2 to allow builds on BSD/OS
@ 2002-11-06 12:51 Chris Ross
  2002-12-02 12:22 ` Chris Ross
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Ross @ 2002-11-06 12:51 UTC (permalink / raw)
  To: gcc-patches; +Cc: Chris Ross

[-- Attachment #1: Type: text/plain, Size: 2702 bytes --]


  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 #2: gcc-diff.shar --]
[-- Type: application/x-shar, Size: 17592 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Patch to gcc 3.2 to allow builds on BSD/OS
  2002-11-06 12:51 Patch to gcc 3.2 to allow builds on BSD/OS Chris Ross
@ 2002-12-02 12:22 ` Chris Ross
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Ross @ 2002-12-02 12:22 UTC (permalink / raw)
  To: gcc-patches


   Hello.  I never received a response or acknowledgment of this email.
Could you please let me know that you received this patch from me,
and what the plans are to incorporate these changes?  Thank you.

            - Chris

On Wednesday, November 6, 2002, at 03:51 PM, Chris Ross wrote:

>   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.
 > [...]
> --
> Chris Ross
> cross+gcc@distal.com
> <gcc-diff.shar>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-02 20:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-06 12:51 Patch to gcc 3.2 to allow builds on BSD/OS Chris Ross
2002-12-02 12:22 ` Chris Ross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).