Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B

I can help with C::B with cross platforms.

<< < (4/5) > >>

Paco.Blasco:
Nope.
I have the same error using the wiki fro Mac (on IntelMac Tiger).
I'm going to investigate that problem. It is very strange.

See!

Paco.Blasco:
Hi All:

The problem I have to generate C::B at OSX is related with libraries:
Compilation fails when it tries to link the library libcodeblocks.la . The problem is with the libaries created in the directory src/sdk/scripting.
I launched the linking command line in a shell, and I was removing that libraries from the command line...as result was a library (not right, I know), but the compiler finished the linking process.
I'm not an expert on MAC OS X (I'm learning now), any idea????

Pecan:

--- Quote from: Paco.Blasco on August 04, 2006, 05:14:56 pm ---Hi All:

The problem I have to generate C::B at OSX is related with libraries:
Compilation fails when it tries to link the library libcodeblocks.la . The problem is with the libaries created in the directory src/sdk/scripting.
I launched the linking command line in a shell, and I was removing that libraries from the command line...as result was a library (not right, I know), but the compiler finished the linking process.
I'm not an expert on MAC OS X (I'm learning now), any idea????

--- End quote ---


--- Code: ---ld: multiple definitions of symbol ___divdi3
/usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a(_divdi3.o) private external definition of ___divdi3 in section (__TEXT,__text)
/usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libgcc_s.10.4.dylib(_divdi3_s.o) definition of ___divdi3

--- End code ---

The linker error look ligit to me. You've include both the static and the dynamic libgcc. Each will have a copy of the symbols.

When linking the CodeBlocks lib, you need the dynamic libraries.

When linking the executable, you need the static library.

But not both at the same time and not in the same link step.

Paco.Blasco:
I compiled CodeBlocks at least on OSX with IntelMac with:
./configure --enable-static --disable-shared

I finished the compilation    :D :D :D :D, I've created a bundle app  :o and....
It appears as it don't load any plugin (I suppose it can be the right behaviour due to --disable-shared....)  :x :x :x :x :x
But plugins don't compile with other options.

Any idea????

Thx.

Paco.Blasco:
Finished!!!!!!
I have now a working copy of C::B on OSX 10.4.7 Intel (MacBookPro)
To get this I did a modifications to the Makefiles of the plugins, if not, a linker error occurs.
Now, I'm going to use as a tool for multi-os development (same workspace compiling same projects in different OS).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version