Hackerboard Wiki HaboBlog
Hackerboard bei Facebook Hackerboard bei Google+ Hackerboard bei Twitter

[HaBo]

 
Code Kitchen Allgemeines Coder-Forum rund um das Programmieren eigenständiger, ausführbarer Programme.

.LIB - Files mit dem GCC compilieren?!

Diskussion: .LIB - Files mit dem GCC compilieren?! im Forum Code Kitchen, in der Kategorie Software Home; Anzeige Moin! Ich habe mal wieder eine Frage zu C. Und zwar: Wie lautet die Compileranweisung (GCC Windows) um eine ...

Antwort
Alt 26.09.05, 17:29   #1 (permalink)
Metallica
Guest
 
Likes:
Standard .LIB - Files mit dem GCC compilieren?!

Anzeige

Moin!
Ich habe mal wieder eine Frage zu C. Und zwar: Wie lautet die Compileranweisung (GCC Windows) um eine Libary (.lib) einzubinden?
Bzw. wie erstelle ich mit Mingw unter Windows eine eigene .lib- File?

Ich hoffe ihr könnt mir weiterhelfen, ich wäre sehr dankbar...

Greets Josh

  Mit Zitat antworten
Alt 26.09.05, 22:57   #2 (permalink)
Member of Honour
 
Registriert seit: 03.10.01
blueflash Leistung: Facit NTK
Likes: 1
Standard

Ich bin mir jetzt nicht hundertprozentig sicher, aber normalerweise müsste das mit -l gehen, ansonsten musst du halt die .lib in einen pfad kopieren, in dem der compi nach solchen files sucht.
"." wäre da ne gute idee, denke ich. Die readme ist dein freund!

p.s.: natürlich sucht nicht der compi nach .lib files sondern der linker.
blueflash ist offline   Mit Zitat antworten
   
HaBOT
 
- Anzeige -

Werbung ist gerade online    
Alt 27.09.05, 21:48   #3 (permalink)
Metallica
Guest
 
Likes:
Standard

hmmm...funktioniert irgendwie nicht...
  Mit Zitat antworten
Alt 28.09.05, 14:00   #4 (permalink)
Member of Honour
 
Registriert seit: 03.10.01
blueflash Leistung: Facit NTK
Likes: 1
Standard

Hmmm, weiss ich irgendwie nicht...

Wie wärs denn, wenn du postest, was du machst und welche fehlermeldung dann auftritt?
blueflash ist offline   Mit Zitat antworten
Alt 28.09.05, 17:07   #5 (permalink)
Metallica
Guest
 
Likes:
Standard

Beim Borland Compiler funktioniert dies ohne weiteres...

