Let's say I'm compiling some application (codebase in C, using gcc as default compiler, git cloned from github...) and doing ./configure --flags1 --flags2 ...
And after compiling finish, i want to know the flags i used on ./configure
(in this hypothetical case, i can't know that by looking in my shell history as it is lost).
The flags list could be pretty long, and i wouldn't want to waste time hunting down those said flags (especially since some could not be documented in the previously mentioned application).
Any ways to know the flags that were used for a compiled application? maybe by looking at whatever files ./configure
generate?
./configure
:P so that should work on most cases i think. – Nordine Lotfi Sep 24 '20 at 19:55gcc
does that...gcc -v
– rfmodulator Sep 24 '20 at 19:59