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] |
On Sun, Jun 26, 2011 at 7:19 AM, Yann E. MORIN <yann.morin.1998@anciens.enib.fr> wrote: > On Sunday 26 June 2011 15:59:40 Titus von Boxberg wrote: >> Am 26.06.2011 um 15:34 schrieb Yann E. MORIN: >> >> > The idea is to be able to move the toolchain from one host to another >> > without too much hassles... >> > >> > While the C library is pretty standard and backward-compatible, the >> > libstdc++ is very tightly coupled to the compiler. >> I think that this might be a problem specific to Linux-Distros + gcc >> because libstdc++ - as you said - is locked into gcc and the Linux Distros >> do not see or do not want to solve this problem. > > Agreed. gcc is bundling too much crap^Wstuff. libstdc++ should be separate, > much like the C library and other libs are. > > But that's another storry! :-] > >> Presumably, gcc's and libstdc++'s days will quite soon be over on MacOS, >> so there won't be a newer libstdc++ that could raise DLL hell. > > Hehe! I'm looking forward to seeing LLVM/CLanG being a proper replacement > for gcc, even on Linux-based systems! ;-) > >> Would you accept a change that prevents static linking on Mac? > > Yes, sure. But it should: > Â- happen in ./configure > Â- use the new variable passing > Â- hide the corresponding options from the menuconfig > Â- have no impact on the code in scripts/build/cc/gcc.sh > > Something along the lines of: > > Âprintf "Checking if static link is possible..." > Âcase $(uname -s) in >  ÂMacOS-X)  Âstatic_link_ok=""; printf "no\n";; >  Â*)     Âstatic_link_ok="y"; printf "yes\n";; > Âesac > Âadd_to_kconfig_list static_link_ok > > And to options that need it, add: > Âdepends on CONFIGURE_static_link_ok > > > Then, you could push a second patch: > Â- don't check for static libs if static link is not available: >  - static libstdc++ >  - static expat > so the user does not see spurious failed tests. > > 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 > > So, I understand that you guys want to use the apple provided gcc, but I don't care and just use the one from macports. Choose the right battle. -- 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] |