1819805 Members
2839 Online
109607 Solutions
New Discussion юеВ

gmake vs make

 
SOLVED
Go to solution
Dario_1
Trusted Contributor

gmake vs make

When trying to compile the xerces-c source to build the libserces-c.sl on HP UX 11i these errors are reported

We are running gcc 3.2 and gmake-3.79.1-11.00.depot. The system created a make command instead of a gmake and has no -o option. The person who is running it is using a -o option. Is make the same as gmake? Thank you.

g++ -D_HP_UX -DXERCES_TMPLSINC -DHPUX11 +DAportable +eh +Z -Z +a1 +d -ptr/ecomet
ry/ecomxml/xerces-c-src2_2_0/obj/HPUX/ptrepository -c -I/ecometry/ecomxml/xerces
-c-src2_2_0/include -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPR
OJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER
-DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS
-DXML_USE_NETACCESSOR_SOCKET
-o /ecometry/ecomxml/xerces-c-src2_2_0/obj/HPUX/XMLChar.o XMLChar.cpp
g++: cannot specify -o with -c or -S and multiple compilations
make[1]: *** [XMLChar.o] Error 1
make[1]: Leaving directory `/ecometry/ecomxml/xerces-c-src2_2_0/src/xercesc/util
'
make: *** [Util] Error 2
5 REPLIES 5
Christopher Caldwell
Honored Contributor
Solution

Re: gmake vs make

make and gmake are not the same. There are trivial differences that have been known to cause enormous headaches.

Generally, the right thing will happen if you make sure that configure or the utility that builds the makefiles finds the correct "make" by verifying that both make and gmake are in $PATH.
Dario_1
Trusted Contributor

Re: gmake vs make

Please disregard. Looking at this error I noticed that this has nothing to do with make/gmake it is a gcc error.

Thank you for your help.
Dario_1
Trusted Contributor

Re: gmake vs make

Christopher:

Thank you for your answer. I was thinking that I had everything resolved but I am even more confused now because I found gmake-3.79.1-11.00.depot but when installed, it installed make instead of gmake. Would make do the same as gmake if I have the correct path? if not, Where can I find gmake? I look under gnu.org and found the same 3.79 version.

Thank you again.

Regarding the error: I am still thinking he is using the wrong options.
H.Merijn Brand (procura
Honored Contributor

Re: gmake vs make

gmake-3.80 is available as prebuilt binary from my ITRC site on https://www.beepz.com/personal/merijn/ or http://www.cmve.net/~merijn/

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Dario_1
Trusted Contributor

Re: gmake vs make

Procura:

Thank you for your reply.