Hi Ian,
OK I got it now. I have to separately compile the imported packages as .o
if I use gccgo and then link them to the final executable. Resolving the
dependency of the packages may be troublesome so go tool is good if we have
choice.
Thanks.
--
You received this message because you ar
Hi Ian,
Thanks for your reply. Although I am a seasoned c programmer I am a go
beginner.
So, is it strange that gccgo can't compile if the main.go imports some
non-standard library package?
Is it meaning with gccgo, we have to write a single go file to contain
everything, or just import only