URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
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()
|
{
|
{
|
|
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.