I have not used AIX, but I think GNU nm and sed will do the trick...
just guessing...
once the binary is compiled add the following to your Makefile

nm --demangle --defined-only <binary> | sed -n 's/^.* //p' >>
export_table.def

May be experienced AIX developers would have a better suggestion.

****************************
Suhaib M. Siddiqi
Senior Research Scientist
Inspire Pharmaceuticals, Inc.
4222 Emperor Blvd., Suite 470
Durham, NC 27703

Tel: 919-941-9777 Ext 238
FAX: 919-941-9797
http://www.inspirepharm.com


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf
> Of David L.
> Thompson
> Sent: Friday, January 14, 2000 12:58 AM
> To: [email protected]
> Subject: [opendx-dev] Generating export symbols from binary in AIX
>
>
> All you AIX persons in the know--or who may know
> somebody. Is there
> anyway to generate an export symbol table file in AIX from an
> executable (binary)?
>
> The libtools guys currently do not support this but would
> love to add
> it if someone could provide them with the code.
>
> Thanks,
> David
> ..........................................................
> ...................
> David L. Thompson                          The University
> of Montana
> mailto:[EMAIL PROTECTED]                 Computer
> Science Department
> http://www.cs.umt.edu/u/dthompsn           Missoula, MT  59812
>                                             Work Phone :
> (406)257-8530
>

Reply via email to