Amiga.org

Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: kas1e on November 24, 2004, 06:00:16 PM

Title: what compiler good for network work ?
Post by: kas1e on November 24, 2004, 06:00:16 PM
i use SAS/C + MiamiSDK211. but here is some problems (in sasc basically). What compiler is good for aos3.x _now_ ? gcc ?
vbcc ? What version is good (stables/already tested) ? what i can use bsdsocket.library in gcc for example ? i can use miamisdk in gcc ? if c++ support presend - is very good too.
thnx for answers on lame questions :)




Title: Re: what compiler good for network work ?
Post by: SamuraiCrow on November 24, 2004, 09:16:51 PM
If you're comfortable with SAS C, VBCC shouldn't be too much of a stretch for you, just remember sizeof(int)=4 bytes instead of 2.  If you don't need C++ then for AOS 3 I'd stay away from GCC.  Here's a link (http://sun.hasenbraten.de/vbcc/) to the VBCC website for the latest version that just came out (0.8g).
Title: Re: what compiler good for network work ?
Post by: kas1e on November 25, 2004, 05:47:38 PM
i try to use vbcc for little program (~500 strings). i try using bsdsocket from vbcc, and it's good. (i mean it's work ;) ) but, yes in 0.8g ver, sizeof(int) - really 4 :) , but sizeof(char) - 1 ;) strange ..

about the way what do you mean "stay away from GCC" ? realy problem to use it on amiga ? i can use bsdsocket from gcc ? and sizeof(int) = 2 i hope ?:)