OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [toolchain_install_scripts/] [MOF_ORSOC_TCHN_v5c_or32-elf.sh] - Diff between revs 74 and 75

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 74 Rev 75
Line 84... Line 84...
# 021209 - Added --disable-werror flag to gdb-6.8 configure line to fix issue
# 021209 - Added --disable-werror flag to gdb-6.8 configure line to fix issue
#          with gcc-4.4.1
#          with gcc-4.4.1
# 110310 - Moved or1ksim to its own directory in the chosen install directory
# 110310 - Moved or1ksim to its own directory in the chosen install directory
# 140310 - Fixed problem with mkdir command
# 140310 - Fixed problem with mkdir command
# 140310 - Fixed ncurses header checking
# 140310 - Fixed ncurses header checking
 
# 010410 - Fixed ncurses header checking on Cygwin (added -I path to gcc cmd)
 
 
# TODO: OS X build things - need an "elf.h" from some Linux machine's
# TODO: OS X build things - need an "elf.h" from some Linux machine's
#       /usr/local/include dir and put in Mac's /usr/local/include dir -
#       /usr/local/include dir and put in Mac's /usr/local/include dir -
#       this solves issue with Linux compilation
#       this solves issue with Linux compilation
# TODO: OS X build things - add HOST_LOADLIBES="lintl" to make line of uClibc
# TODO: OS X build things - add HOST_LOADLIBES="lintl" to make line of uClibc
Line 145... Line 146...
"
"
header_check() {
header_check() {
    # Compile a simple program, including the header we're checking for
    # Compile a simple program, including the header we're checking for
    echo "#include <$1.h>" > header_check.c
    echo "#include <$1.h>" > header_check.c
    echo "int main () { return 0; }" >> header_check.c
    echo "int main () { return 0; }" >> header_check.c
    gcc header_check.c
    gcc header_check.c -I/usr/include/$1
}
}
 
 
check_essential_build_tools()
check_essential_build_tools()
{
{
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.