Re: [osol-discuss] SUN cc has the option -save_args?
Jin Yao wrote: Hi, The X64 passes the first six arguments in registers %rdi, %rsi, Can I use one compiler option like -save_args to store argments in stack like what the i386 does? I tried this option, but it's failed. The logs are here: cc -O -g -save_args -m64 -c -o cpc.o cpc.c cc: -a conflicts with -dy. *** Error code 1 make: Fatal error: Command failed for target `cpc.o' http://forums.sun.com/forum.jspa?forumID=849 is a better place to ask. -- Ian. ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
[osol-discuss] SUN cc has the option -save_args?
Hi, The X64 passes the first six arguments in registers %rdi, %rsi, Can I use one compiler option like -save_args to store argments in stack like what the i386 does? I tried this option, but it's failed. The logs are here: cc -O -g -save_args -m64 -c -o cpc.o cpc.c cc: -a conflicts with -dy. *** Error code 1 make: Fatal error: Command failed for target `cpc.o' Thanks -- This message posted from opensolaris.org ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org