How to create a 32bit shared library on a 64bit system?
Andreas Pakulat
apaku at gmx.de
Wed Jun 13 13:56:28 BST 2007
On 13.06.07 14:38:29, Armin Lambacher wrote:
> Interestingly the last line seems to indicate a successful build of the
> project, however, there are some issues with linking, see the lines
>
> /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
> warning: i386 architecture of input file `CMakeFiles/so_test.dir/so_test.o'
> is incompatible with i386:x86-64 output
>
> /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
> warning: i386 architecture of input file
> `CMakeFiles/so_testtest.dir/so_testtest.o' is incompatible with i386:x86-64
> output
>
> The program crashes upon starting it with SIGSEGV.
>
> Can somebody please put me into the right directon on how to solve this
> problem?
I suggest you redirect your question to the cmake list or some general
compiler list. KDevelop has no builtin support for this.
Andreas
--
If you sow your wild oats, hope for a crop failure.
More information about the KDevelop
mailing list