temp4eb wrote:
Hi Rudi,
Thanx for you files and explain!I'm still working on cygwin64 to build the exe files according to your steps.I download the exe files and replace the original xtensa-esp32-elf dir in msys2 with them.And build failed:
this is a very bad idea
look in the c:\msys32
folder, there is mingw32
no cygwin
msys2 = mingw32 with mix of cygwin tools on mingw32 base
cygwin = pure posix
for this reason you see 2 versions of cygwin1.dll in the bin folder
for reason for more time postings i will finnish my thread until weekend
then you will read all details - i thinked you know what you do with the cygwin exe
this step was not the ideal doing.
temp4eb wrote:
Code: Select all
$ make
*** fatal error - cygheap base mismatch detected - 0x612E4408/0x61304400.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
all infos why this so is stand in the log -
temp4eb wrote:
it seems these files which were built in Cygwin could not be used in Msys2?
on this art you try - no way -
you try to mix now mingw32 with cygwin
canadian cross build and possix cygwin
Msys32 original Build was done in a Linux PC 64 bit, for the i686 windows 32 bit :
Code: Select all
[EXTRA] Dumping internal crosstool-NG configuration
[EXTRA] Building a toolchain for:
[EXTRA] build = x86_64-pc-linux-gnu
[EXTRA] host = i686-pc-mingw32
[EXTRA] target = xtensa-esp32-elf
mingw32 != cygwin
mingw32 = c:\ c:/
cygwin = /cygdrive/c/
cygwin32 != cygwin64
temp4eb wrote:
Since we are familier with Msys2 IDE for ESP32 development,I still want to get the Msys2 version xtensa-esp32-elf-gcc for ESP32 PSRAM modules.I will post a request for official help.Thanx!
the official "mingw32" ? "cygwin32" toolchain will come on the master later time, ( which i think mingw32 )
psram comes then merged into later i think -
i am not sure you read the postings and warnings from the postings in detail?
i think it is better you wait for the officially -
Msys2 contains
only the make tools like GNU make, python support, serial and so on
the same is possible with cygwin, and there is the reoson why you get cygheap error,
you try to combine difference versions...
a cygwin toolchain in a mingw32 make tool environment
( is possible - but you need to follow my unofficial thread cause i will only one time post the describe )
if you want use the unofficially toolchain exe ( cygwin build )
then you must build this by self with the same way for an
host = i686-pc-mingw32
if you want use your Msys2 mingw32 build for a toolchain build
further then you need the sourcen of all dll you have in msys-*.dll
...
and so on and on
...
not sure why we note this -
nobody read this
RTFM*
best wishes
rudi