samba 2.2.5-pre and solaris 9

Don Koch koch at cognex.com
Fri Jun 7 14:32:02 GMT 2002


jerry at samba.org said:
> Do we still need to pass the -Wl flag to Sun's ld?

Hasch at t-online.de 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
linker being used (e.g., the aforementioned -Wl,-E to pass the -E option
to gnu ld).  If you aren't passing anything to the sun linker, -Wl shouldn't
be used.

-- 
Don Koch
koch at cognex.com
----
Not speaking for Cognex Corporation.






More information about the samba-technical mailing list