Mail Archives: djgpp/2007/05/26/20:10:34
Timo Schlüßler kirjoitti:
> Hi I'm back again.
>
>
> The problems aren't solved yet and I want to ask if someone of you can
> try to compile my programms with your version of djgpp? The sources from
> the first prog are here: schluessler.org/win_dirparselog.c and I've got
> another small prog which sources you can find at
> schluessler.org/dirparselog.c (the comments at the top of that source
> are outdatet).
I don't know what is wrong for You, but for me all compiles and links
without problems. You should be able to use If You have another GCC
version, then I don't think it's a problem unless it is really ancient.
You should also be able to use xml-config script instead of pkg-config.
Command (under bash):
gcc -O2 -v `pkg-config --cflags libxml-2.0` win_dirparselog.c -o
win_dirparselog.exe `pkg-config --libs libxml-2.0`
Output:
Using built-in specs.
Target: djgpp
Configured with: /gnu/gcc-4.12/configure djgpp --prefix=/dev/env/DJDIR
--disable-nls --disable-werror
--enable-languages=c,c++,fortran,objc,obj-c++,ada
Thread model: single
gcc version 4.1.2
c:/comp/djgpp/bin/../libexec/gcc/djgpp/4.12/cc1.exe -quiet -v
-I/dev/env/DJDIR/include/libxml2 -iprefix
c:/comp/djgpp/bin/../lib/gcc/djgpp/4.12/ -remap -imacros
c:/comp/djgpp/bin/../lib/gcc/djgpp/4.12/djgpp.ver win_dirparselog.c
-quiet -dumpbase win_dirparselog.c -mtune=pentium -auxbase
win_dirparselog -O2 -version -o c:/comp/djgpp/tmp/cc3Q4Mrg.s
ignoring nonexistent directory
"c:/comp/djgpp/bin/../lib/gcc/djgpp/4.12/../../../../djgpp/include"
ignoring nonexistent directory "c:/comp/djgpp/djgpp/include/"
#include "..." search starts here:
#include <...> search starts here:
/dev/env/DJDIR/include/libxml2
c:/comp/djgpp/bin/../lib/gcc/djgpp/4.12/include
c:/comp/djgpp/lib/gcc/djgpp/4.12/include/
c:/comp/djgpp/include/
End of search list.
GNU C version 4.1.2 (djgpp)
compiled by GNU C version 4.1.2.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: df2798bae464503dfad9670430550407
c:/comp/djgpp/bin/as.exe -o c:/comp/djgpp/tmp/ccUeC6E3.o
c:/comp/djgpp/tmp/cc3Q4Mrg.s
c:/comp/djgpp/bin/../libexec/gcc/djgpp/4.12/collect2.exe -o
win_dirparselog.exe c:/comp/djgpp/lib/crt0.o -L/dev/env/DJDIR/lib
-Lc:/comp/djgpp/bin/../lib/gcc/djgpp/4.12 -Lc:/comp/djgpp/bin/../lib/gcc
-Lc:/comp/djgpp/lib -Lc:/comp/djgpp/lib/gcc/djgpp/4.12
-Lc:/comp/djgpp/lib -Lc:/comp/djgpp/bin/../lib/gcc/djgpp/4.12/../../..
-Lc:/comp/djgpp/lib c:/comp/djgpp/tmp/ccUeC6E3.o -lxml2 -lz -liconv -lm
-lgcc -lc -lgcc
c:/comp/djgpp/bin/stubify.exe -v win_dirparselog.exe
stubify for djgpp V2.X executables, Copyright (C) 1995-2003 DJ Delorie
stubify: win_dirparselog.exe -> win_dirparselog.000 -> win_dirparselog.exe
Andris
- Raw text -