Building MP under windows
Posted: Tue Apr 15, 2014 9:20 am
Hi,
If I build using the ./unix make and cygwin the build works but I get
the following linker warnings:
LINK micropython
/usr/bin/ld: symbol `ffi_type_pointer' missing from main hash table
/usr/bin/ld: symbol `ffi_type_sint32' missing from main hash table
/usr/bin/ld: symbol `ffi_type_sint64' missing from main hash table
/usr/bin/ld: symbol `ffi_type_sint8' missing from main hash table
/usr/bin/ld: symbol `ffi_type_uint32' missing from main hash table
/usr/bin/ld: symbol `ffi_type_uint64' missing from main hash table
/usr/bin/ld: symbol `ffi_type_uint8' missing from main hash table
/usr/bin/ld: symbol `ffi_type_void' missing from main hash table
If I build using the ./windows make and cygwin the build fails:
LINK micropython.exe
/usr/bin/ld: cannot find -lmman
collect2: error: ld returned 1 exit status
../py/mkrules.mk:72: recipe for target 'micropython.exe' failed
make: *** [micropython.exe] Error 1
Can someone tell me what the preferred tool chain is for building mincropython.exe is on Windows.
Cheers, Steve
If I build using the ./unix make and cygwin the build works but I get
the following linker warnings:
LINK micropython
/usr/bin/ld: symbol `ffi_type_pointer' missing from main hash table
/usr/bin/ld: symbol `ffi_type_sint32' missing from main hash table
/usr/bin/ld: symbol `ffi_type_sint64' missing from main hash table
/usr/bin/ld: symbol `ffi_type_sint8' missing from main hash table
/usr/bin/ld: symbol `ffi_type_uint32' missing from main hash table
/usr/bin/ld: symbol `ffi_type_uint64' missing from main hash table
/usr/bin/ld: symbol `ffi_type_uint8' missing from main hash table
/usr/bin/ld: symbol `ffi_type_void' missing from main hash table
If I build using the ./windows make and cygwin the build fails:
LINK micropython.exe
/usr/bin/ld: cannot find -lmman
collect2: error: ld returned 1 exit status
../py/mkrules.mk:72: recipe for target 'micropython.exe' failed
make: *** [micropython.exe] Error 1
Can someone tell me what the preferred tool chain is for building mincropython.exe is on Windows.
Cheers, Steve