Welcome, Guest. Please login or register.

Author Topic: Coding: CubicIDE, GCC and ixemul.library  (Read 877 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline nyteschaydeTopic starter

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show only replies by nyteschayde
    • http://www.nyteshade.com
Coding: CubicIDE, GCC and ixemul.library
« on: January 09, 2012, 06:47:00 PM »
I wanted as good of a dev environment as I could get on the Amiga and so I picked up CubicIDE. It comes with vbcc and two versions of GCC. One is 2.95 and the other, I want to say, is like 3.33.

I wrote a small CLI utility last night, but after getting it all compiled I booted with no startup sequence and gave it a go and got an immediate request for ixemul.library.

So here are my questions:
  • How can you tell which libraries an application will require?
  • Is it possible to compile something in gcc without requiring ixemul.library?


I was able to get it going in vbcc without requiring ixemul.library, but it would be nice to know how to do it in gcc as well.
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500
 

Offline mongo

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 964
    • Show only replies by mongo
Re: Coding: CubicIDE, GCC and ixemul.library
« Reply #1 on: January 09, 2012, 06:58:52 PM »
I don't know how to set compiler flags with CubicIDE, but you need to pass the -noixemul flag to GCC to produce code that doesn't require ixemul.library.
 

Offline nyteschaydeTopic starter

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show only replies by nyteschayde
    • http://www.nyteshade.com
Re: Coding: CubicIDE, GCC and ixemul.library
« Reply #2 on: January 09, 2012, 07:05:12 PM »
Quote from: mongo;675048
I don't know how to set compiler flags with CubicIDE, but you need to pass the -noixemul flag to GCC to produce code that doesn't require ixemul.library.

Excellent! I'll give that a try.
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500