SourceForge.JP: Open Source Software

LoginCreate AccountHelp[auto][en][zh][de][fr][ko][es][pt]
Back to Forum List
Back to this Forum

RSS feed of this forum [RSS]RSS for this Forum
RSS feed of this forum thread [RSS]RSS for this Thread

Discussion Forums: ・フォーラム


Forum posts/thread author names displayed like this are non-Login Users' posts (Post from non SourceForge.JP user).

Subject:[#42327] CDTが生成するMakefileに漢字を含めない方法はありませんか?

Date:2009-03-05 01:59By: Anonymous
Windows上でEclipse+cygwinを使った開発環境を模索しています。ただし、ソースコードの漢字にEUCを使いたいため、テキスト・ファイル・エンコードにEUC-JPを指定し、コンパイル時、gccの引数に -finput-charset=euc-jp -fexec-charset=cp932 を指定し、EUC→SJIS変換をしています。しかし、テキスト・ファイル・エンコードにEUC-JPを指定すると、自動生成されるMakefile中の漢字もEUCになります。従って、makeを実行すると文字化けしたメッセージが出力されます。そこだけ目を瞑ればいいのですが、何となくすっきりしません。自動生成されるMakefileの雛型に手をいれるか、自動生成されるMakefileを英語版にする方法はないでしょうか。

Post a message to this thread:
(follow up to message [#42327])

Subject:



Non-login user's post can not identify who are you. If you want to display your name on the post, please input your name.
(If you leave this blank, your message's author will display as Anonymous.)
Message:

HTML tags will display in your post as text
You are posting anonymously because you are not [logged in]