Re: compile openssl for Arm A9 & VxWorks

Neil Horman <[email protected]>
Newsgroups gmane.comp.encryption.openssl.user
Message-ID <CAJbOq17byZTpxn9-Zco+9nP9oaUbrqzdx_S5Bcjj3QN8pGv3Yg@mail.gmail.com>
There are already several targets defined for vxworks.  First step I would
think would be cloning one of those targets in Configurations/10-main.conf
for your purposes and adjusting the settings accordingly:

"vxworks-ppc60x" => {        <= Change this to "vxworks-arm9' or some such
        inherit_from     => [ "BASE_unix" ],    <= Leave this alone I
imagine
        CC               => "ccppc", <= set the appropriate compiler
command here
        CFLAGS           => "-O2 -Wall -fstrength-reduce", <= For this and
below, adjust as needed
        cflags           => "-mrtp -mhard-float -mstrict-align
-fno-implicit-fp -fno-builtin -fno-strict-aliasing",
        cppflags         => combine("-D_REENTRANT -DPPC32_fp60x
-DCPU=PPC32",
                                    "_DTOOL_FAMILY=gnu -DTOOL=gnu",
                                    "-I\$(WIND_BASE)/target/usr/h",

"-I\$(WIND_BASE)/target/usr/h/wrn/coreip"),
        sys_id           => "VXWORKS", <= leave this alone
        lflags           => add("-L
\$(WIND_BASE)/target/usr/lib/ppc/PPC32/common"), <= Set this to your
vxworks library path
        ex_libs          => add("-Wl,--defsym,__wrs_rtp_base=0xe0000000"),
<= Probably leave this alone too
    },

On Wed, Jul 17, 2024 at 12:42 PM Damodhar Boddukuri via openssl-users <
[email protected]> wrote:

> Hi openSSL users,
>
>
>
> I would like to port openssl for Arm A9 & VxWorks Target. If someone can
> share the details, Its really helpful for me.
>
>
>
> Thanks in advance.
>
>
>
>
>
> Thanks & Regards,
>
> Damodhar.
>
> +91-7702191212
>
>
>
> General
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.