1,223
社区成员




问题:
Linux SunOS 下Tuxedo编译buildserver时,gcc默认待“-mt”导致编译失败,如何将mt默认项去除?
编译过程:
buildserver -o simpserv -f simpserv.c -s TOUPPER
gcc: error: unrecognized command line option '-mt'
CMDTUX_CAT:1832: ERROR: can't execute gcc -m64 -xarch=v9 -w -mt -I$TUXDIR/include -o simpserv BS-46d4.c -L${TUXDIR}/lib simpserv.c -ltux -lbuft -lfml -lfml32 -lengine -R/usr/lib/lwp -lpthread -lposix4 -lsocket -lnsl -lm -lnsl -lsocket
gcc --version gcc (GCC) 4.8.2 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.