Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
19 Views

Way to create object files with *.o extension in windows

Hi
I am trying to port an application from Linux to Windows using Intel compilers (using Cygwin env.). I am able to compile the application and the object files are created. While linking the object files to create the executable, it looks for object files with *.o extension but here in Windows we get with *.obj extension.
Is there a way that I can create the object files with *.o extension even on the Windows side as is done in Linux ?
Thanks & Regards,
Kunal
0 Kudos
2 Replies
Highlighted
Moderator
19 Views

use "/FoTest.o" to generate test.o instead of test.obj.
It only changes the file name, the object format is still for Windows.

Jennifer
0 Kudos
Highlighted
Beginner
19 Views

Thanks Jennifer !! It worked ..
Regards,
Kunal
0 Kudos