[Bug 1885827] Re: building plugin failed on Windows with mingw

2020-07-07 Thread Xiaolei
Hi Emilio, I got the ideas for the attempt with a dummy dll. However, my collegue and I both failed to generate libqemu_plugin.dll.a during make process. And running "make install" yields errors as follows: mkdir -p "C:/QEMU_install/QEMUa/applications" install -c -m 0644 /c/QRS_Project/simd

[Bug 1885827] Re: building plugin failed on Windows with mingw

2020-07-05 Thread Xiaolei
Hi, I patched configure file and makefile. The output is listed below. The project is configured as : #../configure --target-list=dsp-softmmu --cross-prefix=x86_64-w64-mingw32- --enable-gtk --enable-sdl --enable-debug --enable-plugins --extra-cflags="-DBUILDING_DLL" But running make ye

[Bug 1885827] Re: building plugin failed on Windows with mingw

2020-07-03 Thread Xiaolei
If I keep "-Wl,-soname,$@" in the command , I got similar linking errors. makefile: SONAMES := $(addsuffix .dll,$(addprefix lib,$(NAMES))) QEMU_CFLAGS += -fPIC -fno-stack-protector -DBUILDING_DLL QEMU_CFLAGS += -I$(SRC_PATH)/include/qemu all: $(SONAMES) lib%.dll: %.o $(CC) -shared -Wl,-son

[Bug 1885827] [NEW] building plugin failed on Windows with mingw

2020-06-30 Thread Xiaolei
Public bug reported: I want to build QEMU 4.2.0's plugin module on Windows 7/10 with Mingw, but the building process faild. The step I follow is listed below: 1. create "dsp_build" diretory under source file folder 2. change directory to dsp_build , and run ../configure --target-list=dsp-sof

?????? GDB get wrong debug infos on TI DSP architecture extension

2020-05-28 Thread xiaolei
more specific on the termination check ? is it target architecture dependent( an added DSP target architecture should deal with it explicitly)? Thanks again xiaolei -- -- ??: "Alex Benn??e"; : 2020??5??28??(??) 4:34 ?

how to extend to load COFF executable image file

2020-05-12 Thread xiaolei
*data; //? for coff file MemoryRegion *mr; AddressSpace *as; int isrom; char *fw_dir; char *fw_file; GMappedFile *mapped_file; bool committed; hwaddr addr; QTAILQ_ENTRY(Rom) next; }; Any advise would be appreciated!! regards, xiaolei cui