[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
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
[EMAIL PROTECTED]
----
Not speaking for Cognex Corporation.



Reply via email to