How can I pass stack, heap size option to gcc?

I am trying to change default stack size to assign a big array.
I added nvcc linking option like the below.
-Xlinker -Wl,–stack,16600000

But I face the error message.
unrecognized option ‘-Wl’ linking error

How can I change the stack size option?

My system environment:
nvcc: NVIDIA ® Cuda compiler driver
Copyright © 2005-2013 NVIDIA Corporation
Built on Wed_Jul_17_18:36:13_PDT_2013
Cuda compilation tools, release 5.5, V5.5.0

g++ (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4)
Copyright © 2010 Free Software Foundation, Inc

How about changing the stack size using setrlimit ?

http://linux.die.net/man/2/setrlimit