This is the mail archive of the crossgcc@sourceware.org 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: ct-ng tarball -or- where is my built toolchain


Xiao, All,

On Thursday 26 August 2010 17:03:17 Xianghua Xiao wrote:
> Thanks for the reply. Yes x-tools is under my home directory. I'm new
> to crosstool-ng and failed to find that info in either "ct-ng help" or
> your homepage

Hmmm. No, it's not documented at all. I'll try to look for a correct
way to put this in the documentation.

> To get eglibc compiled I had to add -U_FORTIFY_SOURCE to gcc(on both
> ubuntu and redhat machine), wish I could keep that feature for
> eglibc(I assume it will be the same for glibc)

What is your target? That fortify hack is used in some of the samples,
all being x86 or x86_64. What those do is set:
  extra target CFLAGS --> -U_FORTIFY_SOURCE

(which sets CT_LIBC_GLIBC_EXTRA_CFLAGS "-U_FORTIFY_SOURCE" in .config).

Maybe that'd warrant a new config knob to enable/disable 'fortification'.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq


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