Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time
From: Paul Smith psm...@gnu.org Cc: Mike Hommey m...@glandium.org, mh+savan...@glandium.org, bo...@kolpackov.net, bug-make@gnu.org Date: Fri, 31 Jan 2014 10:59:13 -0500 My question, or _challenge_ if you like, is whether we can find a way to know, without any hints from the user, whether a given command line will work properly for /bin/sh -c in Windows, or if it needs to use a batch file. Mike, could you please post some details about your use case(s) that required this? I'm not sure why would quotes not work with a Unixy shell. Perhaps this is once again something specific to the MSYS conversion of file names? ___ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make
[bug #41422] load* tests should respect CC and CFLAGS
URL: http://savannah.gnu.org/bugs/?41422 Summary: load* tests should respect CC and CFLAGS Project: make Submitted by: None Submitted on: Sat 01 Feb 2014 06:10:51 PM UTC Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: 4.0 Operating System: POSIX-Based Fixed Release: None Triage Status: None ___ Details: the new load* tests: ./tests/scripts/features/loadapi ./tests/scripts/features/load want to build a shared object to load into make: my $sobuild = '$(CC) '.($srcdir? -I$srcdir:'').' -g -shared -fPIC -o $@ $'; we build make 64-bit now on Solaris, and there seems to be two problems. We set CC to an absolute path to the compiler when running configure: {mlsulliv:stargazer:38} grep ^CC = Makefile CC = /ws/on12-tools/SUNWspro/sunstudio12.1/bin/cc but when I run the tests, even though I see $(CC) above, it actually failed trying to find 'cc' until I set the path. the other problem is that since we build make 64-bit, the tests need to build a 64-bit .so, but as they don't pick up CFLAGS they don't get -m64 and so build a 32-bit one, which doesn't load. ___ Reply to this item at: http://savannah.gnu.org/bugs/?41422 ___ Message sent via/by Savannah http://savannah.gnu.org/ ___ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make