On Mon, Mar 06, 2017 at 05:30:58PM +0100, Åke Rehnman wrote:
> On 2017-03-06 17:15, Geert Stappers wrote:
> > On Mon, Mar 06, 2017 at 05:09:50PM +0100, Åke Rehnman wrote:
> >> On 2017-03-06 16:20, Geert Stappers wrote:
> >>>
> >>> My advice is to compare the cygwin buildlog with a Linux buildlog such as
> >>> at 
> >>> https://buildd.debian.org/status/fetch.php?pkg=urjtag&arch=arm64&ver=0.10%2Br2052-1&stamp=1481752319&raw=0
> >>>
> >> the problem probably arised much earlier where libpart and libsvf
> >> and was compiled.
> >>
> >> Run make again without cleaning and those errors should be clearly
> >> visible through all garbage on the console.
> >
> > And rerunning  configure wouldn't harm.
> >
> >
> >> As a side note, unless someone has fixed the configure script UrJtag
> >> doesn't build under cygwin with ftdi-drivers.
> >
> > These days we do accept patches.

Let me rephrase that

There were days we didn't care about sent patches.
We did not even review them.
Those days should be over.

 
> And these are the changes in the configure script. I don't recall 
> exactly why I just removed the check for mingw ONLY but what I do 
> remember is gcc will not link any libraries unless they start with lib.
> 
> So the workaround was to remove the check and rename the library to 
> libftd2xx.a if i recall...

I do read that as "I got a succesfull compile, but don't know exactly why,
probably renaming ftd2xx.a into libftd2xx.a"


>   urjtag/configure.ac | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/urjtag/configure.ac b/urjtag/configure.ac
> index 3c0ce81..7758fb4 100644
> --- a/urjtag/configure.ac
> +++ b/urjtag/configure.ac
> @@ -295,7 +295,7 @@ AS_IF([test "x$with_ftd2xx" = xyes -o 
> "x$with_ftd2xx" = xcheck], [
>     AS_IF([test "x$with_ftd2xx" != xno], [
>       HAVELIBFTD2XX=yes
>       case $host in
> -    *cygwin*|*mingw*)
> +    *cygwin*|*xxxmingw*)
>         CFLAGS="$CFLAGS -I$with_ftd2xx"
>         AS_IF([test -d "$with_ftd2xx/i386"], [
>           FTD2XXLIB="$with_ftd2xx/i386/ftd2xx.lib"
> @@ -328,7 +328,7 @@ AC_ARG_WITH([inpout32],
>       [], [with_inpout32=auto])
> 
>   case $host in
> -  *cygwin*|*mingw*) ;;
> +  *cygwin*|*xxxmingw*) ;;
>     *) with_inpout32=no ;;
>   esac
> 

Patch seen and it would be applied.

The change might have made a different,
but that is most likely due new timestamp on configure.ac
_plus_ rerunning  autoconf, configure and make.

Regex '*mingw*' matches also '*xxxmingx*'


Groeten
Geert Stappers
-- 
Leven en laten leven

------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
UrJTAG-development mailing list
UrJTAG-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to