It'd seem to me you'd have an easier time of it if you mounted it in the kernel first (using mount -t cifs or mount -t smbfs) and then use -I and -L with the Linux mount point. Make the kernel do the work, not gcc. -a Sent from my iPhone On Oct 17, 2010, at 9:59 AM, Jeffrey Walton <noloader@xxxxxxxxx> wrote: > Hi All, > > A quick quest on linking to a library on a windows share. > > GCC silently consumes non-existent paths. So when I do the following, > I assume its a failure since I have link problems: > gcc ... -L/smb://fileserver/fileshar/dir/ -llibcoolstuff > > How does one specify a windows share? > > Jeff