|
|
07-08-2011
, 10:09 PM
|
|
Posts: 7 |
Thanked: 1 time |
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.
![]() |
| 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 |
| Thread Tools | Search this Thread |
|
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; 07-08-2011 at 02:48 PM. Reason: gcc comment