A89: TIGCC and MLink


[Prev][Next][Index][Thread]

A89: TIGCC and MLink




Hi!

| I'm also curious as to how to use mlink with TIGCC? I tried replacing the
| link.exe program in the C\bin\ folder and using the switches suggested in
| the readme for mlink but my computer hung up during compilation in the ide
| so that probably isn't the right way to get it to work...

There wasn't any way until now, partly because mlink's use of the output and
error stream is somewhat awkward, partly for an unknown reason that prevents
the IDE from running mlink directly without being called from within a batch
file.  Both have been fixed for the next release, which will be coming soon.

For anyone who cares: The new version will also have beta-stage native
floating point support, for everyone to try out.

| I tried that too, and the same thing happened.  What I did was I made a
batch file in my project folder that called mlink with the right arguments.
Now I just use the "Compile" button on the IDE instead of the "Build"
button, and then switch to the project folder and click on the batch file,
and the .89z file is produced.

For now, this is the only way to do it.

| Sometime in the future, TI-GCC will switch linkers, but I don't know when.
Until then, a batch file is the easiest way to do it.

Like Zeljko said, mlink is closed source; it cannot be included as long as
it stays this way.

Bye,
Sebastian




References: