Topic: Compile Mac i386 on a 64 machine
The following used to work in an old wolfSSL embedded SSL version (1.5.0)
./configure --without-zlib --enable-static --enable-shared=no CFLAGS="-arch i386 -mmacosx-version-min=10.4" LDFLAGS="-arch i386"
Now I get an error when building a lot of the binaries. Probably means that some outputs are picking up the platform override and some ignore it. Is there a new way I should be using to specify architecture?
CCLD testsuite/testsuite
ldld: warning: ignoring file ctaocryptld/test/:test.o , warningfile: wasld :built warningfor: unsupportedignoring filefile formatctaocrypt /(benchmark /0xcfbenchmark.o ,0xfa file0xed was0xfe built0x for7 unsupported0x file0 format0x (0 0xcf0x 0xfa1 0xed0x 0xfe3 0x0x 70 0x0x 00 0x0x 00 0x0x 11 0x0x 30 0x0x 00 0x0x 00 0x) 0which 0xis 1not 0xthe 0architecture 0xbeing 0linked 0x( i3860) ctaocryptwhich/ testis/ test.onot
ldthe: architecturewarning :being ignoringlinked file( i386src)/:. libsctaocrypt//libcyassl.abenchmark,/ benchmark.oignoringfile filewas srcbuilt/ .forlibs /archivelibcyassl.a ,which fileis wasnot builtthe forarchitecture archivebeing whichlinked is( i386not) :the srcarchitecture/ .beinglibs /linkedlibcyassl.a
(Undefinedi386 )symbols: forsrc /architecture. libsi386/:libcyassl.a
Undefined" _mainsymbols" ,for referencedarchitecture fromi386::
" _main " ,start referencedin fromcrt1.10.6.o: