how to change system-wide GCC defaults (march, mtune, etc)?

57 views
Skip to first unread message

AJ ONeal

unread,
Nov 12, 2010, 4:21:16 PM11/12/10
to uta...@googlegroups.com
On a per-user basis I can set
export CC='gcc -mcpu=cortex-a8 -mfpu=neon'
export CXX='gcc -mcpu=cortex-a8 -mfpu=neon'
in ~/.bashrc

But what if I want that to be the system default?

AJ ONeal

Dave Smith

unread,
Nov 12, 2010, 5:07:57 PM11/12/10
to uta...@googlegroups.com, uta...@googlegroups.com
Try /etc/profile

--Dave

Reply all
Reply to author
Forward
0 new messages