LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Openrisc > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: Robert Millan<rmh@a...>
    Date: Wed Jun 29 16:10:48 CEST 2005
    Subject: [openrisc] gcc with or32-linux-gnu targets
    Top
    On Thu, Jun 23, 2005 at 11:37:37AM +0200, Robert Millan wrote:
    > On Thu, Jun 23, 2005 at 12:18:10AM +0200, Robert Millan wrote:
    > >
    > > Hi,
    > >
    > > Please consider the following patch for CVS. It allows recognising
    > > or32-*-linux-gnu targets in gcc (note that the -gnu is added automaticaly by
    > > config.sub even if you don't specify it, unless you're targetting uclinux)
    >
    > And the same problem happens with binutils from or1k CVS. Patch attached.

    And the same with gcc-3.2!

    Here's the patch. Would someone please apply the fix for this problem? I sent
    a patch for each of gcc-3.4, binutils and gcc-3.2 here in this thread.

    Index: gcc/config.gcc
    ===================================================================
    RCS file: /home/oc/cvs/or1k/gcc-3.2.3/gcc/config.gcc,v
    retrieving revision 1.1.1.1
    diff -u -r1.1.1.1 config.gcc
    --- gcc/config.gcc 14 Feb 2004 17:39:42 -0000 1.1.1.1
    +++ gcc/config.gcc 29 Jun 2005 14:06:15 -0000
    @@ -2743,7 +2743,7 @@
    thread_file='rtems'
    fi
    ;;
    -or32-*-*linux)
    +or32-*-*linux*)
    tm_file="dbxelf.h elfos.h or32/or32.h or32/elf.h or32/linux-gas.h or32/linux-elf.h"
    tmake_file="or32/t-default"
    xmake_file=or32/x-default

    --
    Robert Millan

    ReferenceAuthor
    [openrisc] gcc with or32-linux-gnu targetsRobert Millan

    Follow upAuthor
    [openrisc] gcc with or32-linux-gnu targetsMatjaz Breskvar

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.