Information on Build.info

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Information on Build.info

shiva kumar
Hi,
Actually I wanted to know how build.info file in each directory such as apps, engines etc, will used generate the Make file, what would happen If I wanted to change the build.info file 

1) in openssl/apps/build.info
what would happen if I change 
DEPEND[openssl]=libapps.a ../libssl
to
DEPEND[openssl]=libapps.a ../libssl.a

2)in openssl/engines/build.info 
what would hapen if I change 
  LIBS=../libcrypto
  to 
  LIBS=../libcrypto.a

  DEPEND[padlock]=../libcrypto
  to
  DEPEND[padlock]=../libcrypto

  DEPEND[capi]=../libcrypto
  to
  DEPEND[capi]=../libcrypto.a

  DEPEND[afalg]=../libcrypto
  to
  DEPEND[afalg]=../libcrypto

   DEPEND[dasync]=../libcrypto
   to
    DEPEND[dasync]=../libcrypto

    DEPEND[ossltest]=../libcrypt
   to
    DEPEND[ossltest]=../libcrypt

3) in openssl/build.file
    what would happen if I change 
    DEPEND[libssl]=libcrypto
    to
    DEPEND[libssl]=libcrypto.a

please let me know

Thanks and Regards
Shivakumar

  



Reply | Threaded
Open this post in threaded view
|

Re: Information on Build.info

J. J. Farrell-2
Have you tried it? It's the simplest way to find out what would happen, though it's a very strange thing to do. It's almost certainly not the best way to do whatever you're trying to do.

If you take a step back and tell us what you are trying to achieve overall you'll be more likely to get useful advice. What do you want to end up with when you do the build? How is what you want different from what you get when you do a build without any modifications?

On 18/06/2019 08:20, shiva kumar wrote:
Hi,
Actually I wanted to know how build.info file in each directory such as apps, engines etc, will used generate the Make file, what would happen If I wanted to change the build.info file 

1) in openssl/apps/build.info
what would happen if I change 
DEPEND[openssl]=libapps.a ../libssl
to
DEPEND[openssl]=libapps.a ../libssl.a

2)in openssl/engines/build.info 
what would hapen if I change 
  LIBS=../libcrypto
  to 
  LIBS=../libcrypto.a

  DEPEND[padlock]=../libcrypto
  to
  DEPEND[padlock]=../libcrypto

  DEPEND[capi]=../libcrypto
  to
  DEPEND[capi]=../libcrypto.a

  DEPEND[afalg]=../libcrypto
  to
  DEPEND[afalg]=../libcrypto

   DEPEND[dasync]=../libcrypto
   to
    DEPEND[dasync]=../libcrypto

    DEPEND[ossltest]=../libcrypt
   to
    DEPEND[ossltest]=../libcrypt

3) in openssl/build.file
    what would happen if I change 
    DEPEND[libssl]=libcrypto
    to
    DEPEND[libssl]=libcrypto.a

please let me know

Thanks and Regards
Shivakumar

-- 
J. J. Farrell
Not speaking for Oracle
Reply | Threaded
Open this post in threaded view
|

Re: Information on Build.info

Richard Levitte - VMS Whacker-2
A very simple answer would be to have 'no-shared' as a configuration option.
That does mean that no shared libraries will be built, and that might not be satisfactory.

Any, for the question "what would happen?" is that any program or module that get this change will be linked with the static library instead of the shared one, unconditionally.

Cheers
Richard


"J. J. Farrell" <[hidden email]> skrev: (19 juni 2019 20:11:53 CEST)

>Have you tried it? It's the simplest way to find out what would happen,
>
>though it's a very strange thing to do. It's almost certainly not the
>best way to do whatever you're trying to do.
>
>If you take a step back and tell us what you are trying to achieve
>overall you'll be more likely to get useful advice. What do you want to
>
>end up with when you do the build? How is what you want different from
>what you get when you do a build without any modifications?
>
>On 18/06/2019 08:20, shiva kumar wrote:
>> Hi,
>> Actually I wanted to know how build.info <http://build.info> file in
>> each directory such as apps, engines etc, will used generate the Make
>
>> file, what would happen If I wanted to change the build.info
>> <http://build.info> file
>>
>> 1) in openssl/*apps/build.info <http://build.info>*
>> what would happen if I change
>> *DEPEND[openssl]=libapps.a ../libssl*
>> to
>> *DEPEND[openssl]=libapps.a ../libssl.a*
>>
>> 2)in openssl/*engines/build.info <http://build.info>*
>> what would hapen if I change
>> *  LIBS=../libcrypto*
>>   to
>> *  LIBS=../libcrypto.a*
>> *
>> *
>> *  DEPEND[padlock]=../libcrypto*
>>   to
>> *DEPEND[padlock]=../libcrypto*
>>
>> *DEPEND[capi]=../libcrypto*
>>   to
>> *DEPEND[capi]=../libcrypto.a*
>>
>> *DEPEND[afalg]=../libcrypto*
>>   to
>> *DEPEND[afalg]=../libcrypto*
>>
>> * DEPEND[dasync]=../libcrypto*
>>    to
>> *DEPEND[dasync]=../libcrypto*
>>
>> *DEPEND[ossltest]=../libcrypt*
>>    to
>> *DEPEND[ossltest]=../libcrypt*
>>
>> 3) in *openssl/build.file*
>>     what would happen if I change
>> *DEPEND[libssl]=libcrypto*
>>     to
>> * DEPEND[libssl]=libcrypto.a*
>>
>> please let me know
>>
>> Thanks and Regards
>> Shivakumar

--
Skickat från min Android-enhet med K-9 Mail. Ursäkta min fåordighet.