The Following User Says Thank You to Mentalist Traceur For This Useful Post: | ||
|
2011-07-09
, 02:09
|
Posts: 7 |
Thanked: 2 times |
Joined on Apr 2010
@ Delhi
|
#82
|
Anyway, either way you missed the other point - he didn't ask you why you put it in /usr/bin/, he asked you why you execute it with "./a.out" - if it's in /usr/bin, just "a.out" will suffice, because /usr/bin/ is part of path.
The Following User Says Thank You to virusforu For This Useful Post: | ||
Tags |
c compiler, c language, c programming, c++ compiler, c++ language, c++ programming, compile, compiler, development, maemo, on-device, on-device development, on-device programming, programming |
|
I keep my compiled code in /home/user/code/ for that same reason.
Anyway, either way you missed the other point - he didn't ask you why you put it in /usr/bin/, he asked you why you execute it with "./a.out" - if it's in /usr/bin, just "a.out" will suffice, because /usr/bin/ is part of path.
- Edit -
The reason some (most) people can't install GCC is because it's not in the normal repositories of extras, extras-testing, and extras-devel. It's in the sdk repositories. I.E: http://repository.maemo.org with the distribution "fremantle/sdk" (also add "fremantle/tools" with the same url as a seperate repository, because that's the other sdk repository).
Last edited by Mentalist Traceur; 2011-07-08 at 18:48. Reason: gcc comment