Changed toolchain names

This commit is contained in:
Morten Delenk 2016-07-02 17:16:47 +02:00
parent ffce78b24d
commit a2f8c2482d

View file

@ -95,7 +95,7 @@ int main(int argc, char** argv) {
int pid; int pid;
mkfifo("tmp.a", 0660); mkfifo("tmp.a", 0660);
if(!(pid=fork())) { if(!(pid=fork())) {
system("as -o tmp.o crt0.asm tmp.a libmtg.asm"); system("svmas -o tmp.o crt0.asm tmp.a libmtg.asm");
return 0; return 0;
} }
out=ofstream("tmp.a",ios::out); out=ofstream("tmp.a",ios::out);
@ -114,7 +114,7 @@ int main(int argc, char** argv) {
} }
out.close(); out.close();
wait(NULL); wait(NULL);
system(("explink -o "s+argv[2]+" -c tmp.o -C 0").c_str()); system(("svmln -o "s+argv[2]+" -c tmp.o -C 0").c_str());
unlink("tmp.o"); unlink("tmp.o");
} }