This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: configure: error: compiler support for __thread is required







>-lgcc_eh is not needed if you built a static gcc, libgcc_eh.a is only
>created when you build a shared gcc.
>When built static, all _eh symbols are included in libgcc.a
>
>Simple fix is to remove -lgcc_eh from the link...
>ie: edit Makeconfig
>change
>
>static-gnulib := -lgcc -lgcc_eh
>
>to
>
>static-gnulib := -lgcc
>
>HTH
> Regards
>Ryan

Oops, gnulib needs changing in Makeconfig too

gnulib := -lgcc $(libgcc_eh)

to

gnulib := -lgcc

 Regards
[R]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]