lkml.org 
[lkml]   [2000]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Running SPEC SFS 2.0 on Linux
On Mon, 2 Oct 2000, Samar Sharma wrote:

>
> Does anyone have experience with running SPEC SFS 2.0 on kernel 2.4 ?
>
> Specifically, I am looking for the values in C.vendor and M.vendor files.
>

attached. Enjoy.

Regards,
Tigran
#!/bin/sh
#
##############################################################################
#
# @(#)C.solaris2 2.1 97/10/23
#
# Specify vendor specific command paths and commands for the LADDIS tools
#
# The variables: PASSWD_FILE, FSTAB_FILE, GROUP_FILE, HOSTNAME_CMD, RSH_CMD
# allow you to specify the LADDIS client command for use in running the
# Remote Client Setup Utilities the clients.
#
# The default command/path options are implied if no values are assigned to
# the variables. The variables and their meaning are as follows:
#
# PASSWD_FILE - Name of the client's passwd file.
# FSTAB_FILE - Name of the client's fstab file.
# GROUP_FILE - Name of the client's group file.
# HOSTNAME_CMD - Client's hostname command.
# RSH_CMD - Client's rsh command.
# SHELL - Client's bourne shell (/bin/sh or /bin/sh5).
# AWK_CMD - Client's awk command (/bin/sh -> awk or /bin/sh5 -> nawk).
# PS_CMD - Client's ps command.
# ECHO - The echo command.
# ECHO_NONL - The echo command used for questions that no newline is
# needed. This is used in conjunction with the parameter
# NONL. The options are: ECHO_NONL="echo -n" with NONL="" or
# ECHO_NONL="echo" with NONL="\c".
# NONL - The no newline option for the echo command.
#
#
PASSWD_FILE="/etc/passwd"
FSTAB_FILE="/etc/fstab"
GROUP_FILE="/etc/group"
HOSTNAME_CMD="uname -n"
RSH_CMD="rsh"
SHELL="/bin/sh"
AWK_CMD="awk"
PS_CMD="ps -ef"
ECHO="echo"
ECHO_NONL="echo"
NONL="\c"

#
export PASSWD_FILE FSTAB_FILE GROUP_FILE SHELL
export HOSTNAME_CMD RSH_CMD
export AWK_CMD PS_CMD ECHO NONL
#
# @(#)M.solaris2 2.1 97/10/23
#
# SUN Solaris 2.x specific Makefile wraper
#
# usage examples:
# make -f M.solaris2
# make -f M.solaris2 run

MACHID = linux

# C compiler and library options for compiling the benchmark programs.
# This example enables SAR within the benchmark for UNIX System VR4
# EXTRA_CFLAGS = -DSAR

CC=gcc
OPT = -O
#CFLAGS = -v -Xc -D__sparc -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1
CFLAGS = -v -DNO_T_TYPES -Dfds_bits=__fds_bits
LDFLAGS =
#EXTRA_CFLAGS = -DPORTMAP -DHAVE_INTTYPES
EXTRA_CFLAGS = -DPORTMAP
EXTRA_LDFLAGS =
EXTRA_LINTFLAGS=
LIBS=-lm
EXTRA_LIBS =

#
# If the server requires the client to be bound to a reserved port add this
#RESVPORT_MOUNT=-DRESVPORT
RESVPORT_MOUNT=
#

# SUN SunOS definitions
# For Solaris 2.X (SunOS 5.X) or later
OSTYPE = -DSVR4
#

STD_TGTS = all install clean clobber lint

$(STD_TGTS):
@make MACHID="${MACHID}" CC="${CC}" CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}" EXTRA_CFLAGS="${EXTRA_CFLAGS}" \
EXTRA_LDFLAGS="${EXTRA_LDFLAGS}" EXTRA_LIBS="${EXTRA_LIBS}" \
LIBS="${LIBS}" OSTYPE="${OSTYPE}" OPT="${OPT}" \
EXTRA_LINTFLAGS="${EXTRA_LINTFLAGS}" \
RESVPORT_MOUNT="${RESVPORT_MOUNT}" $@
\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.040 / U:1.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site