User forums > Using Code::Blocks
CodeBlocks and contrib projects for MacOSX 10.4
afb:
--- Quote from: bnilsson on November 04, 2006, 12:18:15 pm ---takeshi,
Sorry, I had to reverse your patch for pluginmanager, since no plugins loaded when applied.
--- End quote ---
Right, it shouldn't use "dylib" for the plugins - those are "bundle" or "so" ( as used now)
Missed that on the cursory glance
takeshimiya:
Hi,
can you enlighten me?
on mac the shared libraries doesn't have a .dylib or .bundle extension?
plugins are share libraries right? what about wxscintilla, isn't a shared library too? why it needs the .dylib extension where the plugins not?
I'll update the patch accordingly
afb:
--- Quote from: takeshi miya on November 04, 2006, 04:03:23 pm ---can you enlighten me?
on mac the shared libraries doesn't have a .dylib or .bundle extension?
--- End quote ---
"Yes". As in: the shared libraries come in two different variants on Mac OS X.
See http://developer.apple.com/documentation/DeveloperTools/Conceptual/MachOTopics/Articles/loading_code.html
--- Quote ---plugins are share libraries right?
--- End quote ---
"loadable bundle" (.so or .bundle)
/usr/bin/file command says: Mach-O bundle
--- Quote ---what about wxscintilla, isn't a shared library too?
--- End quote ---
"dynamic library" (.dylib or .framework)
/usr/bin/file command says: Mach-O dynamically linked shared library
--- Quote ---why it needs the .dylib extension where the plugins not?
I'll update the patch accordingly
--- End quote ---
libwxscintilla, libcodeblocks, libwx_mac-2.6 etc. => dylibs
C::B plugins, perl modules, python modules, etc. => bundles
Hope that helps.
Pecan:
--- Quote from: takeshi miya on November 04, 2006, 04:03:23 pm ---Hi,
can you enlighten me?
on mac the shared libraries doesn't have a .dylib or .bundle extension?
plugins are share libraries right? what about wxscintilla, isn't a shared library too? why it needs the .dylib extension where the plugins not?
I'll update the patch accordingly
--- End quote ---
I try to remember it this way:
A program links against (uses) a dll: dll = dylib
A dll links against (uses) a program: dll = bundle
Navigation
[0] Message Index
[*] Previous page
Go to full version