Re: [AD] MacOS X port in CVS |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> Btw, could you take a look at bug #704903 on SF's tracker, related to the
> Darwin-only port? What do you think about it?
From:
http://groups.google.it/groups?dq=&hl=it&lr=&ie=UTF-8&threadm=ejalbert-34E14
3.11082616052003%40news.stanford.edu&prev=/groups%3Fhl%3Dit%26lr%3D%26ie%3DU
TF-8%26group%3Dcomp.sys.mac.programmer.help
It appears that to build a shared library under OSX:
1) -fPIC is not needed
2) You must pass the -dynamiclib flag to gcc when linking the library
3) The output lib must have extension ".dylib" (and NOT ".so")
Hope this helps.
--
Angelo Mottola
a.mottola@xxxxxxxxxx