开发者

how to design an IDE for GCC using Java?

开发者 https://www.devze.com 2023-03-30 04:44 出处:网络
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 exe

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

精彩评论

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