This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: R: disable libgcc


On Thu, Aug 28, 2003 at 10:18:35AM +0200, Gabriele Caracausi wrote:
> Because I'm trying a new porting for a university exam but I don't want to
> write libgcc.S for my machine.
> So, I want ogni to compile c --> ASM only with a reduced set of C structures
> (i.e. only integer type) so I think that libgcc Isn't useful for me.
> 
> Can you write exactly what I have to do?

You could build only cc1 and use gcc -v with a native compiler to see
what kinds of options to give your cc1 to compile a source file to a .s
file.  The basic procedure for building cc1 is:

  cd $objdir
  $srcdir/configure --enable-languages=c $other_configure_options
  make all-libiberty
  make configure-gcc
  cd gcc
  make cc1

Janis


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]