|
|
发表于 2006-4-15 15:53:10
|
显示全部楼层
But, how did you run configure in the previous build of your zip package?
Package zip doesn't have a configure script.
To customize it, you can use unix/Makefile.
CFLAGS = -O2 -I. -DUNIX $(LOCAL_ZIP)
->
CFLAGS = -O2 -I. -DUNIX $(LOCAL_ZIP) -march=k8
then run:
make -f unix/Makefile generic
(generic is specific to zip, not a common parameter.)
Post by d00m3d
I think your host is not i386-pc-linux-gnu, is it?
Also, the -mcpu option is no longer available since gcc-3.4, so it is unlikely your machine will generate i386-only codes. Am I correct?
My system was built for i686-pc-linux-gnu.
I used -march instead of -mcpu.
I think my glibc contains something which is not i386-only. That's why my static build fails in your machine. A different aspect to answer my question. . |
|