Option pg
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 803 from 2007/10/23
    From: Gelsenkirchen,...
    What happened to the profiling library?
    Code:
    > gcc -pg foo.c
    /System/Development/gg/bin/../lib/gcc-lib/ppc-morphos/9.3.0/../../../../ppc-morphos/bin/ld: /t//ccgIdhQv.o: in function `main':
    foo.c:(.text+0x10): undefined reference to `_mcount'


    [ Editiert durch polluks 14.01.2021 - 14:20 ]
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »14.01.21 - 13:09
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 803 from 2007/10/23
    From: Gelsenkirchen,...
    @jacadcaps ?
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »17.01.21 - 15:22
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3108 from 2003/3/5
    From: Canada
    What profiling library?
  • »17.01.21 - 17:42
    Profile Visit Website
  • MorphOS Developer
    Nadir
    Posts: 162 from 2003/3/17
    Quote:

    polluks wrote:
    @jacadcaps ?


    That's related to the gprof count functionality that I worked on a few years ago but never completely finished. Did it ever work for you?
  • »18.01.21 - 06:42
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 803 from 2007/10/23
    From: Gelsenkirchen,...
    I suppose something like this is missing...
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »20.01.21 - 05:55
    Profile
  • MorphOS Developer
    Nadir
    Posts: 162 from 2003/3/17
    Quote:

    polluks wrote:
    I suppose something like this is missing...


    Of course, I know it needs an mcount funciton but it's a bit more than that. It has never been enabled in morphos because I didn't get it to fully work. Now we anyway have a native profiler so the interest isn't that high anyway.
  • »20.01.21 - 21:56
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 803 from 2007/10/23
    From: Gelsenkirchen,...
    @Nadir
    I see, thanks.
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »21.01.21 - 21:53
    Profile