On Sat, Jun 11, 2011 at 03:47:50PM +0800, xPoiSoN wrote:
| hello all,
|
| it's possible to use PCC for main compiler in openbsd?
| I want learn C (just start practice C programming)
| and i read in undeadly PCC much better than GCC,
|
| cc command in openbsd soft link to PCC or GCC?
|
| If i use PCC, i'll get incompatibility problem if my work not use
| PCC (using GCC or visual studio).
|
| so for noob like me, which is preferred C compiler i must use?
| PCC or GCC ?
If 'noob like [you]' writes C code that works with one compiler and
does not with the other you've created a great opportunity for
yourself to learn something. In general, it's best to try and avoid
those situations when and where you can. Especially when you're new
to this thing; once you understand the tradeoffs then maybe (maybe)
you can consider taking advantage of a specific feature of a
particular compiler not present in others. It's not a very portable
practice though, I recommend against it in the general case.
Paul 'WEiRD' de Weerd
--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
http://www.weirdnet.nl/