Closed Bug 87215 Opened 19 years ago Closed 19 years ago

make jprof work with statically linked build

Categories

(Core :: General, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED FIXED
mozilla0.9.3

People

(Reporter: waterson, Assigned: waterson)

References

Details

Attachments

(2 files)

We need to make some minor changes to get jprof working with the static build.
Since the jprof Makefile is a bit tangled, I think it's probably just easiest to
separate it into two parts: one that builds the stub that's linked into the main
executable, and one that builds the tool.

I propose that we create a subdirectory of mozilla/tools/jprof called ``stub'',
copy the following files in the repository, and then apply some changes to the
build system (which I'll attach momentarily)...

cd mozilla/tools/jprof
mkdir stub
cp libmalloc.h,v stub
cp libmalloc.cpp,v stub
cp jprof.h,v stub
cp config.h,v stub
Blocks: 46775
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla0.9.3
jim, does this look okay to you?
Keywords: patch
Looks like a good idea to me.
r=cls
file copying loving done.
and hey, why not sr=leaf while i'm at it?
sr=leaf for the new Makefile.in and build changes.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Checked in.
Can we remove some of these files from their old locations?
Oops, sorry. Done. 
Component: XP Miscellany → General
QA Contact: brendan → general
You need to log in before you can comment on or make changes to this bug.