OpenCores

The openrisc bugtracker has been moved to: bugzilla.opencores.org. This page is read-only

Script installation libraries clash

Back to bugtracker overview.

Information:
Type :: BUG
Status :: CLOSED
Assigned to :: Julius, Baxter

Description:

The standard tool installation script has an include directory for all the headers for the GNU tool chain.

However the script also builds Or1ksim, which includes a header for those using it in library form, which goes into the same include directory.

This then causes serious problems when trying to use the Or1ksim library, since specifying this as an include directory will cause all the standard C library function headers to also be picked up from there.

However these are the headers to match GCC 4.2.2 from the Or1ksim tools distribution, and will not generally be identical to the host workstation's headers.

The solution is that the Or1ksim application should be installed in a separate directory to that used for the tool chain.

Jeremy

--
Tel: +44 (1590) 610184
Cell: +44 (7970) 676050
SkypeID: jeremybennett
Email: jeremy.bennett@embecosm.com
Web: www.embecosm.com

Comments:

Baxter, Julius Mar 11, 2010
Ok, script has been updated so that or1ksim is installed in its own path parallel to the or32-elf path in the chosen install directory. A directory with the version suffix is symlinked to a directory just called or1ksim.

Post a comment:
Login to post comments!

Back to bugtracker overview.

© copyright 1999-2012 OpenCores.org, equivalent to ORSoC AB, all rights reserved. OpenCores®, registered trademark.