delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/04/13/17:45:15

Message-ID: <3e997711@news.starhub.net.sg>
From: Rob Kramer <robk AT starhub DOT net DOT sg>
Subject: Re: Building a gcc 3.2.2 cross compiler..
Newsgroups: comp.os.msdos.djgpp
Date: Sun, 13 Apr 2003 22:41:34 +0800
References: <3e979062 AT news DOT starhub DOT net DOT sg>
Lines: 38
User-Agent: KNode/0.7.2
MIME-Version: 1.0
NNTP-Posting-Host: 202.156.76.168
X-Trace: 13 Apr 2003 22:41:22 +0800, 202.156.76.168
Organization: StarHub Internet Pte Ltd
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

On second thought, I'm trying to build a c/c++ cross compiler, not a native
DOS executable. I think this means most of the patches in gcc322s2.zip are
not required for me, since almost all seem to be related to fixing DOS
things (c++ -> cxx, fix paths, etc). One I'm not sure about:

*** sdbout.c~1  Mon Sep 16 17:52:54 2002
--- sdbout.c    Mon Sep 16 18:17:42 2002
***************
*** 853,859 ****
        name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl));

        if (GET_CODE (value) == MEM
!         && GET_CODE (XEXP (value, 0)) == SYMBOL_REF)
        {
          PUT_SDB_DEF (name);
          if (TREE_PUBLIC (decl))
--- 853,861 ----
        name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl));

        if (GET_CODE (value) == MEM
!         && GET_CODE (XEXP (value, 0)) == SYMBOL_REF
!           && GET_CODE (XEXP (XEXP (value, 0), 0)) != PLUS
!           && GET_CODE (XEXP (XEXP (value, 0), 0)) != MINUS)
        {
          PUT_SDB_DEF (name);
          if (TREE_PUBLIC (decl))

I have no idea what this does, but this seems to be the only patch not
directly DOS compiler related.

If I don't have to rebuild configures etc, the rest of the process should be
reasonable standard (ahem)..

Cheers,

   Rob

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019