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: rich_daddio at yahoo.com<rich_daddio@y...>
    Date: Wed Aug 20 18:39:26 CEST 2008
    Subject: [openrisc] [Q] About openrisc toolchain (or32-uclinux-g++)
    Top
    Hi,
    Currently we don't fully support g++ for or32 right now. You can make
    mods to get it to build but you may have to also add some support to
    the clib (e.g uClibc) to have a fully functioning g++. I have some
    instructions/hacks(convoluted) to build g++ which I can send you and
    that will get you past the build problem.

    You will have to make mods to you clib after that.

    I know some of our commercial friends are using g++ which I have
    assisted them with --but they have done a lot of work to get it all to
    functioning.

    HTH,

    Rich d

    ----- Original Message -----
    From: radiossoaf at yahoo.co.kr<radiossoaf@y...>
    To:
    Date: Wed Aug 20 15:07:25 CEST 2008
    Subject: [openrisc] [Q] About openrisc toolchain (or32-uclinux-g++)

    > Hello.
    >
    > I have a question...
    >
    > I installed or32-toolchain for setting environment.
    >
    > The gnu toolchain version is 4.2.2 which is the latest version.
    >
    > My development is as follows/
    > - Server: AMD64(quad-core)
    > - Compiler: gcc/g++ 4.3 (x86_64-linux-gnu-gcc/g++)
    > - OS: debian sid.
    > I could generated serveral compiler tools and other utilities..
    > But among the tools, 'or32-uclinux-g++' was not included...
    > So, for getting the 'or32-uclinux-g++', I modified compile option
    > of gcc.
    > (--enable-languages=c --> --enable-languages=c,c++ )
    > But... one error was occurred.
    > The error is as follows.
    >
    > -----------------------------------------------------------------
    > checking machine/param.h usability... no
    > checking machine/param.h presence... no
    > checking for machine/param.h... no
    > checking sys/machine.h usability... no
    > checking sys/machine.h presence... no
    > checking for sys/machine.h... no
    > checking for sys/types.h... (cached) yes
    > checking fp.h usability... no
    > checking fp.h presence... no
    > checking for fp.h... no
    > checking float.h usability... yes
    > checking float.h presence... yes
    > checking for float.h... yes
    > checking for endian.h... (cached) yes
    > checking for inttypes.h... (cached) yes
    > checking locale.h usability... yes
    > checking locale.h presence... yes
    > checking for locale.h... yes
    > checking for float.h... (cached) yes
    > checking for stdint.h... (cached) yes
    > checking for g++ that supports -ffunction-sections
    > -fdata-sections...
    > yes
    > checking for ld version... 21850
    > checking for ld that supports -Wl,--gc-sections... configure:
    > error: Link
    > tests are not allowed after GCC_NO_EXECUTABLES.
    > make[1]: *** [configure-target-libstdc++-v3] Error 1
    > make[1]: Leaving directory
    >
    > `/usr/local/tools/cross_compiler/openrisc/or32-
    uclinux/ver4.2.2/build/b-
    > gcc'
    > make: *** [all] Error 2
    > -----------------------------------------------------------------
    > I couldn't find the reason about this problem..
    > Please.. help me~!.
    > Thank'U~
    >
    >

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