tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] dwarf is silently ignored on Windows


From: Christian Jullien
Subject: [Tinycc-devel] dwarf is silently ignored on Windows
Date: Thu, 5 May 2022 10:34:56 +0200

Hello (Herman)

 

Thank you for dwarf addition.

 

I’ve just tested mob on Windows (as well as on other few other systems).

It looks that dwarf is silently ignored on Windows and behaves as this option was not supplied:

 

/cygdrive/f/tinycc/win32 $ ./tcc -g foo.c && ls -ls foo.exe

8 -rwxr-xr-x 1 jullien None 6144 May  5 10:23 foo.exe

 

/cygdrive/f/tinycc/win32 $ ./tcc -gdwarf foo.c && ls -ls foo.exe

4 -rwxr-xr-x 1 jullien None 3072 May  5 10:23 foo.exe

 

/cygdrive/f/tinycc/win32 $ ./tcc foo.c && ls -ls foo.exe

4 -rwxr-xr-x 1 jullien None 3072 May  5 10:23 foo.exe.

 

IMHO, this option should not be displayed on Windows help.

 

It is more questionable if tcc should protest if still try to use it.

 

“tcc: this version does not support dwarf”

 

Alternatively, -gdwarf can behave as if –g was supplied.

 

M2c

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]