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]

difference between tls.dat and dat files


Hi,

I have a question when configuring crosstool.

What are the different between the *-tls.dat files and *.dat files?

I noticed that in *-tls.dat files, there is an extra line says 
GLIBC_EXTRA_CONFIG="$GLIBC_EXTRA_CONFIG --with-tls --with-__thread  --enable-kernel=2.4.18"

Does it mean only *-tls.dat configurations support multi-threaded programs?

But when I run sh ./demo-alpha.sh with the tls.dat file, there is a line printed: 

GLIBC_EXTRA_CONFIG not set, so not passing any extra options to glibc's configure script

Does this simply mean the --with-__thread options in the tls.dat file is not used? If so, then again what is the difference between tls.dat and other dat files?

Thank you so much!

Jiayuan

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