File copyright assignment | GSOC 16
Hi, I have been selected for the google summer of code ’16 with GCC. I’m required to file a copyright assignment before I can start making contributions to the project. I would like to obtain the relevant forms in order to contribute to the gcc project. Thanks, Ayush Goel
GSOC '16 student | Ayush Goel
Hey, I wanted to introduce myself to the gcc’s developer's community. I have been selected for the google summer of code program with gcc for 2016. The title of my project is - Replace libiberty with gnulib I’ve created a very short wiki describing the project and my initial approach at how I’ll be proceeding. https://gcc.gnu.org/wiki/replacelibibertywithgnulib Any kind of suggestion or criticism to the approach mentioned will be highly appreciated. It’s a pleasure working with gcc. - Cheers Ayush Goel
Importing gnulib inside gcc
I’m working on importing gnulib inside gcc so that gcc can leverage it’s functionality (and possible replace certain dependencies from libiberty). I have imported the required gnulib modules in a directory inside the gcc directory, along with the necessary configure.ac and Makefile.in required to configure and compile gnulib. In order to invoke these from the top directory, I’m making the corresponding changes in gcc/Makefile.in and gcc/configure.ac However the build is giving me an error (specifically it is not able to find the libgnu.a file). I’m not sure why this is happening. I’m attaching the changes that I’ve made in the configure.ac and Makefile.in files Thanks, Ayush make_configure_gcc Description: Binary data
Should we import gnulib under gcc/ or at the top-level like libiberty?
Hi, I am working on importing gnulib library inside the gcc tree. Should the library be imported in the top level directory along with other libraries (like libiberty, libatomic, liboffloadmic etc), or should it be imported inside gcc/ like it is done in the binutils-gdb tree. There they have a gnulib directory inside gdb/ in the top level directory. -- Thanks, Ayush Goel
Importing gnulib in gcc
I’m using the whole of gdb’s gnulib wrapper library and scripts and imported it in gcc's top level directory. https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=tree;f=gdb/gnulib;h=cdf326774716ae427dc4fb47c9a410fcdf715563;hb=HEAD I’ve also added gnulib as a host and build module in the Makefile.def and added the corresponding dependency of all-gcc on gnulib targets and regenerated the Makefile.in and configure files. However I still don’t see compiled gnulib files as a sub directory in the build directory? What can be the reason for that? -- Thanks, Ayush Goel
Build fails on importing gnulib
Build fails on including gnulib header files in the include path In file included from insn-modes.c:5: In file included from /Users/ayushgoel/gsoc/src/gcc/system.h:294: ../gnulib/import/unistd.h:135:3: error: "Please include config.h first." #error "Please include config.h first." ^ ../gnulib/import/unistd.h:137:1: error: unknown type name '_GL_INLINE_HEADER_BEGIN' _GL_INLINE_HEADER_BEGIN I’m assuming after the newer version of gnulib it is required to include config.h before the system headers. However config.h has already been included before system.h in all such files. Is this due to some variable like HAVE_CONFIG_H being set? -- Thanks, Ayush Goel