fno-leading-underscore vs libgcc

Dmitry Semyonov Dmitry.Semyonov@oktet.ru
Fri Nov 28 19:07:00 GMT 2003


On Thu, 27 Nov 2003, Dmitry Semyonov wrote:

> I need to use -fno-leading-underscore option.
> All is fine, except for __divsi3, etc. generated calls for soft-float.
> They are situated in libgcc.a, and are called ___divsi3, etc. (three
> underscores). What is the right way to make them match each other?
>
> I am cross-compiling to arm-wince-pe.

Well, I have not found nothing better than to add
TARGET_LIBGCC2_CFLAGS += -fno-leading-underscore
line into gcc/config/t-wince-pe file.


...Bye..Dmitry.



More information about the Gcc-help mailing list