Visualizzazione dei risultati da 1 a 2 su 2

Discussione: Compilare librerie ???

  1. #1

    Compilare librerie ???

    Ciao , ho un problema con la compilazione di librerie scritte in C .

    Il problema è che non ne capisco assolutamente nulla, ma mi servono assolutamente .

    le librerie sono x php , esattamente sono tre , ma cominciamo dalla prima : libpng

    questa ha un terribile file di help che cita questa cosa :

    The files that are presently available in the scripts directory
    include

    makefile.std => Generic UNIX makefile (cc, creates static libpng.a)
    makefile.linux => Linux/ELF makefile (gcc, creates libpng12.so.0.1.2.2)
    makefile.gcmmx => Linux/ELF makefile (gcc, creates libpng12.so.0.1.2.2,
    uses assembler code tuned for Intel MMX platform)
    makefile.gcc => Generic makefile (gcc, creates static libpng.a)
    makefile.knr => Archaic UNIX Makefile that converts files with
    ansi2knr (Requires ansi2knr.c from
    ftp://ftp.cs.wisc.edu/ghost)
    makefile.aix => AIX makefile
    makefile.cygwin => Cygwin/gcc makefile
    makefile.darwin => Darwin makefile
    makefile.dec => DEC Alpha UNIX makefile
    makefile.hpgcc => HPUX makefile using gcc
    makefile.hpux => HPUX (10.20 and 11.00) makefile
    makefile.ibmc => IBM C/C++ version 3.x for Win32 and OS/2 (static)
    makefile.intel => Intel C/C++ version 4.0 and later
    libpng.icc => Project file for IBM VisualAge/C++ version 4.0 or later
    makefile.macosx => MACOS X Makefile
    makefile.netbsd => NetBSD/cc makefile, uses PNGGCCRD, makes libpng.so.
    makefile.ne12bsd => NetBSD/cc makefile, uses PNGGCCRD, makes libpng0.so
    makefile.openbsd => OpenBSD makefile
    makefile.sgi => Silicon Graphics IRIX makefile (cc, creates static lib)
    makefile.sggcc => Silicon Graphics (gcc, creates libpng12.so.0.1.2.2)
    makefile.sunos => Sun makefile
    makefile.solaris => Solaris 2.X makefile (gcc, creates libpng12.so.0.1.2.2)
    makefile.so9 => Solaris 9 makefile (gcc, creates libpng12.so.0.1.2.2)
    makefile.32sunu => Sun Ultra 32-bit makefile
    makefile.64sunu => Sun Ultra 64-bit makefile
    makefile.sco => For SCO OSr5 ELF and Unixware 7 with Native cc
    makefile.mips => MIPS makefile
    makefile.acorn => Acorn makefile
    makefile.amiga => Amiga makefile
    smakefile.ppc => AMIGA smakefile for SAS C V6.58/7.00 PPC compiler
    (Requires SCOPTIONS, copied from scripts/SCOPTIONS.ppc)
    makefile.atari => Atari makefile
    makefile.beos => BEOS makefile for X86
    makefile.bor => Borland makefile (uses bcc)
    makefile.bc32 => 32-bit Borland C++ (all modules compiled in C mode)
    makefile.bd32 => To make a png32bd.dll with Borland C++ 4.5
    makefile.tc3 => Turbo C 3.0 makefile
    makefile.dj2 => DJGPP 2 makefile
    makefile.msc => Microsoft C makefile
    makefile.vcawin32 => makefile for Microsoft Visual C++ 5.0 and later (uses
    assembler code tuned for Intel MMX platform)
    makefile.vcwin32 => makefile for Microsoft Visual C++ 4.0 and later (does
    not use assembler code)
    makefile.os2 => OS/2 Makefile (gcc and emx, requires pngos2.def)
    pngos2.def => OS/2 module definition file used by makefile.os2
    makefile.watcom => Watcom 10a+ Makefile, 32-bit flat memory model
    makevms.com => VMS build script
    descrip.mms => VMS makefile for MMS or MMK
    pngdef.pas => Defines for a png32bd.dll with Borland C++ 4.5
    SCOPTIONS.ppc => Used with smakefile.ppc


    ora ho scaricato un compilatore free , lcc-win32.. ma..

    POI ?

    quale di questi file devo compilare ? come faccio a compilare ? Dopo cosa otterrò ?

    Thks
    [°_°] The Web Styler Project [°_°]
    :.:Classifica Spettacolare :.:
    :-:Partecipa :-: GUADAGNA SCRIVENDO ARTICOLI !! fino a 2,5 crediti per parola

  2. #2
    Ho scaricato Borland C++ Compiler 5.5 ..

    ora, da linea di comando ho provato a fare come da istruzioni :

    make -f c:\php\libpng-1.2.2\makefile.bc32

    ma mi dice :

    Fatal: 'png.c' does not exist - don't how to make it


    [°_°] The Web Styler Project [°_°]
    :.:Classifica Spettacolare :.:
    :-:Partecipa :-: GUADAGNA SCRIVENDO ARTICOLI !! fino a 2,5 crediti per parola

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.