Hier die Meldungen (gcc.exe)
Code:
gcc -lib
e:\programme\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe:
cannot find -lib
collect2: ld returned 1 exit status
Die Hilfe der ld.exe
Code:
Usage: ld [options] file...
Options:
  -a KEYWORD                  Shared library control for HP/UX compatibility
  -A ARCH, --architecture ARCH
                              Set architecture
  -b TARGET, --format TARGET  Specify target for following input files
  -c FILE, --mri-script FILE  Read MRI format linker script
  -d, -dc, -dp                Force common symbols to be defined
  -e ADDRESS, --entry ADDRESS Set start address
  -E, --export-dynamic        Export all dynamic symbols
  -EB                         Link big-endian objects
  -EL                         Link little-endian objects
  -f SHLIB, --auxiliary SHLIB Auxiliary filter for shared object symbol table
  -F SHLIB, --filter SHLIB    Filter for shared object symbol table
  -g                          Ignored
  -G SIZE, --gpsize SIZE      Small data size (if no size, same as --shared)
  -h FILENAME, -soname FILENAME
                              Set internal name of shared library
  -I PROGRAM, --dynamic-linker PROGRAM
                              Set PROGRAM as the dynamic linker to use
  -l LIBNAME, --library LIBNAME
                              Search for library LIBNAME
  -L DIRECTORY, --library-path DIRECTORY
                              Add DIRECTORY to library search path
  -m EMULATION                Set emulation
  -M, --print-map             Print map file on standard output
  -n, --nmagic                Do not page align data
  -N, --omagic                Do not page align data, do not make text readonly
  --no-omagic                 Page align data, make text readonly
  -o FILE, --output FILE      Set output file name
  -O                          Optimize output file
  -Qy                         Ignored for SVR4 compatibility
  -q, --emit-relocs           Generate relocations in final output
  -r, -i, --relocatable       Generate relocatable output
  -R FILE, --just-symbols FILE
                              Just link symbols (if directory, same as --rpath)
  -s, --strip-all             Strip all symbols
  -S, --strip-debug           Strip debugging symbols
  --strip-discarded           Strip symbols in discarded sections
  --no-strip-discarded        Do not strip symbols in discarded sections
  -t, --trace                 Trace file opens
  -T FILE, --script FILE      Read linker script
  -u SYMBOL, --undefined SYMBOL
                              Start with undefined reference to SYMBOL
  --unique [=SECTION]         Don't merge input [SECTION | orphan] sections
  -Ur                         Build global constructor/destructor tables
  -v, --version               Print version information
  -V                          Print version and emulation information
  -x, --discard-all           Discard all local symbols
  -X, --discard-locals        Discard temporary local symbols (default)
  --discard-none              Don't discard any local symbols
  -y SYMBOL, --trace-symbol SYMBOL
                              Trace mentions of SYMBOL
  -Y PATH                     Default search path for Solaris compatibility
  -(, --start-group           Start a group
  -), --end-group             End a group
  --accept-unknown-input-arch Accept input files whose architecture cannot be determined
  --no-accept-unknown-input-arch
                              Reject input files whose architecture is unknown
  -assert KEYWORD             Ignored for SunOS compatibility
  -Bdynamic, -dy, -call_shared
                              Link against shared libraries
  -Bstatic, -dn, -non_shared, -static
                              Do not link against shared libraries
  -Bsymbolic                  Bind global references locally
  --check-sections            Check section addresses for overlaps (default)
  --no-check-sections         Do not check section addresses for overlaps
  --cref                      Output cross reference table
  --defsym SYMBOL=EXPRESSION  Define a symbol
  --demangle [=STYLE]         Demangle symbol names [using STYLE]
  --embedded-relocs           Generate embedded relocs
  -fini SYMBOL                Call SYMBOL at unload-time
  --force-exe-suffix          Force generation of file with .exe suffix
  --gc-sections               Remove unused sections (on some targets)
  --no-gc-sections            Don't remove unused sections (default)
  --hash-size=<NUMBER>        Set default hash table size close to <NUMBER>
  --help                      Print option help
  -init SYMBOL                Call SYMBOL at load-time
  -Map FILE                   Write a map file
  --no-define-common          Do not define Common storage
  --no-demangle               Do not demangle symbol names
  --no-keep-memory            Use less memory and more disk I/O
  --no-undefined              Do not allow unresolved references in object files
  --allow-shlib-undefined     Allow unresolved references in shared libaries
  --no-allow-shlib-undefined  Do not allow unresolved references in shared libs
  --allow-multiple-definition Allow multiple definitions
  --no-undefined-version      Disallow undefined version
  --no-warn-mismatch          Don't warn about mismatched input files
  --no-whole-archive          Turn off --whole-archive
  --noinhibit-exec            Create an output file even if errors occur
  -nostdlib                   Only use library directories specified on
				the command line
  --oformat TARGET            Specify target of output file
  -qmagic                     Ignored for Linux compatibility
  --reduce-memory-overheads   Reduce memory overheads, possibly taking much longer
  --relax                     Relax branches on certain targets
  --retain-symbols-file FILE  Keep only symbols listed in FILE
  -rpath PATH                 Set runtime shared library search path
  -rpath-link PATH            Set link time shared library search path
  -shared, -Bshareable        Create a shared library
  -pie, --pic-executable      Create a position independent executable
  --sort-common               Sort common symbols by size
  --spare-dynamic-tags COUNT  How many tags to reserve in .dynamic section
  --split-by-file [=SIZE]     Split output sections every SIZE octets
  --split-by-reloc [=COUNT]   Split output sections every COUNT relocs
  --stats                     Print memory usage statistics
  --target-help               Display target specific options
  --task-link SYMBOL          Do task level linking
  --traditional-format        Use same format as native linker
  --section-start SECTION=ADDRESS
                              Set address of named section
  -Tbss ADDRESS               Set address of .bss section
  -Tdata ADDRESS              Set address of .data section
  -Ttext ADDRESS              Set address of .text section
  --unresolved-symbols=<method>
                              How to handle unresolved symbols.  <method> is:
				ignore-all, report-all, ignore-in-object-files,
				ignore-in-shared-libs
  --verbose                   Output lots of information during link
  --version-script FILE       Read version information script
  --version-exports-section SYMBOL
                              Take export symbols list from .exports, using
				SYMBOL as the version.
  --warn-common               Warn about duplicate common symbols
  --warn-constructors         Warn if global constructors/destructors are seen
  --warn-multiple-gp          Warn if the multiple GP values are used
  --warn-once                 Warn only once per undefined symbol
  --warn-section-align        Warn if start of section changes due to alignment
  --warn-unresolved-symbols   Report unresolved symbols as warnings
  --error-unresolved-symbols  Report unresolved symbols as errors
  --fatal-warnings            Treat warnings as errors
  --whole-archive             Include all objects from following archives
  --add-needed                Set DT_NEEDED tags for DT_NEEDED entries in
				following dynamic libs
  --no-add-needed             Do not set DT_NEEDED tags for DT_NEEDED entries
				in following dynamic libs
  --as-needed                 Only set DT_NEEDED for following dynamic libs if used
  --no-as-needed              Always set DT_NEEDED for following dynamic libs
  --wrap SYMBOL               Use wrapper functions for SYMBOL
