Amiga.org
Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: uncharted on July 11, 2003, 12:18:44 AM
-
Hey guys
I'm currently writing a program which requires sockets (i.e. it uses network functions). I use GCC 2.95.3 and want to compile it with the -noixemul flag, the problem is it won't compile this way.
I have been told elsewhere that this is nearly impossible to do (that is compile -noixemul using the AmiTCP SDK NETINCLUDE includes instead of the ones in the INCLUDE drawer). I would of thought this wasn't the case as there are many programs that use networking that don't need ixemul.library that are seemingly compiled on GCC. And seeing as both MOS and AOS4 use GCC I wouldn't of thought that ixemul.library (or ixnet.library) would be required for networking programs.
Please can anyone help??? Anyone who can help will get a free copy of my program (actually it will be free to a.org members anyways, so that's probably not much incentive :-D)
-
I had too many problems with GCC, so I used StormC 3.0 that came on my dev cd.. I'd suggest using something like StormC until Hyperion release the OS 4.0 SDK.. as that will be ixemul free and should have everything setup already, reaction, bsdsocket, etc.
Sorry I couldnt be of much help. :/
-
Hi,
For programming I use StormC 4, where you can select gcc as c-compiler. It works always with
-noixemul. To work with bsdsocket.library I've created new library-includes with fd2pragma - the includes from the AmiTCP-SDK didn't work.
So I think, you have only problems with your include-files. I can send you all files if you like. They should work with original-gcc too.
Greetings
CygnusEd
-
impossible? why? ..here I use -I/gg/netinclude, at compile time, and work fine! :)
I have installed it from some time ago, but as I remember only was needed to change the inline socket header.. (I used fd2inline for the job)
hope it helps...
Regards.