Skip to content
This repository has been archived by the owner on May 9, 2019. It is now read-only.

Skip as and ld when wrapping gcc #186

Closed
hemarkus opened this issue Feb 20, 2019 · 0 comments
Closed

Skip as and ld when wrapping gcc #186

hemarkus opened this issue Feb 20, 2019 · 0 comments
Assignees
Milestone

Comments

@hemarkus
Copy link

When gcc is being wrapped as and ld should not be wrapped as those will introduce ambiguous information.

E.g. wrapping gcc s.c will produce a file s.o connected with a file s.c. But since gcc is actually only calling cc, as and ld we will intercept the call to as and a file /tmp/somerandom.s will be created as the source of s.o.

Therefore introduce an environment variable to when gcc wrapping is in progress and skip information retrieval and sending in the as wrapper when this environment variable is present.

@hemarkus hemarkus added this to the Sprint 4.2 milestone Feb 20, 2019
@hemarkus hemarkus changed the title Skip as and ld if when wrapping gcc Skip as and ld when wrapping gcc Feb 28, 2019
@GiasemiSh GiasemiSh self-assigned this Mar 1, 2019
@hemarkus hemarkus closed this as completed Mar 5, 2019
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