wrong htons() used?

J.T. Conklin jtc@redback.com
Fri Oct 22 08:09:00 GMT 1999


>>>>> "Grant" == Grant Edwards <grante@visi.com> writes:
Grant> Apparently it is __BIG_ENDIAN.  Which is wrong, since it's a
Grant> 386.

You might want to examine the preprocessed output again, but this time
invoke gcc with the -dD flag as well.  The preprocessing results will
be output along with the #define directives that are normally removed.
Scan the output for where __BIG_ENDIAN is defined, and then track it
down from there.

        --jtc

-- 
J.T. Conklin
RedBack Networks


More information about the Gdb mailing list