I'm doing command line compiling, and thought there might be some switch that would list starting and finishing time, but couldn't find anything. I'm using Windows, and trying to work with the default gcc/g++ from mingw installed with Code::Blocks. Or is there some way of doing this with some shell command? There's got to be a way?
Frederick2
189
Posting Whiz
Recommended Answers
Jump to PostThe GCC compiler has this option built in, just compile with this option
-ftime-report
example:
g++ filename.cpp -ftime-report -o filename
All 4 Replies
user422
-4
Newbie Poster
gerard4143
371
Nearly a Posting Maven
user422
-4
Newbie Poster
Frederick2
189
Posting Whiz
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.