[leaf-commits] src/bering-uclibc4/buildtool/make MasterInclude.mk, 1.4, 1.5

Andrew <[email protected]>
Newsgroups gmane.linux.leaf.cvs
Message-ID <[email protected]>
Update of /cvsroot/leaf/src/bering-uclibc4/buildtool/make
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv27457/buildtool/make

Modified Files:
	MasterInclude.mk 
Log Message:
switched default arch to i486; added optimization of code for pentium pro (as most generic i686, that works for both as and gcc)


Index: MasterInclude.mk
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc4/buildtool/make/MasterInclude.mk,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** MasterInclude.mk	17 Sep 2010 19:29:08 -0000	1.4
--- MasterInclude.mk	30 Oct 2010 16:20:49 -0000	1.5
***************
*** 27,36 ****
  # set arch here
  export ARCH:=i386
! export GNU_ARCH:=i686
  #
  export GNU_TARGET_NAME:=$(GNU_ARCH)-pc-linux-uclibc
  # host compiler
  export HOSTCC:=gcc
! #build for:
  export GNU_HOST_NAME:=$(GNU_ARCH)-pc-linux-uclibc
  # target gcc
--- 27,39 ----
  # set arch here
  export ARCH:=i386
! # set target subarch here
! export GNU_ARCH:=i486
! # set target optimization here
! export GNU_TUNE:=pentiumpro
  #
  export GNU_TARGET_NAME:=$(GNU_ARCH)-pc-linux-uclibc
  # host compiler
  export HOSTCC:=gcc
! # build host
  export GNU_HOST_NAME:=$(GNU_ARCH)-pc-linux-uclibc
  # target gcc
***************
*** 50,55 ****
  export LANG=en_US
  
! # default optimization settings for compiling code
! export BT_COPT_FLAGS=-Os -march=i686
  
  # check for linux version
--- 53,58 ----
  export LANG=en_US
  
! # default optimization settings for compiling code 
! export BT_COPT_FLAGS=-Os -march=$(GNU_ARCH) -mtune=$(GNU_TUNE)
  
  # check for linux version


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.