FWIW what you did works here, but then elf is the default here.
try gcc -Wa,--help -c test1.c
that'll bring up the assember help which should explain how to ask it
to produce ELF (if the version you have can)
then do try gcc -Wa,WHATEVER -c test1.c
replacing WHATEVER with the option you were given,
AFAIK the default MINGW gcc compiler does not pricude 80186 code, you
need the 8086 version for that...
,
FWIW what you did works here, but then elf is the default here.
try gcc -Wa,--help -c test1.c
that'll bring up the assember help which should explain how to ask it
to produce ELF (if the version you have can)
then do try gcc -Wa,WHATEVER -c test1.c
replacing WHATEVER with the option you were given,
AFAIK the default MINGW gcc compiler does not pricude 80186 code, you
need the 8086 version for that...
,