0
간단한 "Hello World!"를 크로스 컴파일하려고합니다. 프로그램, 아치 리눅스에서 윈도우아치 리눅스에서 창문으로 크로스 컴파일 pdcurses
에 여기에 코드입니다 :
#include <stdio.h>
#include <curses.h>
int main() {
initscr();
printw("Hello World!");
refresh();
getch();
endwin();
return 0;
}
그리고 그때와 Mingw를 사용하여 컴파일 :
x86_64-w64-mingw32-gcc hello.c -o hello-x64.exe -lpdcurses.dll
을 내가 프로그램을 실행하면 충돌이 발생합니다. 여기에 그것이야 trace