Skip to content
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

gcc option -fastf is not compatible with -E #5

Open
make4ppc opened this issue Jul 14, 2010 · 1 comment
Open

gcc option -fastf is not compatible with -E #5

make4ppc opened this issue Jul 14, 2010 · 1 comment

Comments

@make4ppc
Copy link

If gas-preprocessor.pl is invoked with a gcc command line that includes the -fastf option the assembled object file will have a mach-o header but no code, and there will be no error message.

It is possible other gcc options will be discovered to be incompatible with the -E option.

A possible fix may look like this:

@preprocess_c_cmd = grep(!/-fastf/, @preprocess_c_cmd);

@mansr
Copy link
Contributor

mansr commented Jul 27, 2010

Simply removing all -f options should do the trick. None of them have any effect on the preprocessor or assembler anyway.

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

No branches or pull requests

2 participants