Issue 32984 - vcl/unx/source/app/makefile.mk: using CC and not $(CC)?
Summary: vcl/unx/source/app/makefile.mk: using CC and not $(CC)?
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: current
Hardware: All All
: P5 (lowest) Trivial (vote)
Target Milestone: OOo 2.0
Assignee: hjs
QA Contact: issues@gsl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-13 18:09 UTC by pavel
Modified: 2010-08-25 13:06 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-08-13 18:09:23 UTC
Hi,

makefile.mk contains:

$(SLO)$/%.obj: %.s
        CC -c -o $(@:s/.obj/.o/) $< && touch $@

What is it use? Is it used at all? Almost no system has CC (except Solaris).
Comment 1 christof.pintaske 2004-08-16 10:01:13 UTC
it's a rule to compile an assembler file. The file is only available for Solaris
Sparc and Solaris Intel and is tailored for CC compiled code, it doesn't work
with gcc. I don't know if it even does compile with gcc. And yes, it's a hack.
Comment 2 hjs 2004-08-16 12:05:39 UTC
it's a local solution to a local problem and therefore not as dirty as it looks
on first glance. but i'm not sure if the two objects where this rule is used for
are still required.
and yes, it should read "$(CXX)" instead of "CC" but that's a minor issue here
as the code is meant for sun CC only.
Comment 3 hjs 2004-09-09 14:55:24 UTC
any concerns closing this?
Comment 4 pavel 2004-09-10 20:04:23 UTC
no, but can we at least comment the purpose of this "local" code ;-) It is not
that clear from the "external" point of view...
Comment 5 hjs 2004-09-13 12:18:00 UTC
added comment
Comment 6 hjs 2004-09-13 12:18:17 UTC
.
Comment 7 hjs 2004-09-16 12:38:14 UTC
.
Comment 8 hjs 2004-09-30 10:48:44 UTC
.
Comment 9 Unknown 2010-07-12 00:24:31 UTC
Created attachment 70563
Comment 10 Unknown 2010-07-12 00:27:31 UTC
Created attachment 70567
Comment 11 Unknown 2010-07-12 00:28:11 UTC
Created attachment 70568
Comment 12 Unknown 2010-08-25 12:59:12 UTC
Created attachment 71380
Comment 13 Unknown 2010-08-25 13:06:41 UTC
Created attachment 71384