Skip to content

cmd/ld, pkg/runtime: support generate .o instead of executable #3591

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
minux opened this issue May 4, 2012 · 4 comments
Closed

cmd/ld, pkg/runtime: support generate .o instead of executable #3591

minux opened this issue May 4, 2012 · 4 comments

Comments

@minux
Copy link
Member

minux commented May 4, 2012

discussion: http://golang.org/cl/5822049/

If we support this feature, we don't need to support handing of any relocations, linking
gcc compiled object files.

Pros: able to link in C++ in cgo; remove a lot of code in our linker.
Cons: dependent on gcc for linking cgo programs, even if I could make all gcc compiled
object files available as .syso files.
@rsc
Copy link
Contributor

rsc commented May 4, 2012

Comment 1:

It would not be a requirement to use gcc.  We would keep the old code
for linking ordinary C programs.

@alberts
Copy link
Contributor

alberts commented May 6, 2012

Comment 2:

Yeah! +inf. this will fix issue #1476.

@alberts
Copy link
Contributor

alberts commented Aug 25, 2012

Comment 3:

Should also fix issue #1781 and issue #4006.

@rsc
Copy link
Contributor

rsc commented Sep 12, 2012

Comment 5:

Oops, created a second one of these.

Status changed to Duplicate.

Merged into issue #4069.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants