[openssl.org #1968] [PATCH 06/14] Allow overriding of settings for cross compilation.

View: New views
4 Messages — Rating Filter:   Alert me  

Parent Message unknown [openssl.org #1968] [PATCH 06/14] Allow overriding of settings for cross compilation.

by Arkadiusz Miskiewicz via RT :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This isn't really the way the config script was intended to be used. It
is supposed to auto detect the machine type and call Configure with the
appropriate target. If you want to cross compile you should call
Configure directly and use any additional arguments you need such as
--cross-compile-prefix .
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@...
Automated List Manager                           majordomo@...

Re: [openssl.org #1968] [PATCH 06/14] Allow overriding of settings for cross compilation.

by Arkadiusz Miskiewicz via RT :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Jivin Stephen Henson via RT lays it down ...
> This isn't really the way the config script was intended to be used. It
> is supposed to auto detect the machine type and call Configure with the
> appropriate target. If you want to cross compile you should call
> Configure directly and use any additional arguments you need such as
> --cross-compile-prefix .

Ok,  just for context,  I moved all the ocf-linux changes from 0.9.8k
over the last week and tested.  The --cross-compile-prefix option was not
available in the 0.9.8 series and I haven't looked at how/if I can take
advantage of that yet.

If this change is not suitable that ok.

I still feel that in a cross compiled embedded system, the output of uname
on the build host is next to useless information for most decision making.
It's possible for same target to be built on a Windows/Linux/BSD/whatever
system.

Cheers,
Davidm

--
David McCullough,  david_mccullough@...,  Ph:+61 734352815
McAfee - SnapGear  http://www.snapgear.com                http://www.uCdot.org


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@...
Automated List Manager                           majordomo@...

Re: [openssl.org #1968] [PATCH 06/14] Allow overriding of settings for cross compilation.

by David McCullough-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Jivin Stephen Henson via RT lays it down ...
> This isn't really the way the config script was intended to be used. It
> is supposed to auto detect the machine type and call Configure with the
> appropriate target. If you want to cross compile you should call
> Configure directly and use any additional arguments you need such as
> --cross-compile-prefix .

Ok,  just for context,  I moved all the ocf-linux changes from 0.9.8k
over the last week and tested.  The --cross-compile-prefix option was not
available in the 0.9.8 series and I haven't looked at how/if I can take
advantage of that yet.

If this change is not suitable that ok.

I still feel that in a cross compiled embedded system, the output of uname
on the build host is next to useless information for most decision making.
It's possible for same target to be built on a Windows/Linux/BSD/whatever
system.

Cheers,
Davidm

--
David McCullough,  david_mccullough@...,  Ph:+61 734352815
McAfee - SnapGear  http://www.snapgear.com                http://www.uCdot.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@...
Automated List Manager                           majordomo@...

Re: [openssl.org #1968] [PATCH 06/14] Allow overriding of settings for cross compilation.

by Roumen Petrov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

David McCullough via RT wrote:

> Jivin Stephen Henson via RT lays it down ...
>> This isn't really the way the config script was intended to be used. It
>> is supposed to auto detect the machine type and call Configure with the
>> appropriate target. If you want to cross compile you should call
>> Configure directly and use any additional arguments you need such as
>> --cross-compile-prefix .
>
> Ok,  just for context,  I moved all the ocf-linux changes from 0.9.8k
> over the last week and tested.  The --cross-compile-prefix option was not
> available in the 0.9.8 series and I haven't looked at how/if I can take
> advantage of that yet.

make CROSS_COMPILE_PREFIX=${host}-

[SNIP]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@...
Automated List Manager                           majordomo@...