|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
[PATCH] Use `uname -m' instead of `arch'.Latter doesn't seem to exist on my system, and the former is pretty standard. --- config/Makefile.linux | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/config/Makefile.linux b/config/Makefile.linux index 4bc0649..fd8a2d1 100644 --- a/config/Makefile.linux +++ b/config/Makefile.linux @@ -6,7 +6,7 @@ CFLAGS.EXTRA = -DGLEW_MX endif PICFLAG = -fPIC LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME) -M_ARCH ?= $(shell arch) +M_ARCH ?= $(shell uname -m) ifeq (x86_64,${M_ARCH}) LDFLAGS.EXTRA = -L/usr/X11R6/lib64 LIBDIR = $(GLEW_DEST)/lib64 -- 1.5.6.5 ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ glew-coders mailing list glew-coders@... https://lists.sourceforge.net/lists/listinfo/glew-coders |
|
|
Re: [PATCH] Use `uname -m' instead of `arch'.Tom,
Just curious. Which linux/distro has uname, but not arch? They're both from GNU Coreutils, I'm not so sure uname is more likely to exist than arch, in general. http://www.gnu.org/software/coreutils/manual/ - Nigel tom fogal wrote: > Latter doesn't seem to exist on my system, and the former is > pretty standard. > --- > config/Makefile.linux | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/config/Makefile.linux b/config/Makefile.linux > index 4bc0649..fd8a2d1 100644 > --- a/config/Makefile.linux > +++ b/config/Makefile.linux > @@ -6,7 +6,7 @@ CFLAGS.EXTRA = -DGLEW_MX > endif > PICFLAG = -fPIC > LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME) > -M_ARCH ?= $(shell arch) > +M_ARCH ?= $(shell uname -m) > ifeq (x86_64,${M_ARCH}) > LDFLAGS.EXTRA = -L/usr/X11R6/lib64 > LIBDIR = $(GLEW_DEST)/lib64 > -- > 1.5.6.5 > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > glew-coders mailing list > glew-coders@... > https://lists.sourceforge.net/lists/listinfo/glew-coders ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ----------------------------------------------------------------------------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ glew-coders mailing list glew-coders@... https://lists.sourceforge.net/lists/listinfo/glew-coders |
|
|
Re: [PATCH] Use `uname -m' instead of `arch'.Nigel Stewart <nstewart@...> writes:
> Tom, > > Just curious. > > Which linux/distro has uname, but not arch? Debian lenny. > They're both from GNU Coreutils, I'm not so sure uname is more likely > to exist than arch, in general. *shrug* tf@shigeru ~ dpkg --get-selections | grep -i coreutils coreutils install policycoreutils install tf@shigeru ~ arch bash: arch: command not found Maybe the debian package hacks out arch for some reason? -tom > tom fogal wrote: > > Latter doesn't seem to exist on my system, and the former is > > pretty standard. > > --- > > config/Makefile.linux | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git a/config/Makefile.linux b/config/Makefile.linux > > index 4bc0649..fd8a2d1 100644 > > --- a/config/Makefile.linux > > +++ b/config/Makefile.linux > > @@ -6,7 +6,7 @@ CFLAGS.EXTRA = -DGLEW_MX > > endif > > PICFLAG = -fPIC > > LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME) > > -M_ARCH ?= $(shell arch) > > +M_ARCH ?= $(shell uname -m) > > ifeq (x86_64,${M_ARCH}) > > LDFLAGS.EXTRA = -L/usr/X11R6/lib64 > > LIBDIR = $(GLEW_DEST)/lib64 > > -- > > 1.5.6.5 > > > > --------------------------------------------------------------------------- > --- > > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, C > A > > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterpris > e > > -Strategies to boost innovation and cut costs with open source participatio > n > > -Receive a $600 discount off the registration fee with the source code: SFA > D > > http://p.sf.net/sfu/XcvMzF8H > > _______________________________________________ > > glew-coders mailing list > > glew-coders@... > > https://lists.sourceforge.net/lists/listinfo/glew-coders > > ----------------------------------------------------------------------------- > ------ > This email message is for the sole use of the intended recipient(s) and may c > ontain > confidential information. Any unauthorized review, use, disclosure or distri > bution > is prohibited. If you are not the intended recipient, please contact the sen > der by > reply email and destroy all copies of the original message. > ----------------------------------------------------------------------------- > ------ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ glew-coders mailing list glew-coders@... https://lists.sourceforge.net/lists/listinfo/glew-coders |
|
|
Re: [PATCH] Use `uname -m' instead of `arch'.>> Which linux/distro has uname, but not arch?
> > Debian lenny. > > *shrug* *huh* My Ubuntu doesn't have it either. I say yes to the patch. :-) - Nigel Fedora 8 -------- $ rpm -qf /bin/arch util-linux-ng-2.13.1-2.fc8 $ rpm -qf /bin/uname coreutils-6.9-19.fc8 Mandriva 2009 ------------- $ rpm -qf /bin/arch util-linux-ng-2.14.1-4.1mdv2009.0 $ rpm -qf /bin/uname coreutils-6.12-2mdv2009.0 Ubuntu 8.04 ------------ nigels@zooropa:~$ dpkg-query -S /bin/uname coreutils: /bin/uname nigels@zooropa:~$ arch -bash: arch: command not found $ dpkg -l 'util-linux' ... ii util-linux 2.13.1-5ubuntu3 Miscellaneous system utilities $ dpkg -L 'util-linux' | grep /bin/ /bin/tailf /bin/dmesg /bin/more /usr/bin/fdformat /usr/bin/getopt /usr/bin/addpart /usr/bin/ddate /usr/bin/delpart /usr/bin/mcookie /usr/bin/namei /usr/bin/partx /usr/bin/whereis /usr/bin/setterm /usr/bin/chkdupexe /usr/bin/rename.ul /usr/bin/chrt /usr/bin/ionice /usr/bin/taskset /usr/bin/flock /usr/bin/ipcrm /usr/bin/ipcs /usr/bin/setsid /usr/bin/setarch /usr/bin/rev /usr/bin/line /usr/bin/pg /usr/bin/i386 /usr/bin/linux64 /usr/bin/linux32 ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ----------------------------------------------------------------------------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ glew-coders mailing list glew-coders@... https://lists.sourceforge.net/lists/listinfo/glew-coders |
|
|
Re: [PATCH] Use `uname -m' instead of `arch'.>>> Which linux/distro has uname, but not arch?
>> Debian lenny. > My Ubuntu doesn't have it either. The patch has been committed to svn as revision 547. As always, open to further suggestions regarding this issue. - Nigel ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ----------------------------------------------------------------------------------- ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ glew-coders mailing list glew-coders@... https://lists.sourceforge.net/lists/listinfo/glew-coders |
| Free embeddable forum powered by Nabble | Forum Help |