Hi,
I am trying to use ICL to generate assembly and then do some processing of assembly and finally generate the binary using the updated assembly. However, this workflow does not work because the assembly generated by ICL seems not acceptable by ML64.exe
Following is output of compiling a simple Hello World style program:
main() { printf ("test\n"); }
Commands and outputs below:
$ icl /S test.c
Intel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.2.187 Build 20170213
Copyright (C) 1985-2017 Intel Corporation. All rights reserved.
test.c
$ icl test.asm
Intel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.2.187 Build 20170213
Copyright (C) 1985-2017 Intel Corporation. All rights reserved.
test.asm
Assembling: test.asm
test.asm(18) : error A2008:syntax error : .1
test.asm(27) : error A2008:syntax error : .5
test.asm(35) : error A2008:syntax error : .2
test.asm(42) : error A2008:syntax error : .3
test.asm(50) : error A2008:syntax error : .main
test.asm(57) : error A2008:syntax error : .main
test.asm(58) : error A2006:undefined symbol : .B1
test.asm(59) : error A2006:undefined symbol : .unwind
Would this be fixable?
Thanks.
david