Re: AMD64 -fPIC Patch 2005032221372300920
Clifford Wolf <[email protected]>
| Newsgroups | gmane.linux.distributions.rock.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Apr 04, 2005 at 08:37:00AM +0200, Bernhard C. Schrenk wrote:
> I think of 2 possible solutions:
> 1) Enabling forcefpic also for packages, which provide .a files.
> 2) Enabling forcefpic for packages, which provide .a files and are
> dependencies for packages providing .so files.
>
> I prefer solution 1, because solution 2 could prevent compiling programs
> not known to the rock build system or added after building the package
> providing the .a file.
ack on that. see
https://www.rocklinux.net/submaster/smadm.cgi?i=2005040412442625034
yours,
- clifford
--
bash -c "gcc -o mysdldemo -Wall -O2 -lSDL -lm -pthread -x c <( echo -e '
#include <SDL/SDL.h>\n#include <complex.h>\nint main(){SDL_Surface*s;SDL_Event
e;int x,y,n;SDL_Init(SDL_INIT_VIDEO);s=SDL_SetVideoMode(640,480,32,0);for(x=0;
x<640;x++)for(y=0;y<480;y++){float _Complex z=0, c=((x-400)/200.0) + ((y-240)/
200.0)*1.0fi;for(n=1;n<64;n++){z=z*z+c;if(cabsf(z)>2){((Uint32*)s->pixels)[x+y
*640]=n<<3;n=99;}}}SDL_UpdateRect(s,0,0,s->w,s->h);do SDL_WaitEvent(&e); while
(e.type!=SDL_QUIT&&e.type!=SDL_KEYDOWN);SDL_Quit();return 0;}' ); ./mysdldemo"
Whip me. Beat me. Make me maintain AIX.
_______________________________________________
rock-devel mailing list
[email protected]
http://www.rocklinux.net/mailman/listinfo/rock-devel
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFCURr0PNIEsfpKDdERAt/gAJ96uucT+8wbVBc57mMLQAYs+HZ3yQCfVIJ3 K+96+Hr7t3XX/ghTS2r2iTk= =p+At -----END PGP SIGNATURE-----