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] build fixes for glibc-2.3.6 and old systems


Hello again!

> > Also, ${CT_BUILD}-gcc points to the wrong gcc (/usr/bin/gcc) instead of
> > $CT_CC_NATIVE. Mine (2.95) cannot build glibc-2.3.6 while the gcc-3.3
> > I have in CT_CC_NATIVE can.
> Arggh... In fact CT_CC_NATIVE was never really tested. Sighh... :-( It was
> working once, I remember, but that must has been loooong ago... I will have to
> rework this.

Care to have a go with the attached patch, please?

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< °_° >==-- °------------.-------:  X  AGAINST      |  /e\  There is no  |
| http://ymorin.is-a-geek.org/ | * _ * | / \ HTML MAIL    |  """  conspiracy.  |
°------------------------------°-------°------------------°--------------------°
Index: ct-ng.trunk/scripts/crosstool.sh
===================================================================
--- ct-ng.trunk/scripts/crosstool.sh	(revision 627)
+++ ct-ng.trunk/scripts/crosstool.sh	(working copy)
@@ -386,7 +386,7 @@
     # Do that:
     CT_DoLog DEBUG "Making build system tools available"
     mkdir -p "${CT_PREFIX_DIR}/bin"
-    for tool in ar as dlltool gcc g++ gnatbind gnatmake ld nm ranlib strip windres objcopy objdump; do
+    for tool in ar as dlltool ${CT_CC_NATIVE:=gcc} gnatbind gnatmake ld nm ranlib strip windres objcopy objdump; do
         tmp=`CT_Which ${tool}`
         if [ -n "${tmp}" ]; then
             ln -sfv "${tmp}" "${CT_PREFIX_DIR}/bin/${CT_BUILD}-${tool}"

 ct-ng.trunk/scripts/crosstool.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
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]