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

comm/net/raIP.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric iconother icon
No screenshot available
Short:get ip adress of a given url (+source)
Author: amigaddicted at gmx.de (Micha B.)
Uploader:amigaddicted gmx de (Micha B.)
Type:comm/net
Version:1.0.8
Architecture:m68k-amigaos
Date:2026-01-06
Requires:Bebbo's m68k-amigaos-gcc, AmigaOS 3.2
Distribution:Aminet
Download:comm/net/raIP.lha - View contents
Readme:comm/net/raIP.readme
Downloads:77

--- English ----------------------------------
raIP is a small program that determines the IP of
a given URL. It uses functions derrived from sockets link
library.

Written in C, using m68k-amigaos-gcc v6.5. Comes with full 
source for educational purpose. You will need
m68k-amigaos-gcc cross compiler environment, prepared 
for AmigaOS 3.2

On Linux, usually this is done by:
1. Make an install directory for gcc:
   mkdir ~/amiga
2. get amiga-gcc source:
   git clone https://github.com/AmigaPorts/m68k-amigaos-gcc.git
   cd m68k-amigaos-gcc
3. Update gcc sources:
   make PREFIX=~/amiga NDK=3.2 update
4. Build basic setup:
   make PREFIX=~/amiga NDK=3.2 all -j4
5. Build missing vbcc:
   make PREFIX=~/amiga NDK=3.2 vlink
   make PREFIX=~/amiga NDK=3.2 vbcc
   
   If you run into trouble here, change Makefile for vbcc:
   a) nano build-Linux-m68k-amigaos/vbcc/Makefile
   b) change CC to:
      CC = gcc -std=c99 -g -DHAVE_AOS4 #-fsanitize=address #-DHAVE_ECPP -DHAVE_MISRA
6. Rebuild all SDK:
   make PREFIX=~/amiga NDK=3.2 all-sdk
7. Setup pathes for amiga-gcc and vbcc:
   a) nano ~/.bashrc
   b) add this:
      # Bebbo's amiga-gcc
      export VBCC=~/amiga
      export AMIGA_GCC=~/amiga
      export PATH=$AMIGA_GCC:$AMIGA_GCC/bin:$PATH
      alias agcc='m68k-amigaos-gcc'
      alias ag++='m68k-amigaos-g++'
      alias astrip='m68k-amigaos-strip'
   c) Save file and reload:
      source ~/.bashrc
      
   You are now ready to use amiga-gcc and vbcc
   
COMPILE raIP FROM SOURCE:
=========================
1. Extract raIP.lha to some path  
2. CD to that path/src
3. Compile with 
   m68k-amigaos-gcc  -Wall -s -Os raip.c -o ../raIP -lsocket -noixemul
   
GENERATE NON-FUNCTIONAL SRC WITH ReBuild:
=========================================
1. Open raIP.reb in ReBuild
2. Make sure that 'Generate full code' is checked
   and 'Use NDK macros' is unchecked.
3. Due to a small bug in older versions of ReBuild, OpenLibrary() calls
   are generated with a leading path. Remove that path, otherwise
   requester.class will fail to open!

   Open generated source file, go to function "setup()", remove path.


LEGAL MUMBO-JUMBO:
==================
Feel free to use it hower you like.

Micha B.
January, 5th 2026

--- Deutsch ----------------------------------
Keine deutsche Beschreibung verfügbar. Ich bin
zu faul für eine Übersetzung. ;)


Contents of comm/net/raIP.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[Amiga]                   1185    1494  79.3% -lh5- 55d4 Jan  5 09:24 raIP.info
[Amiga]                  11514   20216  57.0% -lh5- 336b Jan  5 10:18 raIP/raIP
[Amiga]                    998    1352  73.8% -lh5- 7b8b Jan  3 12:14 raIP/raIP.info
[Amiga]                   1304    2668  48.9% -lh5- 1f58 Jan  5 11:23 raIP/raIP.readme
[Amiga]                   1182    1494  79.1% -lh5- 2d8a Jan  5 09:24 raIP/src.info
[Amiga]                   5233   21903  23.9% -lh5- b223 Jan  5 10:18 raIP/src/raip.c
[Amiga]                    273     482  56.6% -lh5- cec8 Jan  3 12:14 raIP/src/raip.c.info
[Amiga]                   1584    7851  20.2% -lh5- 27e9 Jan  5 10:14 raIP/src/raIP.reb
[Amiga]                    903    1234  73.2% -lh5- d67e Jan  5 10:14 raIP/src/raIP.reb.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         9 files   24176   58694  41.2%            Jan  6 01:17
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>