Alan Coopersmith <[EMAIL PROTECTED]> wrote:
> Ying Kit Cheung wrote:
> > Hi all,
> >
> > I want to perform a benchmark using sysbench for mysql on solaris x64 box,
> > but I found that compile failure for both gcc and sun studio 11.
> >
> > cc -DHAVE_CONFIG_H -I. -I. -I../../../config -I/opt/mysql/include/mysql
> > -xO3 -mt -fsimple=1 -ftrap=%none -nofstore -xbuiltin=%all -xlibmil
> > -xlibmopt -xtarget=opteron -xarch=amd64 -xregs=no%frameptr -I../..
> > -D_REENTRANT -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -W -Wall -Wpointer-arith
> > -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Winline
> > -funroll-loops -fomit-frame-pointer -g -c -o libsbmysql_a-drv_mysql.o `test
> > -f 'drv_mysql.c' || echo './'`drv_mysql.c
> > cc: illegal option -W-Wall
>
> -Wall is gcc-specific, but software authors who think portability
> means "running on both Fedora and Debian" are known to put it in
> their configure scripts to force it on for all compilers, which
> doesn't work.
Another problem is the tool incorrectly called "automake".
This is just another makefile generator that lives in the
software enginering of the 1970s ignoring better makefile
ideas from e.g. plan 9.
The "automake" tools cause the impression that they cause
portable makefiles but rather forward incorrect make syntax from
the author of the file makefile.am into Makefile.
Jörg
--
EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
[EMAIL PROTECTED] (uni)
[EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-discuss mailing list
[email protected]