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.


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list