I tired a few things now.
I had gcc-4.2.1 on my system, si I trited that. It failed at the same
spot.
I then tried it with Sun's gcc and Sun's ld and that failed with an
option to ld that it didn't understand.
I think that's the reason I use gnu's ld. So, now I'm trying it with
Sun's gcc and gnu's ld.
This is the sfw gcc that came with Solaris 10.
# gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with: /sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/
gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/ccs/bin/as --
without-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-
languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
I think that's the reason I use gnu's ld. So, now I'm trying it with
Sun's gcc and gnu's ld.
--myron
=================================
Myron Kowalski
MoCoSIN Network/Systems Administrator
Moravian College
[email protected]
On Feb 4, 2009, at 12:27 PM, David Eisner wrote:
On Wed, Feb 4, 2009 at 10:36 AM, Brian H. Nelson
<[email protected]> wrote:
Any particular reason you're using GNU's ld? If you want to
experiment you
I'd also suggest trying to build it with the native ld. This is the
gcc I used to build Samba:
$ gcc -v
Using built-in specs.
Target: i386-pc-solaris2.10
Configured with: ../gcc-4.3.3/configure
--prefix=/usr/local/gcc/gcc-4.3.3 --with-gnu-as
--with-as=/usr/sfw/bin/gas --without-gnu-ld --with-ld=/usr/ccs/bin/ld
--enable-languages=c,c++,fortran,objc
Thread model: posix
gcc version 4.3.3 (GCC)
That's the recommended way to configure gcc for 4.x versions (I
realize you're using a 3.x version). [1]
-David
[1] http://gcc.gnu.org/install/specific.html#ix86-x-solaris210
--
David Eisner http://cradle.brokenglass.com
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba