Main Page | Data Structures | Directories | File List | Data Fields | Globals

mips-le-elf.inc

Go to the documentation of this file.
00001 #
00002 # Copyright (c) 2002-2004 Sam Leffler, Errno Consulting
00003 # All rights reserved.
00004 #
00005 # Redistribution and use in source and binary forms, with or without
00006 # modification, are permitted provided that the following conditions
00007 # are met:
00008 # 1. Redistributions of source code must retain the above copyright
00009 #    notice, this list of conditions and the following disclaimer,
00010 #    without modification.
00011 # 2. Redistributions in binary form must reproduce at minimum a disclaimer
00012 #    similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
00013 #    redistribution must be conditioned upon including a substantially
00014 #    similar Disclaimer requirement for further binary redistribution.
00015 # 3. Neither the names of the above-listed copyright holders nor the names
00016 #    of any contributors may be used to endorse or promote products derived
00017 #    from this software without specific prior written permission.
00018 #
00019 # Alternatively, this software may be distributed under the terms of the
00020 # GNU General Public License ("GPL") version 2 as published by the Free
00021 # Software Foundation.
00022 #
00023 # NO WARRANTY
00024 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00025 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00026 # LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY
00027 # AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
00028 # THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
00029 # OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
00030 # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00031 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
00032 # IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
00033 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
00034 # THE POSSIBILITY OF SUCH DAMAGES.
00035 #
00036 # $Id: mips-le-elf.inc,v 1.1 2005/02/22 19:07:30 jbicket Exp $
00037 #
00038 
00039 #
00040 # Configuration for building little-endian MIPS2 using the 5.01
00041 # linux-mips.org toolchain (manually moved to /pub/gnu from
00042 # /pub/gnu/local where rpm --prefix=/pub/gnu bogusly installs them).
00043 
00044 #
00045 # http://www.linux-mips.org/toolchain.html
00046 #
00047 # /pub/gnu/bin/mips-linux-gcc -v
00048 # Reading specs from /pub/gnu/bin/../lib/gcc-lib/mips-linux/2.96-mips3264-000710/specs
00049 # gcc version 2.96-mips3264-000710
00050 # /pub/gnu/bin/mips-linux-as -v
00051 # GNU assembler version 2.12.90.0.7 (mips-linux) using BFD version 2.12.90.0.7 20020423
00052 
00053 #
00054 ifndef TOOLPREFIX
00055 TOOLPREFIX=     /pub/gnu/bin/mips-linux-
00056 endif
00057 #
00058 CC=     ${TOOLPREFIX}gcc
00059 LD=     ${TOOLPREFIX}ld
00060 STRIP=  ${TOOLPREFIX}strip
00061 OBJCOPY=${TOOLPREFIX}objcopy
00062 NM=     ${TOOLPREFIX}nm
00063 
00064 LDOPTS= -EL
00065 COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
00066 COPTS+= -G 0 -EL -mno-abicalls -fno-pic -mips2 -Wa,--trap \
00067         -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls

Generated on Mon Nov 21 15:58:11 2005 for openwifi by  doxygen 1.4.1