bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] Cmake assumes that AR is always /bin/ar


From: arnold
Subject: Re: [bug-gawk] Cmake assumes that AR is always /bin/ar
Date: Sun, 25 Mar 2018 13:24:20 -0600
User-agent: Heirloom mailx 12.4 7/29/08

Hi.

Here's a response about CMake, hope it helps.

> From: "J??rgen Kahrs" <address@hidden>
> Date: Sun, 25 Mar 2018 17:43:01 +0200
> Subject: Re: bug with cmake
>
> Hello Arnold,
> nice to hear that someone actually uses CMake with gawk.
> The settings for the compiler and the toolchain are indeed
> a bit special. I guess that Steven Penny tried to do a native
> build and not a build with a cross compiler. Cross-compiling
> is very different, but in case of cross-compiling he could
> have relied on some openly available HOWTOs that are
> mentioned in GAWK's cmake/Toolchain_mingw32.cmake.
>
> The best hint I have found with Google is this one:
> ? http://kwwidgets.org/Bug/view.php?id=13038
>
> >? In the toolchain file try
> >
> ?> ? set(CMAKE_AR /usr/bin/i686-pc-mingw32-ar CACHE FILEPATH "Archiver")
> >
> >? and then test with a fresh build tree.?
>
> This decription should at least point him into the right direction.
>
> Thanks to you for managing all these requests.
>
>
> > Juergen,
> >
> > Please take a look ...
> >
> >> Date: Thu, 22 Mar 2018 17:53:44 -0700 (PDT)
> >> From: Steven Penny <address@hidden>
> >> To: address@hidden
> >> Subject: [bug-gawk] Cmake assumes that AR is always /bin/ar
> >>
> >> It appears that Gawk Cmake assumes that AR is always /bin/ar.
> >>
> >> I attempted to change it like this:
> >>
> >>     cmake -DCMAKE_AR=/bin/x86_64-w64-mingw32-ar
> >>
> >> but the error persists:
> >>
> >>     [ 15%] Linking C static library libsupport.a
> >>     Error running link command: No such file or directory



reply via email to

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