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

Add @file command line support to gcc/g++ (ported from GCC 4.1) #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

argasek
Copy link

@argasek argasek commented Jan 8, 2015

This patch adds @file command line option support to GCC (see: https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Overall-Options.html#Overall-Options). It's necessary to in order to make the toolchain to work with CLion (otherwise indexing and compilation in IDE doesn't work correctly).

…iler useful on CLion. Merge previous patches into current patch.
@cahirwpz
Copy link
Member

I'll accept this patch after a rework. Please split it into following parts:

  1. minimal changes that are required for your main patch to work
  2. @file support.

First patch needs to be generated by means of scripts/mk-diff-tree.sh. After successful compilation please copy original gcc's sources to sources/gcc-2.95.3.orig name. Then under sources directory run ../scripts/mk-diff-tree.sh gcc-2.95.3 to update files under patches/gcc-2.95.3 directory.

Second patch should be a standalone file - let's say zzb_atfile_support.diff.

If first patch doesn't break Linux / Cygwin build I'll import second one.

I'd appreciate if you added a short documentation (github wiki) on how to actually configure CLion to make use of the toolchain. That could be beneficial to the community.

@cahirwpz cahirwpz force-pushed the master branch 5 times, most recently from ddbafe3 to 7b237d9 Compare April 17, 2016 12:06
@cahirwpz cahirwpz force-pushed the master branch 2 times, most recently from 613dc67 to 485a13e Compare October 9, 2016 21:19
@cahirwpz cahirwpz force-pushed the master branch 2 times, most recently from 162eb3f to 4915e56 Compare October 16, 2016 23:50
@cahirwpz
Copy link
Member

Could you move the patch to https://github.com/cahirwpz/amigaos-gcc-2.95.3 ?

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

Successfully merging this pull request may close these issues.

2 participants