Is it possible to link a *.o file generated with nasm in tcc?
With gcc it works fine for me:
nasm -f win32 -o fastmath.o fastmath.asm
gcc -o powerTest.exe powerTest.cpp cexport.o
When I try the same procedure with tcc, i got the following error: fastmath.o:1: error: unrecognized file
set name=test
set tccpath=C:\TCC\
set nasmpath=C:\NASM\
%nasmpath%nasm -f win32 -o fastmath.o fastmath.asm
%tccpath%tcc -c main.c
%tccpath%tcc -vv -luser32 -lgdi32 -lopengl32 -lglu32 -o %name%.exe main.o fastmath.o
Did i forget something in the compiling options?