Author Topic: CodeBlocks and contrib projects for MacOSX 10.4  (Read 8534 times)

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: CodeBlocks and contrib projects for MacOSX 10.4
« Reply #15 on: November 04, 2006, 12:21:27 pm »
takeshi,

Sorry, I had to reverse your patch for pluginmanager, since no plugins loaded when applied.

Right, it shouldn't use "dylib" for the plugins - those are "bundle" or "so" ( as used now)

Missed that on the cursory glance

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Re: CodeBlocks and contrib projects for MacOSX 10.4
« Reply #16 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

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: CodeBlocks and contrib projects for MacOSX 10.4
« Reply #17 on: November 04, 2006, 04:26:27 pm »
can you enlighten me?
on mac the shared libraries doesn't have a .dylib or .bundle extension?

"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?
"loadable bundle" (.so or .bundle)

/usr/bin/file command says: Mach-O bundle

Quote
what about wxscintilla, isn't a shared library too?
"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

libwxscintilla, libcodeblocks, libwx_mac-2.6 etc. => dylibs
C::B plugins, perl modules, python modules, etc. => bundles

Hope that helps.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2119
Re: CodeBlocks and contrib projects for MacOSX 10.4
« Reply #18 on: November 04, 2006, 06:08:04 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

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
« Last Edit: November 04, 2006, 06:10:32 pm by Pecan »