From: Nathan Binkert Date: Thu, 17 Feb 2005 08:40:17 +0000 (-0500) Subject: Fix compile on linux X-Git-Tag: m5_1.0_tutorial~88^2~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cfe6ed7c484b62d07bae23c528f0e2e568cf0d65;p=gem5.git Fix compile on linux sim/main.cc: For some unknown reason linux's basename doesn't take a const char * --HG-- extra : convert_revision : 30289195881e16a05429f7025abab7914a9e3eb6 --- diff --git a/sim/main.cc b/sim/main.cc index d4c31d5f2..891931c2b 100644 --- a/sim/main.cc +++ b/sim/main.cc @@ -108,7 +108,7 @@ abortHandler(int sigtype) } /// Simulator executable name -const char *myProgName = ""; +char *myProgName = ""; /// Show brief help message. void