where is the source code generate crtbegin.o (i386)?
Hello, all where is the source code which generate crtbegin.o (i386)? gcc-6.2.0-source/libgcc/config/i386 only have ctr1.S/crtn.S, where is the others(crtbegin/crtend/crt1, etc)? thx -- 业精于勤,荒于嬉.
Re: where is the source code generate crtbegin.o (i386)?
* zet: > Hello, all > > where is the source code which generate crtbegin.o (i386)? > > gcc-6.2.0-source/libgcc/config/i386 only have ctr1.S/crtn.S, where is > the others(crtbegin/crtend/crt1, etc)? See libgcc/Makefile.in: ifeq ($(CUSTOM_CRTSTUFF),) # Compile two additional files that are linked with every program # linked using GCC on systems using COFF or ELF, for the sake of C++ # constructors. crtbegin$(objext): $(srcdir)/crtstuff.c $(crt_compile) $(CRTSTUFF_T_CFLAGS) -c $< -DCRT_BEGIN crtend$(objext): $(srcdir)/crtstuff.c $(crt_compile) $(CRTSTUFF_T_CFLAGS) -c $< -DCRT_END And so on. libgcc/crtstuff.c is compiled multiple times to yield different object files.
gcc-7-20161023 is now available
Snapshot gcc-7-20161023 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/7-20161023/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 7 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision 241456 You'll find: gcc-7-20161023.tar.bz2 Complete GCC MD5=b0e044c5098c9d930b0ebf52f244c641 SHA1=fa55ca2e26b03d97e14df0f6b48cc63003a1108a Diffs from 7-20161016 are available in the diffs/ subdirectory. When a particular snapshot is ready for public consumption the LATEST-7 link is updated and a message is sent to the gcc list. Please do not use a snapshot before it has been announced that way.