Welcome, Guest. Please login or register.

Author Topic: GCC and bsdsocket.library  (Read 1601 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline unchartedTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1520
    • Show only replies by uncharted
GCC and bsdsocket.library
« 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)
 

Offline jahc

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 521
    • Show only replies by jahc
    • http://wookiechat.amigarevolution.com
Re: GCC and bsdsocket.library
« Reply #1 on: July 11, 2003, 06:39:55 AM »
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. :/
 

Offline cygnusEd

  • Newbie
  • *
  • Join Date: Mar 2003
  • Posts: 10
    • Show only replies by cygnusEd
    • http://www.schwan-clan.de
Re: GCC and bsdsocket.library
« Reply #2 on: July 11, 2003, 11:15:20 AM »
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
 

Offline dcr8520

  • Full Member
  • ***
  • Join Date: Mar 2002
  • Posts: 107
    • Show only replies by dcr8520
    • http://Amiga.SourceForge.net
Re: GCC and bsdsocket.library
« Reply #3 on: July 11, 2003, 09:11:07 PM »
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.