Export to GitHub

godag - issue #3

Packages in GOPATH not found


Posted on Nov 11, 2011 by Swift Cat

What steps will reproduce the problem?

  1. Set GOPATH variable different from GOROOT
  2. Goinstall external package (from github/launcpad etc..)
  3. Import external package inside project
  4. Compile project using godag

What is the expected output? What do you see instead?

Expected project to compile, it does not. Packages in GOPATH are not found by compiler (gc), unless GOPATH == GOROOT.

Comment #1

Posted on Apr 5, 2012 by Swift Cat

works for backend gc [8g,6g,5g], not for gccgo yet

Status: Started

Labels:
Type-Defect Priority-Medium