From: | Branko Badrljica <brankob@××××××××××.com> | ||
---|---|---|---|
To: | gentoo-amd64@l.g.o | ||
Subject: | Re: [gentoo-amd64] Re: Curious thing- linking against .so libs... | ||
Date: | Wed, 10 Dec 2008 10:40:27 | ||
Message-Id: | 493FA814.6080805@avtomatika.com | ||
In Reply to: | [gentoo-amd64] Re: Curious thing- linking against .so libs... by Nikos Chantziaras |
1 | Nikos Chantziaras wrote: |
2 | > Branko Badrljica wrote: |
3 | >> gcc -O2 -m32 -march=barcelona -pipe -L/usr/lib64 -lgdgeda -o tt tt.c |
4 | >> (libgdgeda has just .so ) |
5 | > |
6 | > -m32 generates 32-bit code. /usr/lib64 is only for 64-bit binaries. |
7 | > Don't use -m32. |
8 | > |
9 | |
10 | Sorry, I forgot to remove -m32 from my example- it was remnant from |
11 | previous tries. |
12 | Everything is the same without it. |
13 | |
14 | But it seems something else is broken on my system, so I'll recompile |
15 | everything and report later... |