[info-performer] How to compile example programs

New Message Reply Date view Thread view Subject view Author view

From: John D. Jamulla (jjamulla++at++adelphia.net)
Date: 09/20/2002 09:26:38


Hi,
    I wouldn't consider myself a newbie, but regarding Performer I am =
definitely a beginner. I've written a few simple apps, but never tried =
to compile the examples (such as perfly) that come with Performer.
I am using IRIX 6.5.13m.

I am having trouble with linking my Performer app Statically using =
2.4.2, as well as some problems understanding what's going on with my =
Dynamic version. So - I figured I'd take a look at exactly how perfly is =
built. Maybe I'm doing something wrong in the link, or my makefile, etc. =
I don't directly use the Performer makefiles, just the "pieces" I need, =
or thought I need.
For now, I won't go into the exact problems, I'll just try to get the =
sample programs compiled.

A few questions.
---------------------------
a) What version of "make" should be used to compile the examples using =
the makefiles there? I tried going through all the included makefiles =
wiht the Makefiles in the sample areas, but there are alot and would =
take me a few days to get a handle on what's going on.

b) When I try to use "make" (SGI make), almost any target I try tells me =
".MAKE" not found or something like that (I'm not at work to check exact =
error message). The clean" works though.

c) Where is the documentation that says how to compile the examples? I =
looked at the Getting Started and Programmers Guides, and for anything =
in /usr/share/Performer, but I don't find anything compelling.

I'm not familiar with SGI make (very familiar with GNU make) and so =
looking through ALL those included makefiles is not practical for me.

d) Last but not least, does anyone know if there's a way to examine the =
"link line" in the executable after the fact on IRIX? If I could just =
see how 'perfly' was linked, that would do me a world of good.
I know you can use "dwarfdump -i EXECUTABLE | grep DW_AT_producer" to =
see each of the command lines for objects compiled in, but I don't see a =
final link in there.

Thanks in Advance for any help .

Sincerely,
    John Jamulla


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Sep 20 2002 - 05:27:42 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.