From: Aaron Taylor Date: Sat, 15 Apr 2023 06:38:35 +0000 (-0700) Subject: In legion build config, updated path to GNU tools and updated deprecated Sun CC flag... X-Git-Url: http://git.subgeniuskitty.com/OpenSPARC-T2-SAM/.git/commitdiff_plain In legion build config, updated path to GNU tools and updated deprecated Sun CC flag for 64-bit builds. --- diff --git a/legion/src/configure.opensparc b/legion/src/configure.opensparc index 9a7645f..6d8883f 100644 --- a/legion/src/configure.opensparc +++ b/legion/src/configure.opensparc @@ -97,20 +97,20 @@ echo $combined case $combined in solaris9-sparcv9) toolspath="$SUN_STUDIO/bin" - gnupath="/pkg/gnu/bin" + gnupath="/usr/sfw/bin" mf_as="/usr/ccs/bin/as" mf_asflags="-xarch=v9a" mf_cc="$toolspath/cc" mf_cplus="$toolspath/CC" - mf_cflags="-xildoff -xO0 -g -xarch=v9 -v -mt -xcode=pic32 -KPIC" - mf_cflags_nondebug="-xildoff -xspace -xO3 -fast -xarch=v9 -v -mt -xcode=pic32 -KPIC" + mf_cflags="-xildoff -xO0 -g -m64 -v -mt -xcode=pic32 -KPIC" + mf_cflags_nondebug="-xildoff -xspace -xO3 -fast -m64 -v -mt -xcode=pic32 -KPIC" mf_cpp="$gnupath/cpp" mf_flex="$gnupath/flex" mf_sharedcflags= mf_sharedlibflags="-G -L ./plugins" - mf_ldflags="-xarch=v9 -R'\$\$ORIGIN/plugins'" + mf_ldflags="-m64 -R'\$\$ORIGIN/plugins'" mf_loadlibs="-lpthread -lsocket -lnsl -lm -lc -ldl" mf_def="-DHOST_OS_SOLARIS9=1 -DHOST_CPU_SPARC_V9=1"