R: disable libgcc
Janis Johnson
janis187@us.ibm.com
Thu Aug 28 21:28:00 GMT 2003
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
More information about the Gcc
mailing list