With IBM's ld
linker there is one option -bexport :filename
.
In this file we have the names of the functions we need to export at the time of linking.
But in ubuntu I am not able to find this and it gives following error
/usr/bin/ld: invalid BFD target `export:stx_export'
Please suggest what can I do in ubuntu to export such files at the time of linking. Thanks in advance.