Issue 27575 - curl doesn't compile/link with ccache
Summary: curl doesn't compile/link with ccache
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: OOo 1.1.1
Hardware: All Mac OS X, all
: P3 Trivial (vote)
Target Milestone: OOo 1.1.2
Assignee: pavel
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks: 42382
  Show dependency tree
 
Reported: 2004-04-07 19:01 UTC by pavel
Modified: 2004-04-28 16:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description pavel 2004-04-07 19:01:59 UTC
Why compiling curl:

/bin/sh ../libtool --mode=link /Users/pjanik/BuildDir/ccache /usr/bin/gcc  -g
-O2   -o libcurl.la -rpath /usr/local/lib -no-undefined -avoid-version  file.lo
timeval.lo base64.lo hostip.lo progress.lo formdata.lo cookie.lo http.lo
sendf.lo ftp.lo url.lo dict.lo if2ip.lo speedcheck.lo getdate.lo ldap.lo
ssluse.lo version.lo getenv.lo escape.lo mprintf.lo telnet.lo getpass.lo
netrc.lo getinfo.lo transfer.lo strequal.lo easy.lo security.lo krb4.lo
memdebug.lo http_chunks.lo strtok.lo connect.lo llist.lo hash.lo multi.lo  
rm -fr .libs/libcurl.la .libs/libcurl.* .libs/libcurl.*
/Users/pjanik/BuildDir/ccache -dynamiclib  -o .libs/libcurl.dylib  file.lo
timeval.lo base64.lo hostip.lo progress.lo formdata.lo cookie.lo http.lo
sendf.lo ftp.lo url.lo dict.lo if2ip.lo speedcheck.lo getdate.lo ldap.lo
ssluse.lo version.lo getenv.lo escape.lo mprintf.lo telnet.lo getpass.lo
netrc.lo getinfo.lo transfer.lo strequal.lo easy.lo security.lo krb4.lo
memdebug.lo http_chunks.lo strtok.lo connect.lo llist.lo hash.lo multi.lo  -lc
-install_name  /usr/local/lib/libcurl.dylib 
ccache: illegal option -- d
ccache, a compiler cache. Version 2.3

Changing the line

CCLD = $(CC)

to

CCLD = "$(CC)"

helped.

I will verify on other platforms first.
Comment 1 pavel 2004-04-07 19:05:32 UTC
accept
Comment 2 foskey 2004-04-07 22:53:32 UTC
There might be a cross over to issue 26529 here.
Comment 3 pavel 2004-04-09 17:45:19 UTC
Fixed in cws_srx645_ooo112fix1.
Comment 4 pavel 2004-04-28 16:51:01 UTC
Verified, closing.