gcc -l without source files invokes linker

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



gcc -l<lib> without providing any input source file invokes the linker.
Shouldn't it instead give error that no input files were specified and
terminate compilation ?
This behavior is reproducible with gcc-4.8.2

Thanks,
Prathamesh




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux