mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] which Ubuntu version for MXE master branch?


From: Hamza Alloush
Subject: Re: [Mingw-cross-env-list] which Ubuntu version for MXE master branch?
Date: Sat, 2 May 2015 09:41:16 +0000


----------------------------------------
> Date: Thu, 30 Apr 2015 12:05:02 +0200
> From: address@hidden
> To: address@hidden
> CC: address@hidden
> Subject: Re: [Mingw-cross-env-list] which Ubuntu version for MXE master 
> branch?
>
> No, I was talking about adjusting the build commands within
> src/gdb.mk, adding some "touch" command there, or a "./configure"
> parameter, or make parameter that sets some variable "make VAR=xxx".
>
>
> Regards,
> Volker
>
> --
> Volker Grabsch
> ---<<(())>>---

so i just able to build gdb without docs, i did not use the touch command, but 
rather edit the 'configure' file itself.
in the 'configure' script at Line:8039, it does a non-empty string test, so it 
expects a return value from the missing script in case $MAKEINFO was empty.

configure:Line:8039: test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"

MISSING is simply a script in the source directory, that runs the program 
passed as an argument, to check if it exists and gives back advice and a return 
value(127 if missing, 63 if old, 0 if found):

configure:Line:7760: MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing

anyway, i delete this test, and i cancel all redirection to the missing script, 
this allows it to fail gracefully from a version check of a non-existant 
'texinfo'.

--- a/gdb-7.9/configure    2015-02-20 20:11:44.000000000 +0300
+++ b/gdb-7.9/configure    2015-05-02 11:53:06.540387000 +0300
@@ -8036,7 +8036,7 @@
 
   test -n "$MAKEINFO" && break
 done
-test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
+
 
 case " $build_configdirs " in
   *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
@@ -8048,7 +8048,7 @@
        | egrep 
'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])'>/dev/null 2>&1; then
       :
     else
-      MAKEINFO="$MISSING makeinfo"
+      :
     fi
     ;;
 

here is the working sed commands that edits this, but i was unable to overwrite 
the configure file in the build with $(SED) ... '$(1)/configure' for some 
reason?, perhaps you can help me incorporate this in gdb.mk

sed -r 's/test\ \-n\ \"\$\MAKEINFO\"\ \|.*//'
sed 's/MAKEINFO\=\"\$\MISSING\ makeinfo\"/\:/'

this modification was based on this info on the gdb mailing list:
https://www.sourceware.org/ml/gdb-prs/2015-q1/msg00421.html

Thanks
Hamza
                                          


reply via email to

[Prev in Thread] Current Thread [Next in Thread]