Hi Don,
Am Freitag, 7. Juni 2002 23:27 schrieb Don Koch:
> [EMAIL PROTECTED] said:
> > Do we still need to pass the -Wl flag to Sun's ld?
>
> [EMAIL PROTECTED] said:
> > Yes, because we are calling GCC and not ld directly:
> > @$(CC) $(FLAGS) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS)
>
> W
[EMAIL PROTECTED] said:
> Do we still need to pass the -Wl flag to Sun's ld?
[EMAIL PROTECTED] said:
> Yes, because we are calling GCC and not ld directly:
> @$(CC) $(FLAGS) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS)
Well, no, you don't. -Wl,-xxx is used to pass the -xxx option to the
l
Am Freitag, 7. Juni 2002 21:57 schrieb Gerald Carter:
> On Fri, 7 Jun 2002, Juergen Hasch wrote:
> > +dnl Check if we use GNU ld
> > +LD=ld
> > +AC_PROG_LD_GNU
>
> That's what I needed. I couldn't find it mentioned in my book.
I hadn't known that one too, but google is your friend :-)
> Looks go
On Fri, 7 Jun 2002, Juergen Hasch wrote:
> +dnl Check if we use GNU ld
> +LD=ld
> +AC_PROG_LD_GNU
That's what I needed. I couldn't find it mentioned in my book.
Looks good to me. Do we still need to pass the -Wl flag to Sun's ld?
jerry
Am Freitag, 7. Juni 2002 20:12 schrieb Mike Gerdts:
> On Fri, 2002-06-07 at 13:30, Andrew Morgan wrote:
> > It seems like the proper method is to use gcc to do the linking rather
> > than ld, if the compiler is gcc. I remember doing this when I compiled
> > pam_ldap on Solaris 8.
> >
> > If you a
On Fri, 2002-06-07 at 13:30, Andrew Morgan wrote:
> It seems like the proper method is to use gcc to do the linking rather
> than ld, if the compiler is gcc. I remember doing this when I compiled
> pam_ldap on Solaris 8.
>
> If you are using Sun's Workshop compiler, use the linker in
> /usr/ccs
On 7 Jun 2002, Mike Gerdts wrote:
> On Fri, 2002-06-07 at 13:10, David Lee wrote:
> > Can Dave-CB shed any light on Solaris "ld", including any possible changes
> > in the new Solaris 9?
>
> A quick look at the getopt(3C) option string suggests that there was no
> change in options:
>
> Solaris
On Fri, 2002-06-07 at 13:10, David Lee wrote:
> Can Dave-CB shed any light on Solaris "ld", including any possible changes
> in the new Solaris 9?
A quick look at the getopt(3C) option string suggests that there was no
change in options:
Solaris 9:
% strings /usr/ccs/bin/ld | grep :
...
On Fri, 7 Jun 2002, Gerald Carter wrote:
> On Fri, 7 Jun 2002, Toomas Soome wrote:
>
> > [112] tsoome@muhv:samba/source> gcc --version
> > 3.0.2
> >
> > [113] tsoome@muhv:samba/source> uname -a
> > SunOS muhv 5.9 Generic sun4u sparc SUNW,Ultra-5_10
> >
> > ld: Software Generation Utilities - S
Gerald Carter wrote:
>
> On Fri, 7 Jun 2002, Toomas Soome wrote:
>
> > [112] tsoome@muhv:samba/source> gcc --version
> > 3.0.2
> >
> > [113] tsoome@muhv:samba/source> uname -a
> > SunOS muhv 5.9 Generic sun4u sparc SUNW,Ultra-5_10
> >
> > ld: Software Generation Utilities - Solaris Link Editors:
On Fri, 7 Jun 2002, Toomas Soome wrote:
> [112] tsoome@muhv:samba/source> gcc --version
> 3.0.2
>
> [113] tsoome@muhv:samba/source> uname -a
> SunOS muhv 5.9 Generic sun4u sparc SUNW,Ultra-5_10
>
> ld: Software Generation Utilities - Solaris Link Editors: 5.9-1.343
> /usr/ccs/bin/ld: illegal op
Gerald Carter wrote:
>
> On Fri, 7 Jun 2002, Toomas Soome wrote:
>
> >
> > hi!
> >
> > FYI: I got following error while compiling samba 2.2.5-pre. and it's
> > true, solaris ld does not support -E.
> >
> > Using LIBS = -lsec -lgen -lsocket -lnsl -ldl
> > Linking bin/smbd
> > /usr/ccs/bin/ld: il
On Fri, 7 Jun 2002, Toomas Soome wrote:
>
> hi!
>
> FYI: I got following error while compiling samba 2.2.5-pre. and it's
> true, solaris ld does not support -E.
>
> Using LIBS = -lsec -lgen -lsocket -lnsl -ldl
> Linking bin/smbd
> /usr/ccs/bin/ld: illegal option -- E
What compiler? I don't
hi!
FYI: I got following error while compiling samba 2.2.5-pre. and it's
true, solaris ld does not support -E.
Using LIBS = -lsec -lgen -lsocket -lnsl -ldl
Linking bin/smbd
/usr/ccs/bin/ld: illegal option -- E
usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?]
file(s)
14 matches
Mail list logo