현재 두개의 박스가 있습니다. 하나는 한컴이고, 다른 하나는 와우리눅스
입니다. 둘
간의 gcc 버전은
한컴
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (HancomLinux 2.2 2.96-99hl)
와우
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.0)
입니다.
그런데 간단한 프로그램이 있습니다.
#include
#include
int main()
{
time_t l_time;
struct tm *today;
time(&l_time);
today = (struct tm *)localtime(&l_time);