Share your knowledge at the LQ Wiki.
Go Back > Blogs > rainbowsally
User Name


Rate this Entry

new mc2 - creates makefiles from a source tree

Posted 12-08-2012 at 12:17 AM by rainbowsally
Updated 08-06-2014 at 11:02 AM by rainbowsally

Fixed a bug in mc2 noticed here.
Where It Crashed:

The large number of files listed in the mc2.def was overloading the parser so Parser (and the string list file and pipe reader) got a heftier buffer.

The file above is a java application. Not a great one but it shows one way mc2 can even generate makefiles for java applications using EXT_ALL as a target and some other tricks.

The application above has a java gui, but it only decompiles older java, and let's face it. Java apps kinda suck, so it looks like we'll be seeing some more qt4 stuff around here soon.

In the meantime: Need to make makefiles quickly that do incremental linkage, use your file system as the PROJECT definition? Update makefiles if sources change, recursively?

Here's the latest.

The Application:

There's still a bug in mc2. If the name CFLAGS doesn't exist in the mc2.def for certain kinds of builds, mc2 will hang and you have to hit Ctrl-C to unhang it. When that's fixed I'll try to include the docs for the EXT_* targets such as were used in the java build at the top.
Posted in Uncategorized
Views 1002 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 03:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration