Fixing

parent ea5a8233
...@@ -200,8 +200,8 @@ ECHO_N = -n ...@@ -200,8 +200,8 @@ ECHO_N = -n
ECHO_T = ECHO_T =
ENCLAVE_SIGN_TARGET = signed_enclave_dev ENCLAVE_SIGN_TARGET = signed_enclave_dev
EXEEXT = .so EXEEXT = .so
GMP_CPPFLAGS = -I/d/gmp-build//include GMP_CPPFLAGS =
GMP_LDFLAGS = -L/d/gmp-build//lib GMP_LDFLAGS =
INSTALL = /usr/bin/install -c INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644 INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL} INSTALL_PROGRAM = ${INSTALL}
...@@ -246,8 +246,8 @@ SGX_UAE_SERVICE_LIB = sgx_uae_service ...@@ -246,8 +246,8 @@ SGX_UAE_SERVICE_LIB = sgx_uae_service
SGX_URTS_LIB = sgx_urts SGX_URTS_LIB = sgx_urts
SHELL = /bin/bash SHELL = /bin/bash
STRIP = STRIP =
TGMP_CPPFLAGS = -I/opt/gmp/6.1.2/include TGMP_CPPFLAGS =
TGMP_LDFLAGS = -L/opt/gmp/6.1.2/lib TGMP_LDFLAGS =
VERSION = 1.0 VERSION = 1.0
abs_builddir = /d/sgxd/EnclaveGmpTest abs_builddir = /d/sgxd/EnclaveGmpTest
abs_srcdir = /d/sgxd/EnclaveGmpTest abs_srcdir = /d/sgxd/EnclaveGmpTest
...@@ -282,7 +282,7 @@ mandir = ${datarootdir}/man ...@@ -282,7 +282,7 @@ mandir = ${datarootdir}/man
mkdir_p = $(MKDIR_P) mkdir_p = $(MKDIR_P)
oldincludedir = /usr/include oldincludedir = /usr/include
pdfdir = ${docdir} pdfdir = ${docdir}
prefix = /usr/local prefix = /d/tsgx-build
program_transform_name = s,x,x, program_transform_name = s,x,x,
psdir = ${docdir} psdir = ${docdir}
runstatedir = ${localstatedir}/run runstatedir = ${localstatedir}/run
......
...@@ -276,8 +276,8 @@ ECHO_N = -n ...@@ -276,8 +276,8 @@ ECHO_N = -n
ECHO_T = ECHO_T =
ENCLAVE_SIGN_TARGET = signed_enclave_dev ENCLAVE_SIGN_TARGET = signed_enclave_dev
EXEEXT = EXEEXT =
GMP_CPPFLAGS = -I/d/gmp-build//include GMP_CPPFLAGS =
GMP_LDFLAGS = -L/d/gmp-build//lib GMP_LDFLAGS =
INSTALL = /usr/bin/install -c INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644 INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL} INSTALL_PROGRAM = ${INSTALL}
...@@ -322,8 +322,8 @@ SGX_UAE_SERVICE_LIB = sgx_uae_service ...@@ -322,8 +322,8 @@ SGX_UAE_SERVICE_LIB = sgx_uae_service
SGX_URTS_LIB = sgx_urts SGX_URTS_LIB = sgx_urts
SHELL = /bin/bash SHELL = /bin/bash
STRIP = STRIP =
TGMP_CPPFLAGS = -I/opt/gmp/6.1.2/include TGMP_CPPFLAGS =
TGMP_LDFLAGS = -L/opt/gmp/6.1.2/lib TGMP_LDFLAGS =
VERSION = 1.0 VERSION = 1.0
abs_builddir = /d/sgxd abs_builddir = /d/sgxd
abs_srcdir = /d/sgxd abs_srcdir = /d/sgxd
...@@ -358,7 +358,7 @@ mandir = ${datarootdir}/man ...@@ -358,7 +358,7 @@ mandir = ${datarootdir}/man
mkdir_p = $(MKDIR_P) mkdir_p = $(MKDIR_P)
oldincludedir = /usr/include oldincludedir = /usr/include
pdfdir = ${docdir} pdfdir = ${docdir}
prefix = /usr/local prefix = /d/tsgx-build
program_transform_name = s,x,x, program_transform_name = s,x,x,
psdir = ${docdir} psdir = ${docdir}
runstatedir = ${localstatedir}/run runstatedir = ${localstatedir}/run
...@@ -389,8 +389,8 @@ COMMON_ENCLAVE_SRC = EnclaveGmpTest_u.c EnclaveGmpTest_u.h \ ...@@ -389,8 +389,8 @@ COMMON_ENCLAVE_SRC = EnclaveGmpTest_u.c EnclaveGmpTest_u.h \
libBLS/bls/BLSPrivateKey.cpp \ libBLS/bls/BLSPrivateKey.cpp \
libBLS/bls/BLSSignature.cpp \ libBLS/bls/BLSSignature.cpp \
libBLS/bls/BLSutils.cpp \ libBLS/bls/BLSutils.cpp \
libff/libff/algebra/curves/alt_bn128/alt_bn128_init.cpp \ /d/sgxd/libff/libff/algebra/curves/alt_bn128/alt_bn128_init.cpp \
libff/libff/algebra/curves/alt_bn128/alt_bn128_g1.cpp /d/sgxd/libff/libff/algebra/curves/alt_bn128/alt_bn128_g1.cpp
sgxgmpmath_SOURCES = sgxgmpmath.c $(COMMON_SRC) sgxgmpmath_SOURCES = sgxgmpmath.c $(COMMON_SRC)
nodist_sgxgmpmath_SOURCES = $(COMMON_ENCLAVE_SRC) nodist_sgxgmpmath_SOURCES = $(COMMON_ENCLAVE_SRC)
......
...@@ -389,8 +389,8 @@ COMMON_ENCLAVE_SRC = EnclaveGmpTest_u.c EnclaveGmpTest_u.h \ ...@@ -389,8 +389,8 @@ COMMON_ENCLAVE_SRC = EnclaveGmpTest_u.c EnclaveGmpTest_u.h \
libBLS/bls/BLSPrivateKey.cpp \ libBLS/bls/BLSPrivateKey.cpp \
libBLS/bls/BLSSignature.cpp \ libBLS/bls/BLSSignature.cpp \
libBLS/bls/BLSutils.cpp \ libBLS/bls/BLSutils.cpp \
libff/libff/algebra/curves/alt_bn128/alt_bn128_init.cpp \ /d/sgxd/libff/libff/algebra/curves/alt_bn128/alt_bn128_init.cpp \
libff/libff/algebra/curves/alt_bn128/alt_bn128_g1.cpp /d/sgxd/libff/libff/algebra/curves/alt_bn128/alt_bn128_g1.cpp
sgxgmpmath_SOURCES = sgxgmpmath.c $(COMMON_SRC) sgxgmpmath_SOURCES = sgxgmpmath.c $(COMMON_SRC)
nodist_sgxgmpmath_SOURCES = $(COMMON_ENCLAVE_SRC) nodist_sgxgmpmath_SOURCES = $(COMMON_ENCLAVE_SRC)
......
...@@ -4,7 +4,7 @@ running configure, to aid debugging if configure makes a mistake. ...@@ -4,7 +4,7 @@ running configure, to aid debugging if configure makes a mistake.
It was created by SGX GMP Test configure 1.0, which was It was created by SGX GMP Test configure 1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --with-trusted-gmpdir=/opt/gmp/6.1.2 --with-gmpdir=/d/gmp-build/ --no-create --no-recursion $ ./configure --prefix=/d/tsgx-build --enable-assembly --disable-shared --enable-static --with-pic --enable-sgx
## --------- ## ## --------- ##
## Platform. ## ## Platform. ##
...@@ -223,6 +223,26 @@ configure:4574: checking that generated files are newer than configure ...@@ -223,6 +223,26 @@ configure:4574: checking that generated files are newer than configure
configure:4580: result: done configure:4580: result: done
configure:4619: creating ./config.status configure:4619: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by SGX GMP Test config.status 1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on skale-Lenovo-ideapad-520-15IKB
config.status:815: creating Makefile
config.status:815: creating EnclaveGmpTest/Makefile
config.status:987: executing depfiles commands
configure:5745: WARNING: unrecognized options: --enable-assembly, --disable-shared, --enable-static, --with-pic, --enable-sgx
## ---------------- ## ## ---------------- ##
## Cache variables. ## ## Cache variables. ##
## ---------------- ## ## ---------------- ##
...@@ -315,8 +335,8 @@ ENCLAVE_RELEASE_SIGN_FALSE='' ...@@ -315,8 +335,8 @@ ENCLAVE_RELEASE_SIGN_FALSE=''
ENCLAVE_RELEASE_SIGN_TRUE='#' ENCLAVE_RELEASE_SIGN_TRUE='#'
ENCLAVE_SIGN_TARGET='signed_enclave_dev' ENCLAVE_SIGN_TARGET='signed_enclave_dev'
EXEEXT='' EXEEXT=''
GMP_CPPFLAGS='-I/d/gmp-build//include' GMP_CPPFLAGS=''
GMP_LDFLAGS='-L/d/gmp-build//lib' GMP_LDFLAGS=''
INSTALL_DATA='${INSTALL} -m 644' INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}' INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}' INSTALL_SCRIPT='${INSTALL}'
...@@ -364,8 +384,8 @@ SGX_UAE_SERVICE_LIB='sgx_uae_service' ...@@ -364,8 +384,8 @@ SGX_UAE_SERVICE_LIB='sgx_uae_service'
SGX_URTS_LIB='sgx_urts' SGX_URTS_LIB='sgx_urts'
SHELL='/bin/bash' SHELL='/bin/bash'
STRIP='' STRIP=''
TGMP_CPPFLAGS='-I/opt/gmp/6.1.2/include' TGMP_CPPFLAGS=''
TGMP_LDFLAGS='-L/opt/gmp/6.1.2/lib' TGMP_LDFLAGS=''
VERSION='1.0' VERSION='1.0'
ac_ct_CC='gcc' ac_ct_CC='gcc'
ac_ct_CXX='g++' ac_ct_CXX='g++'
...@@ -403,7 +423,7 @@ mandir='${datarootdir}/man' ...@@ -403,7 +423,7 @@ mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)' mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include' oldincludedir='/usr/include'
pdfdir='${docdir}' pdfdir='${docdir}'
prefix='/usr/local' prefix='/d/tsgx-build'
program_transform_name='s,x,x,' program_transform_name='s,x,x,'
psdir='${docdir}' psdir='${docdir}'
runstatedir='${localstatedir}/run' runstatedir='${localstatedir}/run'
...@@ -428,22 +448,3 @@ target_alias='' ...@@ -428,22 +448,3 @@ target_alias=''
#define DEBUG 1 #define DEBUG 1
configure: exit 0 configure: exit 0
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by SGX GMP Test config.status 1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on skale-Lenovo-ideapad-520-15IKB
config.status:815: creating Makefile
config.status:815: creating EnclaveGmpTest/Makefile
config.status:987: executing depfiles commands
...@@ -421,7 +421,7 @@ $config_commands ...@@ -421,7 +421,7 @@ $config_commands
Report bugs to <john.p.mechalas@intel.com>." Report bugs to <john.p.mechalas@intel.com>."
ac_cs_config="'--with-trusted-gmpdir=/opt/gmp/6.1.2' '--with-gmpdir=/d/gmp-build/'" ac_cs_config="'--prefix=/d/tsgx-build' '--enable-assembly' '--disable-shared' '--enable-static' '--with-pic' '--enable-sgx'"
ac_cs_version="\ ac_cs_version="\
SGX GMP Test config.status 1.0 SGX GMP Test config.status 1.0
configured by ./configure, generated by GNU Autoconf 2.69, configured by ./configure, generated by GNU Autoconf 2.69,
...@@ -502,7 +502,7 @@ if $ac_cs_silent; then ...@@ -502,7 +502,7 @@ if $ac_cs_silent; then
fi fi
if $ac_cs_recheck; then if $ac_cs_recheck; then
set X /bin/bash './configure' '--with-trusted-gmpdir=/opt/gmp/6.1.2' '--with-gmpdir=/d/gmp-build/' $ac_configure_extra_args --no-create --no-recursion set X /bin/bash './configure' '--prefix=/d/tsgx-build' '--enable-assembly' '--disable-shared' '--enable-static' '--with-pic' '--enable-sgx' $ac_configure_extra_args --no-create --no-recursion
shift shift
$as_echo "running CONFIG_SHELL=/bin/bash $*" >&6 $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
CONFIG_SHELL='/bin/bash' CONFIG_SHELL='/bin/bash'
...@@ -600,10 +600,10 @@ S["am__EXEEXT_FALSE"]="" ...@@ -600,10 +600,10 @@ S["am__EXEEXT_FALSE"]=""
S["am__EXEEXT_TRUE"]="#" S["am__EXEEXT_TRUE"]="#"
S["LTLIBOBJS"]="" S["LTLIBOBJS"]=""
S["LIBOBJS"]="" S["LIBOBJS"]=""
S["TGMP_LDFLAGS"]="-L/opt/gmp/6.1.2/lib" S["TGMP_LDFLAGS"]=""
S["TGMP_CPPFLAGS"]="-I/opt/gmp/6.1.2/include" S["TGMP_CPPFLAGS"]=""
S["GMP_LDFLAGS"]="-L/d/gmp-build//lib" S["GMP_LDFLAGS"]=""
S["GMP_CPPFLAGS"]="-I/d/gmp-build//include" S["GMP_CPPFLAGS"]=""
S["SGX_HW_SIM_FALSE"]="" S["SGX_HW_SIM_FALSE"]=""
S["SGX_HW_SIM_TRUE"]="#" S["SGX_HW_SIM_TRUE"]="#"
S["ENCLAVE_RELEASE_SIGN_FALSE"]="" S["ENCLAVE_RELEASE_SIGN_FALSE"]=""
...@@ -715,7 +715,7 @@ S["libexecdir"]="${exec_prefix}/libexec" ...@@ -715,7 +715,7 @@ S["libexecdir"]="${exec_prefix}/libexec"
S["sbindir"]="${exec_prefix}/sbin" S["sbindir"]="${exec_prefix}/sbin"
S["bindir"]="${exec_prefix}/bin" S["bindir"]="${exec_prefix}/bin"
S["program_transform_name"]="s,x,x," S["program_transform_name"]="s,x,x,"
S["prefix"]="/usr/local" S["prefix"]="/d/tsgx-build"
S["exec_prefix"]="${prefix}" S["exec_prefix"]="${prefix}"
S["PACKAGE_URL"]="" S["PACKAGE_URL"]=""
S["PACKAGE_BUGREPORT"]="john.p.mechalas@intel.com" S["PACKAGE_BUGREPORT"]="john.p.mechalas@intel.com"
......
Subproject commit 5fe7b3aca8e1100bdca0adfc0bec16f114744764 Subproject commit 415ffab84ce5ff79e1bdab1ba3e238bf01f0b04e
Subproject commit 5c70980e43ae9d1158b9c1efd6fdf622574f96bc Subproject commit fa6b4142f75e8e41995c0ebfe90563eb07cce58e
#ifndef OSTREAM_HPP
#define OSTREAM_HPP
namespace std {
class ostream {
;}
;
}
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment