Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

wish: a way to keep cgo related generated files. #697

Open
bstarynk opened this issue Mar 8, 2017 · 1 comment
Open

wish: a way to keep cgo related generated files. #697

bstarynk opened this issue Mar 8, 2017 · 1 comment

Comments

@bstarynk
Copy link

bstarynk commented Mar 8, 2017

It would be nice to have some documented way to keep the cgo related generated (C) files.
I am a newbie, and had hard time to understand some strange gcc errors (in my sqlitelog.go file) because I mis-coded a cgo comment.

Perhaps accepting a directory keeping the generated files, e.g.
#cgo keep-generated-directory: /tmp/thedirectory would put all generated files in /tmp/thedirectory/

or maybe a documented flag to gb build such as gb build -keep-temp /tmp/thedirectory

Thanks.

Basile Starynkevitch.

@davecheney
Copy link
Contributor

davecheney commented Mar 8, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants