Unix Technical Forum

Codeviz on Slackware

This is a discussion on Codeviz on Slackware within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Dear All, I would be interested to know if anybody has managed to successfully build and use Codeviz (the ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 09:03 AM
UHAP023@alpha1.rhbnc.ac.uk
 
Posts: n/a
Default Codeviz on Slackware

Dear All,
I would be interested to know if anybody has managed to
successfully build and use Codeviz (the call graph generation utility
for C/C++) under a recent (eg. 9.0+) version of Slackware?

Thanks
Tom Crane.
--
Tom Crane, Dept. Physics, Royal Holloway, University of London, Egham Hill,
Egham, Surrey, TW20 0EX, England.
Email: T.Crane@rhul.ac.uk
Fax: +44 (0) 1784 472794

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 09:03 AM
Darren
 
Posts: n/a
Default Re: Codeviz on Slackware

i've just compiled it and installed it with no problems but i haven't
doneanything with it yet. Why?

<UHAP023@alpha1.rhbnc.ac.uk> wrote in message
news:d7qiev$7ni$1@mklab.ph.rhul.ac.uk...
> Dear All,
> I would be interested to know if anybody has managed to
> successfully build and use Codeviz (the call graph generation utility
> for C/C++) under a recent (eg. 9.0+) version of Slackware?
>
> Thanks
> Tom Crane.
> --
> Tom Crane, Dept. Physics, Royal Holloway, University of London, Egham

Hill,
> Egham, Surrey, TW20 0EX, England.
> Email: T.Crane@rhul.ac.uk
> Fax: +44 (0) 1784 472794
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 09:04 AM
No_One
 
Posts: n/a
Default Re: Codeviz on Slackware

On 2005-06-04, Darren <darren@notathome.net> wrote:
> i've just compiled it and installed it with no problems but i haven't
> doneanything with it yet. Why?
>
><UHAP023@alpha1.rhbnc.ac.uk> wrote in message
> news:d7qiev$7ni$1@mklab.ph.rhul.ac.uk...
>> Dear All,
>> I would be interested to know if anybody has managed to
>> successfully build and use Codeviz (the call graph generation utility
>> for C/C++) under a recent (eg. 9.0+) version of Slackware?
>>


Just a curiosity question, I ws going to compile it, however, I noticed it
required a compiler in the 3.4 family, is this correct??

I ask because 9.1 comes standard with a 3.2 compiler, so I didn't bother to
try and compile.

ken

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 09:04 AM
Grant Coady
 
Posts: n/a
Default Re: Codeviz on Slackware

On Sat, 04 Jun 2005 17:15:10 -0000, No_One <no_one@no_where.com> wrote:

> On 2005-06-04, Darren <darren@notathome.net> wrote:
> > i've just compiled it and installed it with no problems but i haven't
> > doneanything with it yet. Why?
> >
> ><UHAP023@alpha1.rhbnc.ac.uk> wrote in message
> > news:d7qiev$7ni$1@mklab.ph.rhul.ac.uk...
> >> Dear All,
> >> I would be interested to know if anybody has managed to
> >> successfully build and use Codeviz (the call graph generation utility
> >> for C/C++) under a recent (eg. 9.0+) version of Slackware?
> >>

>
> Just a curiosity question, I ws going to compile it, however, I noticed it
> required a compiler in the 3.4 family, is this correct??


It builds a patched 3.4.1 gcc for data collection.

Compiled here too, some of us are curious, thing is, it puts patched
gcc in a different spot and tells you how to refer to new compiler.

I _was_ surprised when the script started downloading compiler source...
So I left it crunching away. I read README after starting compile,
some things never change?

Got all these new binaries in /usr/local/bin, but I'd been to the
source website recently So your query pushed me a little more.
Not used it yet, but it looks like might be handy tool.
>
> I ask because 9.1 comes standard with a 3.2 compiler, so I didn't bother to
> try and compile.


It builds modified compiler in order to do data collection during
compile, so you stuck with them patching particular gcc version to do
their magic. What compiler _you_ have to compile the patched gcc-3.4.1
should make no difference. (my gcc is 3.3.4 -- Slackware-10.1)

--Grant.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 09:04 AM
Darren
 
Posts: n/a
Default Re: Codeviz on Slackware


"No_One" <no_one@no_where.com> wrote in message
news:slrnda3od6.1ha.no_one@localhost.localdomain.. .
> On 2005-06-04, Darren <darren@notathome.net> wrote:
> > i've just compiled it and installed it with no problems but i haven't
> > doneanything with it yet. Why?
> >
> ><UHAP023@alpha1.rhbnc.ac.uk> wrote in message
> > news:d7qiev$7ni$1@mklab.ph.rhul.ac.uk...
> >> Dear All,
> >> I would be interested to know if anybody has managed to
> >> successfully build and use Codeviz (the call graph generation utility
> >> for C/C++) under a recent (eg. 9.0+) version of Slackware?
> >>

>
> Just a curiosity question, I ws going to compile it, however, I noticed it
> required a compiler in the 3.4 family, is this correct??
>
> I ask because 9.1 comes standard with a 3.2 compiler, so I didn't bother

to
> try and compile.
>
> ken
>

i tried it and it found i was running 3.2 so it automatically downloaded 3.4
for me.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 09:05 AM
No_One
 
Posts: n/a
Default Re: Codeviz on Slackware

On 2005-06-04, Grant Coady <grant_lkml@dodo.com.au> wrote:
> On Sat, 04 Jun 2005 17:15:10 -0000, No_One <no_one@no_where.com> wrote:
>> Just a curiosity question, I ws going to compile it, however, I noticed it
>> required a compiler in the 3.4 family, is this correct??

>
> It builds a patched 3.4.1 gcc for data collection.



>
> It builds modified compiler in order to do data collection during
> compile, so you stuck with them patching particular gcc version to do
> their magic. What compiler _you_ have to compile the patched gcc-3.4.1
> should make no difference. (my gcc is 3.3.4 -- Slackware-10.1)
>
> --Grant.
>


Ahh..None all makes sense. The instructions got me all turned around, not
a great feat in itself.

Thanks

ken
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 09:06 AM
UHAP023@alpha1.rhbnc.ac.uk
 
Posts: n/a
Default Re: Codeviz on Slackware

Darren <darren@notathome.net> wrote:

: "No_One" <no_one@no_where.com> wrote in message
: news:slrnda3od6.1ha.no_one@localhost.localdomain.. .
: > On 2005-06-04, Darren <darren@notathome.net> wrote:
: > > i've just compiled it and installed it with no problems but i haven't
: > > doneanything with it yet. Why?
: > >
: > ><UHAP023@alpha1.rhbnc.ac.uk> wrote in message
: > > news:d7qiev$7ni$1@mklab.ph.rhul.ac.uk...
: > >> Dear All,
: > >> I would be interested to know if anybody has managed to
: > >> successfully build and use Codeviz (the call graph generation utility
: > >> for C/C++) under a recent (eg. 9.0+) version of Slackware?
: > >>
: >
: > Just a curiosity question, I ws going to compile it, however, I noticed it
: > required a compiler in the 3.4 family, is this correct??
: >
: > I ask because 9.1 comes standard with a 3.2 compiler, so I didn't bother
: to
: > try and compile.
: >
: > ken
: >
: i tried it and it found i was running 3.2 so it automatically downloaded 3.4
: for me.

Same here. This is where my problems are. I'm running 9.0-current
which has gcc 3.2.3. Firstly there is a trivial problem with mktemp
needing an argument in the configure script. It is the compile of the
d/l gcc 3.4.1 which fails. Previously, I hacked the gcc 3.4.1 build
around to fix what appeared to be problems with the conditional
compilation associated with defs like HAVE_SYS_STAT_H -- presumably
not having been properly setup in the configure script. The result
was the modified compiler which appeared to work but which produced
graph files with things missing leading to empty results when running
gengraph.

Did your automatic compile of 3.4.1 work? And were you able produce useful
results with gengraph/graphfull?

I've temporarily put the failed results of my d/l + build on,

http://www.mklab.rhul.ac.uk/~tom/codeviz_build.log

how does this compare with yours?

Regards
Tom.

--
Tom Crane, Dept. Physics, Royal Holloway, University of London, Egham Hill,
Egham, Surrey, TW20 0EX, England.
Email: T.Crane@rhul.ac.uk
Fax: +44 (0) 1784 472794

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 09:06 AM
Darren
 
Posts: n/a
Default Re: Codeviz on Slackware


<UHAP023@alpha1.rhbnc.ac.uk> wrote in message
news:d81pnf$j7e$1@mklab.ph.rhul.ac.uk...
> Darren <darren@notathome.net> wrote:
>
> : "No_One" <no_one@no_where.com> wrote in message
> : news:slrnda3od6.1ha.no_one@localhost.localdomain.. .
> : > On 2005-06-04, Darren <darren@notathome.net> wrote:
> : > > i've just compiled it and installed it with no problems but i

haven't
> : > > doneanything with it yet. Why?
> : > >
> : > ><UHAP023@alpha1.rhbnc.ac.uk> wrote in message
> : > > news:d7qiev$7ni$1@mklab.ph.rhul.ac.uk...
> : > >> Dear All,
> : > >> I would be interested to know if anybody has managed to
> : > >> successfully build and use Codeviz (the call graph generation

utility
> : > >> for C/C++) under a recent (eg. 9.0+) version of Slackware?
> : > >>
> : >
> : > Just a curiosity question, I ws going to compile it, however, I

noticed it
> : > required a compiler in the 3.4 family, is this correct??
> : >
> : > I ask because 9.1 comes standard with a 3.2 compiler, so I didn't

bother
> : to
> : > try and compile.
> : >
> : > ken
> : >
> : i tried it and it found i was running 3.2 so it automatically downloaded

3.4
> : for me.
>
> Same here. This is where my problems are. I'm running 9.0-current
> which has gcc 3.2.3. Firstly there is a trivial problem with mktemp
> needing an argument in the configure script. It is the compile of the
> d/l gcc 3.4.1 which fails. Previously, I hacked the gcc 3.4.1 build
> around to fix what appeared to be problems with the conditional
> compilation associated with defs like HAVE_SYS_STAT_H -- presumably
> not having been properly setup in the configure script. The result
> was the modified compiler which appeared to work but which produced
> graph files with things missing leading to empty results when running
> gengraph.


yeah sadly these things aren't tested on all platforms. I remember i once
had to hack the courier (early version) make file because it was using a
library directive made for a different linker apparently.
>
> Did your automatic compile of 3.4.1 work? And were you able produce useful
> results with gengraph/graphfull?

It compiled and installed with no problems at all though it did take a while
but to be honest I haven't got round to do anything with it yet.
>
> I've temporarily put the failed results of my d/l + build on,
>
> http://www.mklab.rhul.ac.uk/~tom/codeviz_build.log
>
> how does this compare with yours?

I'll put my log on on my web site when i get it running
If possible you might want to upgrade to slack 10.1. Thats what i built mine
on.
>
> Regards
> Tom.
>
> --
> Tom Crane, Dept. Physics, Royal Holloway, University of London, Egham

Hill,
> Egham, Surrey, TW20 0EX, England.
> Email: T.Crane@rhul.ac.uk
> Fax: +44 (0) 1784 472794
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-20-2008, 09:07 AM
Grant Coady
 
Posts: n/a
Default Re: Codeviz on Slackware

On Mon, 06 Jun 2005 22:35:56 GMT, "Darren" <darren@notathome.net> wrote:
> >
> > http://www.mklab.rhul.ac.uk/~tom/codeviz_build.log

^^^^^^^^^^^^^^^^^-- gzip the
thing next time, please?: 785982 --> 55518 bytes. Put in content
negotiation and browsers will decompress on the fly (excepting of
course, the evil empire's msie
> >
> > how does this compare with yours?

> I'll put my log on on my web site when i get it running
> If possible you might want to upgrade to slack 10.1. Thats what i built mine
> on.


Mine built okay on slack-10.1 too, but OP putting the _entire_ build.log
including 'wget' of the gcc source has somewhat soured my perspective,
perhaps OP the cleaner, playing on a box somebody left on? )

On topic:
Compiling a compiler is a big task, is the box a little tired? Need dust
bunnies removed, CPU cooling, those sort of things? The compiler error
message is hopelessly vague Doesn't convey much to me...

Though problem may be where you not looking. OP do much CPU intensive
stuff on it? Compiling large jobs --> lots of files read/written, all
CPU, memory in use. "The" way to test hardware. If OP trust h/w, maybe
time for update?

--Grant.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-20-2008, 09:07 AM
Darren
 
Posts: n/a
Default Re: Codeviz on Slackware


"Grant Coady" <grant_lkml@dodo.com.au> wrote in message
news:hmk9a1p9mggt9a5qllarmtpmmeobn9i17o@4ax.com...
> On Mon, 06 Jun 2005 22:35:56 GMT, "Darren" <darren@notathome.net> wrote:
> > >
> > > http://www.mklab.rhul.ac.uk/~tom/codeviz_build.log

> ^^^^^^^^^^^^^^^^^-- gzip the
> thing next time, please?: 785982 --> 55518 bytes. Put in content
> negotiation and browsers will decompress on the fly (excepting of
> course, the evil empire's msie
> > >
> > > how does this compare with yours?

> > I'll put my log on on my web site when i get it running
> > If possible you might want to upgrade to slack 10.1. Thats what i built

mine
> > on.

>
> Mine built okay on slack-10.1 too, but OP putting the _entire_ build.log
> including 'wget' of the gcc source has somewhat soured my perspective,
> perhaps OP the cleaner, playing on a box somebody left on? )

I guessed it would be a long time making considering i ate my lunch in the
time it ran the .,/configure script. When i started the build process i went
shopping and it was still compiling when i got back
>
> On topic:
> Compiling a compiler is a big task, is the box a little tired? Need dust
> bunnies removed, CPU cooling, those sort of things? The compiler error
> message is hopelessly vague Doesn't convey much to me...

old p3, warm weather, cpu fan and single case fan. you can work out the
upshot.
>
> Though problem may be where you not looking. OP do much CPU intensive
> stuff on it? Compiling large jobs --> lots of files read/written, all
> CPU, memory in use. "The" way to test hardware. If OP trust h/w, maybe
> time for update?
>
> --Grant.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:34 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com