~statik/ubuntu/maverick/erlang/erlang-merge-testing

« back to all changes in this revision

Viewing changes to erts/autoconf/ose/sed.ose_ppc750

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-05-01 10:14:38 UTC
  • mfrom: (3.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090501101438-6qlr6rsdxgyzrg2z
Tags: 1:13.b-dfsg-2
* Cleaned up patches: removed unneeded patch which helped to support
  different SCTP library versions, made sure that changes for m68k
  architecture applied only when building on this architecture.
* Removed duplicated information from binary packages descriptions.
* Don't require libsctp-dev build-dependency on solaris-i386 architecture
  which allows to build Erlang on Nexenta (thanks to Tim Spriggs for
  the suggestion).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# Copyright (C) 2001, Ericsson Telecommunications
3
 
# Author: Peter Andersson
4
 
#
5
 
# This sed program file is intended to be used when creating Makefiles for OSE PPC750
6
 
# from the generic Makefile.in that is found in a number of directories (see configure.ose)
7
 
#
8
 
 
9
 
s|@host@|ose_ppc750|
10
 
s|@system_type@|ose_ppc750|
11
 
s|@CC@|DIABLIB=/usr/local/share/pgm/diab-4.3f PATH=/usr/local/share/pgm/diab-4.3f/SUNS/bin dcc|
12
 
s|@HCC@|gcc|
13
 
s|@LD@|DIABLIB=/usr/local/share/pgm/diab-4.3f PATH=/usr/local/share/pgm/diab-4.3f/SUNS/bin dld|
14
 
s|@DED_LD@|DIABLIB=/usr/local/share/pgm/diab-4.3f PATH=/usr/local/share/pgm/diab-4.3f/SUNS/bin dld|
15
 
s|@LIBS@||
16
 
s|@COMB_OBJ_FLAG@||
17
 
s|@RANLIB@|ranlib|
18
 
s|@AR@|DIABLIB=/usr/local/share/pgm/diab-4.3f PATH=/usr/local/share/pgm/diab-4.3f/SUNS/bin dar|
19
 
s|@OS@|ose|
20
 
s|@ARCH@|ppc750|
21
 
s|@PERFCTR_PATH@||
22
 
s|@TAR@|tar cvf|
23
 
 
24
 
# -tPPC750E<C>:ose, where C is N (no float), S (SW float) or H (HW float).
25
 
 
26
 
# Local static variables optimization (0x80000000) screws up addressing of some global variables,
27
 
# we'll disable it for all files using -Xkill-opt=0x80000000 (opt compilation only).
28
 
 
29
 
s|@CFLAGS_NOOPT@|@GENERAL_CFLAGS@ -tPPC750ES:ose @DIAB_OPTS@ @DIAB_INCLS@ @OSE_INCLS@ -I\./ @OSE_DEFS@ -DUSE_ERL_DEBUG_PRINTF|
30
 
s|@CFLAGS@|@GENERAL_CFLAGS@ -tPPC750ES:ose -XO -Xkill-opt=0x80000000 @DIAB_OPTS@ @DIAB_INCLS@ @OSE_INCLS@ -I\./ @OSE_DEFS@ -DUSE_ERL_DEBUG_PRINTF|
31
 
s|@DEBUG_CFLAGS@|@GENERAL_CFLAGS@ -tPPC750ES:ose @DIAB_OPTS@ @DIAB_INCLS@ @OSE_INCLS@ -I\./ @OSE_DEFS@ -DUSE_ERL_DEBUG_PRINTF|
32
 
 
33
 
# Note! -DNO_JUMP_TABLE no good for performance, but beam_emu.c will not compile otherwise.
34
 
# beam_emu.c may be compiled separately with gcc (for VxWorks) instead 
35
 
# (and linked with the rest - it works!).
36
 
s|@VXCC@|@VXTTPREFIX@ccppc|
37
 
s|@VXLD@|@VXTTPREFIX@ldppc|
38
 
s|@VXLDFLAGS@||
39
 
# use ppc860 libs for soft float support
40
 
s|@VXCCLIBFLAGS@|-L@WIND_BASE@/host/@HOST_TYPE@/lib/gcc-lib/powerpc-wrs-vxworks/cygnus-2.7.2-960126/soft-float -lgcc|
41
 
s|@SYMPREFIX@||
42
 
s|@STRIP@|@VXTTPREFIX@stripppc|
43
 
s|@VXCFLAGS@|-c -O2 -msoft-float -mstrict-align -fvolatile -fno-builtin -fno-for-scope -D_GNU_TOOL -I./ -DPOWERPC -DOSE_DELTA -DBIG_ENDIAN -D_OSE_ -D_OSE_PPC750_ -Ibeam -Isys/ose -Iose_ppc750 -Izlib -Ihipe -DOSPP @OSE_INCLS@ -I$$WIND_BASE/target/h @DIAB_INCLS@ -DCPU=PPC603|
44