ld: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little elf32-big srec symbolsrec tekhex binary ihex
ld: supported emulations: i386pe
ld: emulation specific options:
i386pe: 
  --base_file <basefile>             Generate a base file for relocatable DLLs
  --dll                              Set image base to the default for DLLs
  --file-alignment <size>            Set file alignment
  --heap <size>                      Set initial size of the heap
  --image-base <address>             Set start address of the executable
  --major-image-version <number>     Set version number of the executable
  --major-os-version <number>        Set minimum required OS version
  --major-subsystem-version <number> Set minimum required OS subsystem version
  --minor-image-version <number>     Set revision number of the executable
  --minor-os-version <number>        Set minimum required OS revision
  --minor-subsystem-version <number> Set minimum required OS subsystem revision
  --section-alignment <size>         Set section alignment
  --stack <size>                     Set size of the initial stack
  --subsystem <name>[:<version>]     Set required OS subsystem [& version]
  --support-old-code                 Support interworking with old code
  --thumb-entry=<symbol>             Set the entry point to be Thumb <symbol>
  --add-stdcall-alias                Export symbols with and without @nn
  --disable-stdcall-fixup            Don't link _sym to _sym@nn
  --enable-stdcall-fixup             Link _sym to _sym@nn without warnings
  --exclude-symbols sym,sym,...      Exclude symbols from automatic export
  --exclude-libs lib,lib,...         Exclude libraries from automatic export
  --export-all-symbols               Automatically export all globals to DLL
  --kill-at                          Remove @nn from exported symbols
  --out-implib <file>                Generate import library
  --output-def <file>                Generate a .DEF file for the built DLL
  --warn-duplicate-exports           Warn about duplicate exports.
  --compat-implib                    Create backward compatible import libs;
                                       create __imp_<SYMBOL> as well.
  --enable-auto-image-base           Automatically choose image base for DLLs
                                       unless user specifies one
  --disable-auto-image-base          Do not auto-choose image base. (default)
  --dll-search-prefix=<string>       When linking dynamically to a dll without
                                       an importlib, use <string><basename>.dll
                                       in preference to lib<basename>.dll 
  --enable-auto-import               Do sophistcated linking of _sym to
                                       __imp_sym for DATA references
  --disable-auto-import              Do not auto-import DATA items from DLLs
  --enable-runtime-pseudo-reloc      Work around auto-import limitations by
                                       adding pseudo-relocations resolved at
                                       runtime.
  --disable-runtime-pseudo-reloc     Do not add runtime pseudo-relocations for
                                       auto-imported DATA.
  --enable-extra-pe-debug            Enable verbose debug output when building
                                       or linking to DLLs (esp. auto-import)
  --large-address-aware              Executable supports virtual addresses
                                       greater than 2 gigabytes

