True. I should have noticed the options. I was able build it now.
However, only static libraries were generated, that's not what I need. I checked configure and did not find options talking explicitly about static and dynamic libraries. Perhaps they are "disguised" ?
On Sun, Aug 14, 2022 at 09:38:50PM -0500, G. Branden Robinson wrote:
At 2022-08-14T22:05:44-0300, alexandre schenberg wrote:
> Hello. While trying to compile ncurses, I am confronted with this
> error message:
>
> "make[1]: execvp: /media/34GB/Arquivos-de-Programas-Linux/Gcc-4.9.4/bin/: Permission denied
> make[1]: *** [make_hash] Error 127"
>
> I am building it with:
>
> "CFLAGS=-m32 ./configure --host=i686-gnu-linux --with-build-cc=/media/34GB/Arquivos-de-Programas-Linux/Gcc-4.9.4/bin/"
>
> What can be the cause of the error? There is no restriction whatsoever
> to call gcc
The configure script is probably expecting a file, not a directory, as
the argument to the `--with-build-cc` option.
sure - "INSTALL" lists separate options for each feature that would be
used in makefile variables, e.g., CC, CFLAGS, CPP, CPPFLAGS, LDFLAGS
and LIBS:
--with-build-cc=XXX
--with-build-cflags=XXX
--with-build-cpp=XXX
--with-build-cppflags=XXX
--with-build-ldflags=XXX
--with-build-libs=XXX
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net