gcc without binutils

Alexandros Tzannes tzannes@cs.umd.edu
Fri Jun 6 15:18:00 GMT 2008


Hi all,
I was wondering if there is a configuration parameter for gcc that would
prevent it from using an assembler and linker. I have a port of
gcc 4.0.2 for an experimental architecture and I have my own assembler 
and linker. Currently I am compiling gcc with binutils compiled for MIPS 
  but renamed to make the scripts think they are what is needed. I only 
ever  use gcc to produce .s files so if there is a way to configure and 
build gcc without having an assembler and linker it would make my build
process cleaner.

By the way I tried using --with-as and --with-ld but I get a make error
saying "*** This configuration requires the GNU assembler". If there is 
a way to achieve that without making too many changes in the configure 
and build scripts it would be preferable.

Thank you in advance,
Alex Tzannes



More information about the Gcc mailing list