Report bugs to <URL:http://www.sourceware.org/bugzilla/>
  Mit Zitat antworten
Alt 28.09.05, 17:34   #6 (permalink)
Member of Honour
 
Registriert seit: 03.10.01
blueflash Leistung: Facit NTK
Likes: 1
Standard

das is jetzt nicht dein ernst, oder?

Warum denn "gcc -lib" ???
In der Hilfe steht doch "gcc -l LIBNAME"

Wenn du das machst, hauts doch hin, oder?

Wenn du viele Libs hast, dann kannst du halt mit "-L LIBPATH" den Pfad durchsuchen lassen.
blueflash ist offline   Mit Zitat antworten
Alt 28.09.05, 18:23   #7 (permalink)
Metallica
Guest
 
Likes:
Standard

Eben nicht...Das ist ja das ding...
Ich habe mehrere Beispiele in denen Libarys genutzt werden werden (BGI z.b.)...
Aber wie gesagt es funktioniert trotzdem nicht...

Greets Josh
  Mit Zitat antworten
Alt 28.09.05, 19:13   #8 (permalink)
Member of Honour
 
Registriert seit: 03.10.01
blueflash Leistung: Facit NTK
Likes: 1
Standard

Dann gib doch bitte mal ein komplettes trace eines versuches an.
blueflash ist offline   Mit Zitat antworten
Alt 28.09.05, 21:20   #9 (permalink)
Metallica
Guest
 
Likes:
Standard

So ich habe mehrere möglichkeiten versucht:

