Issue 4172 - Remove hardcoded libstdc++ version number
Summary: Remove hardcoded libstdc++ version number
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: OOo 1.0.0
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: Unknown
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-22 14:14 UTC by chris
Modified: 2003-02-24 14:10 UTC (History)
2 users (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 chris 2002-04-22 14:14:19 UTC
libstdc++ is hardcoded to 3.0.1 in the following lines in product/util/makefile.mk:

115:    $(DESTDIRDLL)$/libstdc++.so.3.0.1
131:    $(DESTDIRDLL)$/libstdc++.so.3.0.1
147:    $(DESTDIRDLL)$/libstdc++.so.3.0.1
441:$(DESTDIRDLL)$/libstdc++.so.3.0.1 : $(DLLOUT)$/libstdc++.so.3.0.1 $(DIRLIST)
443:    $(GNUCOPY) -p $(DLLOUT)$/libstdc++.so.3.0.1 $@
445:$(DESTDIRDLL)$/libstdc++.so.3 : $(DESTDIRDLL)$/libstdc++.so.3.0.1 $(DIRLIST)
447:    +ln -s libstdc++.so.3.0.1 $@

libstdc++ 3.0.1 is not available in all distributions.  For example, Debian
Woody and Unstable both have libstdc++ 3.0.4, and this works perfectly well with
OOo.

This should be fixed to use a variable instead of a hardcoded version number. 
(I do not have such a patch - for the purposes of making a .deb I created a
simplistic patch that changes the hardcoded 3.0.1 to 3.0.4.)
Comment 1 chris 2002-04-22 14:32:57 UTC
Sander already suggested this:

http://tools.openoffice.org/servlets/ReadMsg?msgId=242026&listName=dev
Comment 2 sander_traveling 2002-05-15 01:30:39 UTC
I still haven't heard anything back on this  8-(
Comment 3 sander_traveling 2002-08-06 14:27:35 UTC
porting -> tools
Comment 4 Unknown 2002-10-07 14:23:25 UTC
its no longer hardcoded but replaced by variables (SRX643_OO, 
OOO_STABLE_1)

closing issue
Comment 5 chris 2003-02-24 14:10:21 UTC
Verified part of 1.0.2; closing