On 1/2/2013 9:34 AM, Jeffrey Walton wrote:
On Mon, Dec 31, 2012 at 7:00 AM, Ben Laurie <[email protected]> wrote:
On Mon, Dec 31, 2012 at 11:39 AM, Jeffrey Walton <[email protected]> wrote:
On Sun, Dec 30, 2012 at 3:20 PM,  <[email protected]> wrote:
On 30-12-2012 21:01, Jeffrey Walton wrote:

....

Configure should test `makeddepend`. If 'makedepend' succeeds, do
nothing. If 'makedepend' fails, it should patch the resulting Makefile
with "MAKEDEPEND=$(CC) -M' on Apple platforms.

That's the behavior I am looking for.  and the Makefile.org are
available online for inspection.
http://cvs.openssl.org/fileview?f=openssl/Configure&v=1.621.2.37.2.32.2.11
http://cvs.openssl.org/fileview?f=openssl/Makefile.org&v=1.295.2.10.2.11.2.3

According to my reading of Configure (in 1.0.1 at least) it should
already change makedepend to $cc, which should be specified by the
platform. Not sure why it appears not to!
I'm in a cross-compile environment. Perhaps its due to grepping for
"^gcc", while OS X will have "llvm-gcc"?

Its just speculation since I did not see that in 'config' and
'Configure' when I looked.


Note that in standard IOS builds, cc is "cc" or "gcc" for backward compatibility, but it is really the llvm-clang compiler (not the llvm-gcc compiler, which is a different part of the llvm project).

Also note that "as" is (or at least recently was) the Apple fork of GNU as, not the llvm assembler (again, this is for iOS).


Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S.  http://www.wisemo.com
Transformervej 29, 2730 Herlev, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [email protected]

Reply via email to