gcc -l svgacc.lib svgadem1.c:
Code:
svgacc.h:100: warning: data definition has no type or storage class
svgacc.h:104: error: syntax error before "blkget"
svgacc.h:104: error: syntax error before '*' token
svgacc.h:104: warning: data definition has no type or storage class
svgacc.h:105: error: syntax error before "blkput"
svgacc.h:105: error: syntax error before '*' token
svgacc.h:105: warning: data definition has no type or storage class
svgacc.h:106: error: syntax error before "blkresize"
svgacc.h:106: error: syntax error before '*' token
svgacc.h:106: warning: data definition has no type or storage class
svgacc.h:107: error: syntax error before "blkrotate"
svgacc.h:107: error: syntax error before '*' token
svgacc.h:107: warning: data definition has no type or storage class
svgacc.h:108: error: syntax error before "blkrotatesize"
svgacc.h:108: error: syntax error before '*' token
svgacc.h:108: warning: data definition has no type or storage class
svgacc.h:112: error: syntax error before "bytecopy"
svgacc.h:112: error: syntax error before '*' token
svgacc.h:112: warning: data definition has no type or storage class
svgacc.h:116: error: syntax error before "d2rotate"
svgacc.h:116: error: syntax error before '*' token
svgacc.h:116: warning: data definition has no type or storage class
svgacc.h:117: error: syntax error before "d2scale"
svgacc.h:117: error: syntax error before '*' token
svgacc.h:117: warning: data definition has no type or storage class
svgacc.h:118: error: syntax error before "d2translate"
svgacc.h:118: error: syntax error before '*' token
svgacc.h:118: warning: data definition has no type or storage class
svgacc.h:122: error: syntax error before "d3project"
svgacc.h:122: error: syntax error before '*' token
svgacc.h:122: warning: data definition has no type or storage class
svgacc.h:123: error: syntax error before "d3rotate"
svgacc.h:123: error: syntax error before '*' token
svgacc.h:123: warning: data definition has no type or storage class
svgacc.h:124: error: syntax error before "d3scale"
svgacc.h:124: error: syntax error before '*' token
svgacc.h:124: warning: data definition has no type or storage class
svgacc.h:125: error: syntax error before "d3translate"
svgacc.h:125: error: syntax error before '*' token
svgacc.h:125: warning: data definition has no type or storage class
svgacc.h:129: error: syntax error before "drwaline"
svgacc.h:129: warning: data definition has no type or storage class
svgacc.h:130: error: syntax error before "drwbox"
svgacc.h:130: warning: data definition has no type or storage class
svgacc.h:131: error: syntax error before "drwcirarc"
svgacc.h:131: warning: data definition has no type or storage class
svgacc.h:132: error: syntax error before "drwcircle"
svgacc.h:132: warning: data definition has no type or storage class
svgacc.h:133: error: syntax error before "drwcubicbezier"
svgacc.h:133: error: syntax error before '*' token
svgacc.h:133: warning: data definition has no type or storage class
svgacc.h:134: error: syntax error before "drwellarc"
svgacc.h:134: warning: data definition has no type or storage class
svgacc.h:135: error: syntax error before "drwellipse"
svgacc.h:135: warning: data definition has no type or storage class
svgacc.h:136: error: syntax error before "drwfillbox"
svgacc.h:136: warning: data definition has no type or storage class
svgacc.h:137: error: syntax error before "drwfillcircle"
svgacc.h:137: warning: data definition has no type or storage class
svgacc.h:138: error: syntax error before "drwfillellipse"
svgacc.h:138: warning: data definition has no type or storage class
svgacc.h:139: error: syntax error before "drwline"
svgacc.h:139: warning: data definition has no type or storage class
svgacc.h:140: error: syntax error before "drwpoint"
svgacc.h:140: warning: data definition has no type or storage class
svgacc.h:141: error: syntax error before "drwstring"
svgacc.h:141: error: syntax error before '*' token
svgacc.h:141: warning: data definition has no type or storage class
svgacc.h:142: error: syntax error before "drwstringdn"
svgacc.h:142: error: syntax error before '*' token
svgacc.h:142: warning: data definition has no type or storage class
svgacc.h:143: error: syntax error before "drwstringlt"
svgacc.h:143: error: syntax error before '*' token
svgacc.h:143: warning: data definition has no type or storage class
svgacc.h:144: error: syntax error before "drwstringrt"
svgacc.h:144: error: syntax error before '*' token
svgacc.h:144: warning: data definition has no type or storage class
svgacc.h:148: error: syntax error before "fillarea"
svgacc.h:148: warning: data definition has no type or storage class
svgacc.h:149: error: syntax error before "fillconvexpoly"
svgacc.h:149: error: syntax error before '*' token
svgacc.h:149: warning: data definition has no type or storage class
svgacc.h:150: error: syntax error before "fillpoly"
svgacc.h:150: error: syntax error before '*' token
svgacc.h:150: warning: data definition has no type or storage class
svgacc.h:151: error: syntax error before "fillcolor"
svgacc.h:151: warning: data definition has no type or storage class
svgacc.h:152: error: syntax error before "fillpage"
svgacc.h:152: warning: data definition has no type or storage class
svgacc.h:153: error: syntax error before "fillscreen"
svgacc.h:153: warning: data definition has no type or storage class
svgacc.h:154: error: syntax error before "fillview"
svgacc.h:154: warning: data definition has no type or storage class
svgacc.h:158: error: syntax error before "fontgetinfo"
svgacc.h:158: error: syntax error before '*' token
svgacc.h:158: warning: data definition has no type or storage class
svgacc.h:159: error: syntax error before "fontset"
svgacc.h:159: error: syntax error before '*' token
svgacc.h:159: warning: data definition has no type or storage class
svgacc.h:160: error: syntax error before "fontsystem"
svgacc.h:160: warning: data definition has no type or storage class
svgacc.h:164: error: syntax error before "getlaststring"
svgacc.h:164: error: syntax error before '*' token
svgacc.h:164: warning: data definition has no type or storage class
svgacc.h:165: error: syntax error before "getarccos"
svgacc.h:165: warning: data definition has no type or storage class
svgacc.h:166: error: syntax error before "getarcsin"
svgacc.h:166: warning: data definition has no type or storage class
svgacc.h:167: error: syntax error before "getarctan"
svgacc.h:167: warning: data definition has no type or storage class
svgacc.h:168: error: syntax error before "getcos"
svgacc.h:168: warning: data definition has no type or storage class
svgacc.h:169: error: syntax error before "getpoint"
svgacc.h:169: warning: data definition has no type or storage class
svgacc.h:170: error: syntax error before "getsin"
svgacc.h:170: warning: data definition has no type or storage class
svgacc.h:171: error: syntax error before "gettan"
svgacc.h:171: warning: data definition has no type or storage class
svgacc.h:175: error: syntax error before "joystickinfo"
svgacc.h:175: error: syntax error before '*' token
svgacc.h:175: warning: data definition has no type or storage class
svgacc.h:179: error: syntax error before "mousebutpress"
svgacc.h:179: error: syntax error before '*' token
svgacc.h:179: warning: data definition has no type or storage class
svgacc.h:180: error: syntax error before "mousebutrelease"
svgacc.h:180: error: syntax error before '*' token
svgacc.h:180: warning: data definition has no type or storage class
svgacc.h:181: error: syntax error before "mousecursordefault"
svgacc.h:181: warning: data definition has no type or storage class
svgacc.h:182: error: syntax error before "mousecursorset"
svgacc.h:182: error: syntax error before '*' token
svgacc.h:182: warning: data definition has no type or storage class
svgacc.h:183: error: syntax error before "mouseenter"
svgacc.h:183: warning: data definition has no type or storage class
svgacc.h:184: error: syntax error before "mouseexit"
svgacc.h:184: warning: data definition has no type or storage class
svgacc.h:185: error: syntax error before "mousehide"
svgacc.h:185: warning: data definition has no type or storage class
svgacc.h:186: error: syntax error before "mouseinfo"
svgacc.h:186: error: syntax error before '*' token
svgacc.h:186: warning: data definition has no type or storage class
svgacc.h:187: error: syntax error before "mouselocset"
svgacc.h:187: warning: data definition has no type or storage class
svgacc.h:188: error: syntax error before "mouserangeset"
svgacc.h:188: warning: data definition has no type or storage class
svgacc.h:189: error: syntax error before "mouserestorestate"
svgacc.h:189: error: syntax error before '*' token
svgacc.h:189: warning: data definition has no type or storage class
svgacc.h:190: error: syntax error before "mousesavestate"
svgacc.h:190: error: syntax error before '*' token
svgacc.h:190: warning: data definition has no type or storage class
svgacc.h:191: error: syntax error before "mousesensset"
svgacc.h:191: warning: data definition has no type or storage class
svgacc.h:192: error: syntax error before "mouseshow"
svgacc.h:192: warning: data definition has no type or storage class
svgacc.h:193: error: syntax error before "mousestatus"
svgacc.h:193: error: syntax error before '*' token
svgacc.h:193: warning: data definition has no type or storage class
svgacc.h:194: error: syntax error before "mousestoragesize"
svgacc.h:194: warning: data definition has no type or storage class
svgacc.h:196: error: syntax error before "overscanset"
svgacc.h:196: warning: data definition has no type or storage class
svgacc.h:200: error: syntax error before "pageactive"
svgacc.h:200: warning: data definition has no type or storage class
svgacc.h:201: error: syntax error before "pagedisplay"
svgacc.h:201: warning: data definition has no type or storage class
svgacc.h:205: error: syntax error before "palchgauto"
svgacc.h:205: error: syntax error before '*' token
svgacc.h:205: warning: data definition has no type or storage class
svgacc.h:206: error: syntax error before "palchgstep"
svgacc.h:206: error: syntax error before '*' token
svgacc.h:206: warning: data definition has no type or storage class
svgacc.h:207: error: syntax error before "palcopy"
svgacc.h:207: error: syntax error before '*' token
svgacc.h:207: warning: data definition has no type or storage class
svgacc.h:208: error: syntax error before "paldimstep"
svgacc.h:208: error: syntax error before '*' token
svgacc.h:208: warning: data definition has no type or storage class
svgacc.h:209: error: syntax error before "palget"
svgacc.h:209: error: syntax error before '*' token
svgacc.h:209: warning: data definition has no type or storage class
svgacc.h:210: error: syntax error before "palioauto"
svgacc.h:210: error: syntax error before '*' token
svgacc.h:210: warning: data definition has no type or storage class
svgacc.h:211: error: syntax error before "palrotate"
svgacc.h:211: error: syntax error before '*' token
svgacc.h:211: warning: data definition has no type or storage class
svgacc.h:212: error: syntax error before "palset"
svgacc.h:212: error: syntax error before '*' token
svgacc.h:212: warning: data definition has no type or storage class
svgacc.h:216: error: syntax error before "pcxgetinfo"
svgacc.h:216: error: syntax error before '*' token
svgacc.h:216: warning: data definition has no type or storage class
svgacc.h:217: error: syntax error before "pcxmake"
svgacc.h:217: error: syntax error before '*' token
svgacc.h:217: warning: data definition has no type or storage class
svgacc.h:218: error: syntax error before "pcxput"
svgacc.h:218: error: syntax error before '*' token
svgacc.h:218: warning: data definition has no type or storage class
svgacc.h:222: error: syntax error before "res320"
svgacc.h:222: warning: data definition has no type or storage class
svgacc.h:223: error: syntax error before "res640"
svgacc.h:223: warning: data definition has no type or storage class
svgacc.h:224: error: syntax error before "res640l"
svgacc.h:224: warning: data definition has no type or storage class
svgacc.h:225: error: syntax error before "res800"
svgacc.h:225: warning: data definition has no type or storage class
svgacc.h:226: error: syntax error before "res1024"
svgacc.h:226: warning: data definition has no type or storage class
svgacc.h:227: error: syntax error before "res1280"
svgacc.h:227: warning: data definition has no type or storage class
svgacc.h:228: error: syntax error before "restext"
svgacc.h:228: warning: data definition has no type or storage class
svgacc.h:232: error: syntax error before "scrolldn"
svgacc.h:232: warning: data definition has no type or storage class
svgacc.h:233: error: syntax error before "scrolllt"
svgacc.h:233: warning: data definition has no type or storage class
svgacc.h:234: error: syntax error before "scrollrt"
svgacc.h:234: warning: data definition has no type or storage class
svgacc.h:235: error: syntax error before "scrollup"
svgacc.h:235: warning: data definition has no type or storage class
svgacc.h:239: error: syntax error before "sdelay"
svgacc.h:239: warning: data definition has no type or storage class
svgacc.h:243: error: syntax error before "setcard"
svgacc.h:243: warning: data definition has no type or storage class
svgacc.h:244: error: syntax error before "setview"
svgacc.h:244: warning: data definition has no type or storage class
svgacc.h:248: error: syntax error before "spritecolldetect"
svgacc.h:248: error: syntax error before '*' token
svgacc.h:248: warning: data definition has no type or storage class
svgacc.h:249: error: syntax error before "spritegap"
svgacc.h:249: error: syntax error before '*' token
svgacc.h:249: warning: data definition has no type or storage class
svgacc.h:250: error: syntax error before "spriteget"
svgacc.h:250: error: syntax error before '*' token
svgacc.h:250: warning: data definition has no type or storage class
svgacc.h:251: error: syntax error before "spriteput"
svgacc.h:251: error: syntax error before '*' token
svgacc.h:251: warning: data definition has no type or storage class
svgacc.h:255: error: syntax error before "videomodeget"
svgacc.h:255: warning: data definition has no type or storage class
svgacc.h:256: error: syntax error before "videomodeset"
svgacc.h:256: warning: data definition has no type or storage class
svgacc.h:257: error: syntax error before "videooff"
svgacc.h:257: warning: data definition has no type or storage class
svgacc.h:258: error: syntax error before "videoon"
svgacc.h:258: warning: data definition has no type or storage class
svgacc.h:262: error: syntax error before "whichcpu"
svgacc.h:262: warning: data definition has no type or storage class
svgacc.h:263: error: syntax error before "whichjoystick"
svgacc.h:263: warning: data definition has no type or storage class
svgacc.h:264: error: syntax error before "whichmem"
svgacc.h:264: warning: data definition has no type or storage class
svgacc.h:265: error: syntax error before "whichmouse"
svgacc.h:265: warning: data definition has no type or storage class
svgacc.h:266: error: syntax error before "whichvga"
svgacc.h:266: warning: data definition has no type or storage class
svgacc.h:267: error: syntax error before "whichxms"
svgacc.h:267: error: syntax error before '*' token
svgacc.h:267: warning: data definition has no type or storage class
svgacc.h:271: error: syntax error before "xmsallocate"
svgacc.h:271: warning: data definition has no type or storage class
svgacc.h:272: error: syntax error before "xmsblkget"
svgacc.h:272: warning: data definition has no type or storage class
svgacc.h:273: error: syntax error before "xmsblkput"
svgacc.h:273: warning: data definition has no type or storage class
svgacc.h:274: error: syntax error before "xmscopy"
svgacc.h:274: warning: data definition has no type or storage class
svgacc.h:275: error: syntax error before "xmserror"
svgacc.h:275: warning: data definition has no type or storage class
svgacc.h:276: error: syntax error before "xmsfree"
svgacc.h:276: warning: data definition has no type or storage class
svgacc.h:277: error: syntax error before "xmsget"
svgacc.h:277: error: syntax error before '*' token
svgacc.h:277: warning: data definition has no type or storage class
svgacc.h:278: error: syntax error before "xmsput"
svgacc.h:278: error: syntax error before '*' token
svgacc.h:278: warning: data definition has no type or storage class
svgacc.h:279: error: syntax error before "xmsscreenget"
svgacc.h:279: warning: data definition has no type or storage class
svgacc.h:280: error: syntax error before "xmsscreenput"
svgacc.h:280: warning: data definition has no type or storage class
In file included from svgadem1.c:47:
svgacc.h:290:2: warning: no newline at end of file
In file included from svgadem1.c:48:
svgademo.h:47: warning: built-in function 'gamma' declared as non-function
In file included from svgadem1.c:48:
svgademo.h:175:2: warning: no newline at end of file
svgadem1.c: In function `doblock':
svgadem1.c:64: error: syntax error before '*' token
svgadem1.c:65: error: syntax error before '*' token
svgadem1.c:66: error: syntax error before '*' token
svgadem1.c:98: error: `gfxblk' undeclared (first use in this function)
svgadem1.c:98: error: (Each undeclared identifier is reported only once
svgadem1.c:98: error: for each function it appears in.)
svgadem1.c:128: error: `spritebkgnd' undeclared (first use in this function)
svgadem1.c:134: error: `gfxblk2' undeclared (first use in this function)
svgadem1.c:1443:2: warning: no newline at end of file
ld -l svgacc.lib:
Code:
ld: cannot find -lsvgacc.lib
ld svgacc.lib:
Code:
svgacc.lib: file not recognized: File format not recognized
  Mit Zitat antworten
Alt 01.10.05, 11:15   #10 (permalink)
 
Registriert seit: 08.10.04
Leiche Leistung: Facit NTK
Likes: 0
Standard

borland, msvc und gcc benutzen verschiedene objektformate. du kannst keine borland OMF library in ein gcc-projekt einbinden. vielleicht kannst du sie konvertieren, aber dazu kann ich dir auch nichts sagen.
Leiche ist offline   Mit Zitat antworten
Antwort
   
- Anzeige -

Werbung ist gerade online    

[HaBo] » Software Home » Code Kitchen » .LIB - Files mit dem GCC compilieren?!
Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks sind aus
Pingbacks sind aus
Refbacks sind aus


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Problem beim Compilieren Strahl Code Kitchen 0 17.06.05 21:12
Probleme beim compilieren ecologys Code Kitchen 0 05.07.04 00:06
Compilieren für Anfänger ? Maniact Linux/UNIX 6 19.03.04 15:07
.pas in .exe compilieren? JiRd Applikationen 1 17.02.04 16:35
Linux Kernel Compilieren blub Linux/UNIX 6 22.08.03 00:35


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61