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: Kuoping Hsu<kuoping@s...>
    Date: Wed Jul 7 03:48:08 CEST 2004
    Subject: [openrisc] OpenRISC Simulator
    Top
    > * jorgensc@e... (jorgensc@e...) wrote:
    > > I'm having trouble installing the or1ksim in Cygwin. Has anyone done this
    > > succesfully? It doesn't build correctly. Any ideas?
    > >
    > > It gives miltiple errors like this first one:
    > >
    > > ..
    > > gcc -g -O2 -DOR32 generate.c -o generate
    > > /cygdrive/c/Temp/cc1IegwA.o(.text+0x8a4): In function `gen_eval_operands':
    > > /or1k/or1ksim/cpu/or32/generate.c:192: undefined reference to `_op_start'

    There are something wrong with the newest version of Cygwin. You can see the document
    http://www.teisa.unican.es/~csanchez/guides/building_or1ksim.html to build up the
    or1ksim.It force configuration using following old utilities:

    autoconf-2.13
    autoheader-2.13
    automake-1.4

    In my configuration, I use following tools for the Cygwin:

    autoconf-2.13
    autoheader-2.13
    automake-1.4-p6

    I think it has compability problem on the automake tools. When I meet a error message, I
    do a manual step to compile the source code. And it works in my enviroment. Just for
    reference, you can try it.

    Kuoping

    == CUT HERE ==
    %> cd or1ksim
    %> ./configuration --target=or32-rtems --prefix=/opt/or32-rtems
    %> make

    ... blah ... blah ....
    ... some error message ....

    %> cd cpu/or32

    %>
    gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cp
    u/or32 -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../perip
    heral/channels -I../../pm -I../../pic -I../../debug -I../../vapi -I../../support -I../../c
    uc -g -O2 -DOR32 -c `test -f or32.c || echo './'`or32.c

    %>
    gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cp
    u/or32 -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../perip
    heral/channels -I../../pm -I../../pic -I../../debug -I../../vapi -I../../support -I../../c
    uc -g -O2 -DOR32 -c `test -f generate.c || echo './'`generate.c

    %> gcc -g -O2 -DOR32 -o generate or32.o generate.o

    %> cd ../..

    %> make

    == END ==


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