Re: Linking with X11 and glx using CodeWarrior
Re: Linking with X11 and glx using CodeWarrior
- Subject: Re: Linking with X11 and glx using CodeWarrior
- From: John Harper <email@hidden>
- Date: Tue, 22 Jul 2003 11:53:33 -0700
On Tuesday, July 22, 2003, at 2:58, Mathieu Pinard wrote:
I have an X11/glx application to link. I'm using CodeWarrior 8.3 along
with X11 public beta 3. I tried linking to libX11.a, libGL.a and
libXext.a, but I still miss some functions like xp_update_gl_context.
I had the idea to add libXp.a, but CodeWarrior made an error message
stating: "libXp.a is not a valid Mach-O file."
is there a reason you're using the static libraries? The link options
to link against glx are typically something like "-L/usr/X11R6/lib -lGL
-lXext -lX11"
By the way, I'd like to know if OS X has any command line utility to
inspect all the function exported by a library. Linux had objdump to
inspect the content of elf binaries.
you can use nm and otool to inspect binaries, they both have manpages,
John
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.