Cygwin + MinGW + GCC 相談室 Part 3
■ このスレッドは過去ログ倉庫に格納されています
0055デフォルトの名無しさん
2007/05/20(日) 19:11:45WindowsでGAS使いたいけど、どうすればいいのでしょう?
asm文書いてコンパイルしてリンカすると以下のようにエラーになってしまいます。
ld: warning: cannot find entry symbol _mainCRTStartup; defaulting to 00401000
a.out(.text+0x21):hello.c: undefined reference to `_alloca'
a.out(.text+0x26):hello.c: undefined reference to `__main'
a.out(.text+0x32):hello.c: undefined reference to `printf'
■ このスレッドは過去ログ倉庫に格納されています