Short: get ip adress of a given url (+source) Author: amigaddicted@gmx.de (Micha B.) Uploader: amigaddicted gmx de (Micha B.) Type: comm/net Version: 1.0.8 Requires: Bebbo's m68k-amigaos-gcc, AmigaOS 3.2 Architecture: m68k-amigaos Distribution: Aminet Kurz: Lese IP-Adresse einer URL (+Source) --- 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. ;)