Message-ID: <3e997711@news.starhub.net.sg> From: Rob Kramer 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit 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