In legion build config, updated path to GNU tools and updated deprecated Sun CC flag... master origin/HEAD origin/master
authorAaron Taylor <ataylor@subgeniuskitty.com>
Sat, 15 Apr 2023 06:38:35 +0000 (23:38 -0700)
committerAaron Taylor <ataylor@subgeniuskitty.com>
Sat, 15 Apr 2023 06:38:35 +0000 (23:38 -0700)
legion/src/configure.opensparc

index 9a7645f..6d8883f 100644 (file)
@@ -97,20 +97,20 @@ echo $combined
 case $combined in
 solaris9-sparcv9)
        toolspath="$SUN_STUDIO/bin"
 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_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_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"
        mf_loadlibs="-lpthread -lsocket -lnsl -lm -lc -ldl"
 
        mf_def="-DHOST_OS_SOLARIS9=1 -DHOST_CPU_SPARC_V9=1"