AminetAminet
Search:
84734 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/c/ix2nix.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:convert from ixemul to libnix
Author: lombi at iprimus.com.au (Lorence Lombardo)
Type:dev/c
Version:3-Oct-2013
Architecture:m68k-amigaos
Date:2013-10-04
Download:dev/c/ix2nix.lha - View contents
Readme:dev/c/ix2nix.readme
Downloads:895

How to convert from ixemul to libnix by Lorence Lombardo.


This text is a guide to assist in converting successfully compiled ixemul
programs to libnix.

Which library is the best to use can only be determined from testing and
personal circumstances.

In some cases it is not very easy or practical to convert from ixemul to
libnix because they simply do not have parity.


Steps:-

1. With some compilers it will be neccessary to replace "printf("\n");"
   with "printf(" \n");". (Note the space)
    

2. Check the program for unix paths and replace them with Amiga paths.
   (Sometimes easier said than done ;)


3. When specifying -noixemul with gcc it may be neccessary to link with
   "-lm" even if it was not neccessary before.


4. When specifying -noixemul it may be neccessary to link with "-lgetopt"
   even if it was not neccessary before. Supplied in this archive.


5. Some times your program fails to write save files with "fopen" & libnix.
   In this case try changing "w+b" to "wb+".



There are alot more steps that could be done for libnix such as:-

1. What lib to link with when "fdopen" is required or alternative.

2. What lib to link with when internet functions are required.


By all means feel free to contribute any steps you have used to convert
from ixemul to libnix with your own builds to this document.



Feeling bored ?  :)
Why not check out this URL ?

http://home.iprimus.com.au/lombi/1/homepage.htm



Contents of dev/c/ix2nix.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                  814    1647  49.4% -lh5- 8a0a Oct  3 16:50 ix2nix/ix2nix.readme
[unknown]                 6996   18092  38.7% -lh5- a33a Mar 24  2010 ix2nix/libgnugetopt-1.3/COPYING
[unknown]                 9586   30160  31.8% -lh5- 99f2 Nov  4  2009 ix2nix/libgnugetopt-1.3/getopt.c
[unknown]                 1908    4591  41.6% -lh5- 0a58 Nov  4  2009 ix2nix/libgnugetopt-1.3/getopt.h
[unknown]                 1857    4554  40.8% -lh5- cd6d Nov  4  2009 ix2nix/libgnugetopt-1.3/getopt1.c
[unknown]                 2863    7364  38.9% -lh5- 3456 Nov  4  2009 ix2nix/libgnugetopt-1.3/libgetopt.a
[unknown]                  206     509  40.5% -lh5- 9cb5 Nov  4  2009 ix2nix/libgnugetopt-1.3/Makefile
[unknown]                  229     321  71.3% -lh5- db05 Oct  3 16:21 ix2nix/libgnugetopt-1.3/README
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         8 files   24459   67238  36.4%            Oct  3 21:29
Page generated in 0.01 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>