Building dev tools for Solaris x86

Sascha Ferley <[email protected]> Fri, 8 Aug 2003 00:32:37 -0600 (MDT)
Newsgroups gmane.comp.db.sapdb.sources
Message-ID <[email protected]>
Hi,
I am at it again trying to build the Dev tools for Solaris x86, and i run
into some issues.. I am searching the code for the flag assignment to the
SunPro c-compilers, which DON'T support the -K thread flag. But somehow it
is always added in when getting to the vmake point in the compilation.
I searched the machineInfo.c file fixing a few definitions in there to get
this far at all.

Any other ideas where the "-K" "thread" is pushed to the cc options?

The error that i get is below.

Thanks for any hints

Sascha

gmake[1]: Leaving directory `/export/home0/admin/solstice/SAP/TOOLSRC'
/export/home0/admin/solstice/SAP/TOOLSRC/envexec
/export/home0/admin/solstice/SAP/TOOLSRC
/export/home0/admin/solstice/SAP/TOOLSRC perl
/export/home0/admin/solstice/SAP/TOOLSRC/bin/imf.pl -i alltools.mac
sh: /export/home0/admin/solstice/SAP/TOOLSRC/pgm/GetBuildNr: not found
caution: Can't get a buildnumber. Won't use buildnumber.
vmake 10.02.13 24-06-2003
VMAKE_PATH      =/export/home0/admin/solstice/SAP/TOOLSRC,
08-08-03 00:16:50 start  of    collection phase
08-08-03 00:16:54 end    of    collection phase
08-08-03 00:16:54 start  of    alltools.mac   fast
machineInfo.c fast
cc: illegal option -Kthread
Error while executing "/opt/SUNWspro/bin/cc -DREL30 -DSVR4 -DI386 -DSAG\
 -I/export/home0/admin/solstice/SAP/TOOLSRC/sys/wrk/incl/SAPDB/STLport/s\
tlport -I/export/home0/admin/solstice/SAP/TOOLSRC/sys/wrk/incl/SAPDB -I/\
export/home0/admin/solstice/SAP/TOOLSRC/usr/incl -I/export/home0/admin/s\
olstice/SAP/TOOLSRC/sys/wrk/incl -I/export/home0/admin/solstice/SAP/TOOL\
SRC/sys/wrk/incl/SAPDB -Xa -D_SVID -KPIC -DFAST=FAST -DSAPDB_FAST -K thr\
ead -O2 -I/export/home0/admin/solstice/SAP/TOOLSRC/incl -c machineInfo.c\
"
message:
COMMAND error 1
'machineInfo.lnk' not made because of dependency errors