[arch-ports] [amd64] neverball works
Hi all, Here's the PKGBUILD for neverball, the only difference from the original PKGBUILD is in the -march flag (x86-64 instead of i686). -- Ivan Stankovic, ivan.stankovic@fer.hr
/bin/sed -i -e 's/CFLAGS= -Wall -O3 -ansi $(shell sdl-config --cflags)/CFLAGS= -Wall -O3 -march=x86-64 -pipe -ansi $(shell sdl-config --cflags)/' Makefile
You should be able to use the $CARCH variable instead of x86-64. Then it'll work in both architectures. Jason -- If you understand, things are just as they are. If you do not understand, things are just as they are.
On Fri, May 05, 2006 at 04:27:23PM -0400, Jason Chu wrote:
/bin/sed -i -e 's/CFLAGS= -Wall -O3 -ansi $(shell sdl-config --cflags)/CFLAGS= -Wall -O3 -march=x86-64 -pipe -ansi $(shell sdl-config --cflags)/' Makefile
You should be able to use the $CARCH variable instead of x86-64. Then it'll work in both architectures.
Thanks for pointing this out. But one can't directly change x86-64 to $CARCH since $CARCH=x86_64 (note the underscore). Anyway, here's the updated PKGBUILD. -- Ivan Stankovic, ivan.stankovic@fer.hr
On Fri, May 05, 2006 at 11:07:12PM +0200, Ivan Stankovic wrote:
On Fri, May 05, 2006 at 04:27:23PM -0400, Jason Chu wrote:
/bin/sed -i -e 's/CFLAGS= -Wall -O3 -ansi $(shell sdl-config --cflags)/CFLAGS= -Wall -O3 -march=x86-64 -pipe -ansi $(shell sdl-config --cflags)/' Makefile
You should be able to use the $CARCH variable instead of x86-64. Then it'll work in both architectures.
Thanks for pointing this out. But one can't directly change x86-64 to $CARCH since $CARCH=x86_64 (note the underscore). Anyway, here's the updated PKGBUILD.
That's strange. CARCH is supposed to be the value put into -march... I wonder why you'd choose a different value... Jasen -- If you understand, things are just as they are. If you do not understand, things are just as they are.
On Fri, May 05, 2006 at 05:59:09PM -0400, Jason Chu wrote:
On Fri, May 05, 2006 at 11:07:12PM +0200, Ivan Stankovic wrote:
On Fri, May 05, 2006 at 04:27:23PM -0400, Jason Chu wrote:
/bin/sed -i -e 's/CFLAGS= -Wall -O3 -ansi $(shell sdl-config --cflags)/CFLAGS= -Wall -O3 -march=x86-64 -pipe -ansi $(shell sdl-config --cflags)/' Makefile
You should be able to use the $CARCH variable instead of x86-64. Then it'll work in both architectures.
Thanks for pointing this out. But one can't directly change x86-64 to $CARCH since $CARCH=x86_64 (note the underscore). Anyway, here's the updated PKGBUILD.
That's strange. CARCH is supposed to be the value put into -march... I wonder why you'd choose a different value...
Here's what I have in my unmodified makepkg.conf: $ cat /etc/makepkg.conf | grep CARCH export CARCH="x86_64" -- Ivan Stankovic, ivan.stankovic@fer.hr
Am Fri, 5 May 2006 23:07:12 +0200 schrieb Ivan Stankovic <pokemon@fly.srk.fer.hr>:
On Fri, May 05, 2006 at 04:27:23PM -0400, Jason Chu wrote:
/bin/sed -i -e 's/CFLAGS= -Wall -O3 -ansi $(shell sdl-config --cflags)/CFLAGS= -Wall -O3 -march=x86-64 -pipe -ansi $(shell sdl-config --cflags)/' Makefile
You should be able to use the $CARCH variable instead of x86-64. Then it'll work in both architectures.
Thanks for pointing this out. But one can't directly change x86-64 to $CARCH since $CARCH=x86_64 (note the underscore). Anyway, here's the updated PKGBUILD.
They set more optimized CFLAGS. So we cannot use $CARCH. Your PKGBUILD looks ok. AndyRTR
On Sat, 6 May 2006 01:55:59 +0200 Andreas Radke <a.radke@arcor.de> wrote:
Am Fri, 5 May 2006 23:07:12 +0200 schrieb Ivan Stankovic <pokemon@fly.srk.fer.hr>:
On Fri, May 05, 2006 at 04:27:23PM -0400, Jason Chu wrote:
/bin/sed -i -e 's/CFLAGS= -Wall -O3 -ansi $(shell sdl-config --cflags)/CFLAGS= -Wall -O3 -march=x86-64 -pipe -ansi $(shell sdl-config --cflags)/' Makefile
You should be able to use the $CARCH variable instead of x86-64. Then it'll work in both architectures.
Thanks for pointing this out. But one can't directly change x86-64 to $CARCH since $CARCH=x86_64 (note the underscore). Anyway, here's the updated PKGBUILD.
They set more optimized CFLAGS. So we cannot use $CARCH. Your PKGBUILD looks ok.
AndyRTR
My point is that you should be able to say -march=$CARCH and if CARCH=x86_64, you can't do that. Jason
Am Sat, 6 May 2006 01:55:59 +0200 schrieb Andreas Radke <a.radke@arcor.de>:
Am Fri, 5 May 2006 23:07:12 +0200 schrieb Ivan Stankovic <pokemon@fly.srk.fer.hr>:
On Fri, May 05, 2006 at 04:27:23PM -0400, Jason Chu wrote:
/bin/sed -i -e 's/CFLAGS= -Wall -O3 -ansi $(shell sdl-config --cflags)/CFLAGS= -Wall -O3 -march=x86-64 -pipe -ansi $(shell sdl-config --cflags)/' Makefile
You should be able to use the $CARCH variable instead of x86-64. Then it'll work in both architectures.
Thanks for pointing this out. But one can't directly change x86-64 to $CARCH since $CARCH=x86_64 (note the underscore). Anyway, here's the updated PKGBUILD.
They set more optimized CFLAGS. So we cannot use $CARCH. Your PKGBUILD looks ok.
AndyRTR
_______________________________________________ arch-ports mailing list arch-ports@archlinux.org http://www.archlinux.org/mailman/listinfo/arch-ports
Is it working for you? I even lowered the CFLAGS using the Frugal cflags.patch but I always get this: [andyrtr@workstation64 neverball]$ neverball NVIDIA: could not open the device file /dev/nvidiactl (No such file or directory). Fatal signal: Segmentation Fault (SDL Parachute Deployed) [andyrtr@workstation64 neverball]$
On Sat, May 06, 2006 at 02:29:35AM +0200, Andreas Radke wrote:
Is it working for you? I even lowered the CFLAGS using the Frugal cflags.patch but I always get this:
[andyrtr@workstation64 neverball]$ neverball NVIDIA: could not open the device file /dev/nvidiactl (No such file or directory). Fatal signal: Segmentation Fault (SDL Parachute Deployed) [andyrtr@workstation64 neverball]$
Strange, the game works perfectly fine here, I played a couple of levels and everything seems ok. -- Ivan Stankovic, pokemon@fly.srk.fer.hr
Am Sat, 6 May 2006 13:54:48 +0200 schrieb Ivan Stankovic <pokemon@fly.srk.fer.hr>:
On Sat, May 06, 2006 at 02:29:35AM +0200, Andreas Radke wrote:
Is it working for you? I even lowered the CFLAGS using the Frugal cflags.patch but I always get this:
[andyrtr@workstation64 neverball]$ neverball NVIDIA: could not open the device file /dev/nvidiactl (No such file or directory). Fatal signal: Segmentation Fault (SDL Parachute Deployed) [andyrtr@workstation64 neverball]$
Strange, the game works perfectly fine here, I played a couple of levels and everything seems ok.
after a reboot it is working for me now. i'll uplload it. Andy
participants (3)
-
Andreas Radke
-
Ivan Stankovic
-
Jason Chu