This is the mail archive of the
mailing list for the GCC project.
Re: undefined BITS_PER_UNIT
Rogelio Serrano wrote:
When building gcc-4.1.0 with uclibc im getting and undefined
BITS_PER_UNIT error when building libgcc at the muldi3.
Using grep would show that it is defined in the defaults.h file. Using
grep again shows that defaults.h is supposed to be automatically
included in the tm.h file by configure. The fact that it isn't implies
that tm_file is being set wrong in config.gcc.
You failed to mention the target triplet. Just uclibc is ambiguous, as
there are many different systems using uclibc. If you are configuring
for an existing target, then this would indicate a bug in a supported
target that should be reported and fixed. If you are writing your own
port, this indicates a bug in your port.
Jim Wilson, GNU Tools Support, http://www.specifix.com