It looks like a shell error. I simplfied the qmake generated Makefile to 
compile a helloworld.cpp file, i still get the error. I use a freshly installed 
2008.05 OpenSolaris 

--------------- test Makefile ---------------------------
CC            = $CC
CXX           = $CXX
CFLAGS        = $CFLAGS -O 
CXXFLAGS      = $CXXFLAGS -O2

####### Implicit rules
.SUFFIXES: .o .c .cpp .cc .cxx .C
.cpp.o:
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
.c.o:
        $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
OBJECTS:  helloworld.o
all: $(OBJECTS)
-----------------------------------------------------------

i tried both make and gmake, both give the error:
XX -c XXFLAGS -O2  -o "helloworld.o" "helloworld.cpp"
sh: line 1: XX: not found

make is in /usr/bin/make and link in /usr/ccs/bin/make 
gmake is in  /bin/gmake and links in usr/sfw/bin/gmake, usr/gnu/bin/make

shell is:
GNU bash, version 3.2.25(1)-release (i386-pc-solaris2.11)
Copyright (C) 2005 Free Software Foundation, Inc.
--
This message posted from opensolaris.org

Reply via email to