FAQ
I am revising the third party source code and found out my changes were not
effective, without deleting the files in $GOPATH/pkg/.

Deleted the files
, and made it recompile to *.a files
, and then run my program.

Now it works as expected.

Is there any documentation on `.a` files?

Every change should be effective to the pkg binary files but for somehow in
my case, it wasn't.


--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Lars Seipel at Dec 6, 2014 at 12:23 am

    On Fri, Dec 05, 2014 at 03:58:35PM -0800, Gyu-Ho Lee wrote:
    I am revising the third party source code and found out my changes were not
    effective, without deleting the files in $GOPATH/pkg/.
    Use "go install" to build your program. It will notice that the package
    sources changed and rebuild them. If you're already doing that, post the
    output of building your program with "go install -x" after touching the
    other packages' source files.

    --
    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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Gyu-Ho Lee at Dec 6, 2014 at 12:26 am
    Oh I was testing with go run for this case. Go run works different than go
    install in this case?

    Thanks a lot.
    On Fri, Dec 5, 2014, 4:23 PM Lars Seipel wrote:
    On Fri, Dec 05, 2014 at 03:58:35PM -0800, Gyu-Ho Lee wrote:
    I am revising the third party source code and found out my changes were not
    effective, without deleting the files in $GOPATH/pkg/.
    Use "go install" to build your program. It will notice that the package
    sources changed and rebuild them. If you're already doing that, post the
    output of building your program with "go install -x" after touching the
    other packages' source files.
    --
    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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Dave Cheney at Dec 6, 2014 at 11:51 am
    Yes, go run is different. This post may be informative, http://dave.cheney.net/2014/06/04/what-does-go-build-build

    --
    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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Gyu-Ho Lee at Dec 6, 2014 at 7:23 pm
    I see. Thanks Dave always!
    On Saturday, December 6, 2014 3:51:39 AM UTC-8, Dave Cheney wrote:

    Yes, go run is different. This post may be informative,
    http://dave.cheney.net/2014/06/04/what-does-go-build-build
    --
    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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedDec 5, '14 at 11:58p
activeDec 6, '14 at 7:23p
posts5
users3
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase