I'm trying to compile cURLpp (0.7.2) on Solaris 10 with the Sun C++
Compiler (CC).  On the configure line I've passed "CC=cc CXX=CC" to
indicate I want to use the Sun Compiler to build.  Everything seems to
be fine until I get to compiling the examples and the build errors out
with this:

/bin/bash ../libtool --silent --tag=CXX --mode=link CC -I../  -W -Wall
-Werror -L../curlpp/ -lcurlpp -static -L${my_curl_lib_path} -o
example01  example01.o  -lcurl -lstdc++
CC: Warning: Option -W passed to ld, if ld is invoked, ignored
otherwise
CC: Warning: Option -Wall passed to ld, if ld is invoked, ignored
otherwise
CC: Warning: Option -Werror passed to ld, if ld is invoked, ignored
otherwise
/usr/ccs/bin/ld: illegal option -- W
/usr/ccs/bin/ld: illegal option -- W
/usr/ccs/bin/ld: illegal option -- W

My question is why is it still trying to pass options that are
obviously intended for gcc only (-W -Wall -Werror) to the Solaris
compiler/linker?   Shouldn't configure be handling all of this?

-Ben
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"curlpp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/curlpp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to