Mail Archives: djgpp/2003/04/13/17:45:15
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 -