compile openssl for Arm A9 & VxWorks

Neil Horman nhorman at openssl.org
Wed Jul 17 18:46:22 UTC 2024


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 <
openssl-users at openssl.org> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20240717/ff510915/attachment-0001.htm>


More information about the openssl-users mailing list