sbm
June 4th, 2006, 01:01 AM
Hi
I have the following flags in .bash_profile:
CHOST="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -pipe -fomit-frame-pointer"
CXXFLAGS=$CFLAGS
export $CHOST $CFLAGS $CXXFLAGS
But opening bash gives the following errors:
-bash: export: `i686-pc-linux-gnu': not a valid identifier
-bash: export: `-Os': not a valid identifier
-bash: export: `-march=pentium-m': not a valid identifier
-bash: export: `-pipe': not a valid identifier
-bash: export: `-fomit-frame-pointer': not a valid identifier
-bash: export: `-Os': not a valid identifier
-bash: export: `-march=pentium-m': not a valid identifier
-bash: export: `-pipe': not a valid identifier
-bash: export: `-fomit-frame-pointer': not a valid identifier
My CPUINFO is:
(cat /proc/cpuinfo)
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 1.80GHz
stepping : 6
cpu MHz : 1794.476
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe est tm2
bogomips : 1196.79
Hope some1 can assist me in correcting my flags :-)
I have the following flags in .bash_profile:
CHOST="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -pipe -fomit-frame-pointer"
CXXFLAGS=$CFLAGS
export $CHOST $CFLAGS $CXXFLAGS
But opening bash gives the following errors:
-bash: export: `i686-pc-linux-gnu': not a valid identifier
-bash: export: `-Os': not a valid identifier
-bash: export: `-march=pentium-m': not a valid identifier
-bash: export: `-pipe': not a valid identifier
-bash: export: `-fomit-frame-pointer': not a valid identifier
-bash: export: `-Os': not a valid identifier
-bash: export: `-march=pentium-m': not a valid identifier
-bash: export: `-pipe': not a valid identifier
-bash: export: `-fomit-frame-pointer': not a valid identifier
My CPUINFO is:
(cat /proc/cpuinfo)
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 1.80GHz
stepping : 6
cpu MHz : 1794.476
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe est tm2
bogomips : 1196.79
Hope some1 can assist me in correcting my flags :-)