[vlc-devel] [PATCH 1/2] Bootstrap on Solaris
Maciej (Matchek) Bliziński
maciej at opencsw.org
Wed Feb 29 09:00:15 CET 2012
2012/2/28 Francois Cartegnie <fcvlcdev at free.fr>:
> Le 28/02/2012 08:29, Maciej (Matchek) Bliziński a écrit :
>> Why not make it just work for everyone? It's enough to avoid this
>> particular construct. Instead you can either invert the logic and use
>> 'else', do something like this:
> Because we can't fix everything that is called with a broken shell: The
> 'everyone' is POSIX.
>> That might help, but there is a hardcoded call to 'sh' in bootstrap,
>> which resolves to /bin/sh and causes genmf to fail. Perhaps genmf
>> should be patched to honor CONFIG_SHELL?
> There was a similar patch posted, but never applied and finally end up
> as wiki instructions.
I don't understand this. If there are people who care, and write code
that works on all systems
> I've changed that line to honor an alternative CONFIG_SHELL too.
> Meanwhile, you're still not telling on which platform and which vlc
> version you're trying to build (and which compiler: official suncc or gcc).
Here's the platform and compiler information:
maciej at unstable10s [unstable10s]:~ $ uname -a
SunOS unstable10s 5.10 Generic_142909-17 sun4v sparc SUNW,SPARC-Enterprise-T5220
maciej at unstable10s [unstable10s]:~ $ cat /etc/release
Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
Assembled 11 August 2010
maciej at unstable10s [unstable10s]:~ $ /opt/csw/bin/gcc -v
Reading specs from /opt/csw/lib/gcc/sparc-sun-solaris2.10/4.6.2/specs
--program-suffix=-4.6 --prefix=/opt/csw --exec_prefix=/opt/csw
--mandir=/opt/csw/share/man --with-gnu-as --with-as=/opt/csw/bin/gas
--without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-nls
--with-included-gettext --with-libiconv-prefix=/opt/csw --with-x
--with-mpfr=/opt/csw --with-gmp=/opt/csw --with-ppl=/opt/csw
--enable-java-awt=xlib --enable-libada --enable-libssp
Thread model: posix
gcc version 4.6.2 (GCC)
The VLC version I'm building is from git://git.videolan.org/vlc.git,
the master branch. I'm building with GCC, I expect the sunpro build to
be more difficult, and I don't want to get into discussions about
More information about the vlc-devel