On Sat, Dec 3, 2016 at 5:05 PM, gocss <g...@curtissystemssoftware.com> wrote:
>
> gcc call.c -L./main.a

-L./main.a tells the linker to add the directory "./main.a" to the
search path used to resolve -l options.  Since there is no such
directory, the option is effectively meaningless.

Just write `gcc call.c main.a`.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to