开发者

how to design an IDE for GCC using Java?

I have already created a text editor using Netbeans in Java and I want to know to link the text editor with the GCC compiler 开发者_如何学Pythonin Linux Platform.


Try the Runtime 'exec' method to execute the program you want (gcc) with the parameters you want (the file names to compile). From there you get a process object that you can use to read the output streams from the executed program.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