|
From: <9sp...@sn...> - 2001-10-28 11:45:21
|
> You need the mingw runtime package (mingw-runtime-1.0.1-20010901.tar.gz).
> You can also add the option -v to gcc and the compiler shows the search
> path and other nice informations.
I have extracted the mingw-runtime package (thanks for the quick reply), it
still fails but now i know why :) (see further down for more details). I need
to pass on -I mingw-runtime/include to gcc when it 'bootstraps' rdel
(and all the other r* utilities). The problem is that the Makefile rule doesn't make
use of $(CFLAGS) so i have no way to do this without modifying the Makefile.
rdel$(EXE_POSTFIX): rdel.c
$(HOST_CC) >>>no CFLAGS<<< -g rdel.c -liberty -o rdel$(EXE_POSTFIX)
$(CFLAGS) is reserved for $(CC) i guess. So what's the preferred way of handling this?
(I'm no Make expert)
Stephane
Directories------------
e:\reactos
\binutils binutils-2.11.90-20011023-win32.tar.gz
\bochs bochs-1.2.1.win32.zip
\gcc gcc-2.95.3-20011023-win32.tar.gz
\make make-3.79.1-20010901.tar.gz
* \mingw-runtime mingw-runtime-1.0.1-20010901.tar.gz
\nasm nasm-0.98-win32.zip
\reactos 0018_source.zip
setenv.cmd-------------
set HOST=mingw32-windows
set ROS_HOME=e:\reactos
set MAKE=%ROS_HOME%\make\bin
set GCC=%ROS_HOME%\gcc\bin
set BINUTILS=%ROS_HOME%\binutils\bin
* set MINGW=%ROS_HOME%\mingw-runtime\bin
* set PATH=%MAKE%;%GCC%;%BINUTILS%;%MINGW%;%PATH%
-----------------------
>make
(i changed $(HOST_CC) to gcc -v)
gcc -v -g rdel.c -liberty -o rdel.exe
Reading specs from e:/reactos/gcc/bin/../lib/gcc-lib/i386-mingw32/2.95.3-6/specs
gcc version 2.95.3-6 (mingw special)
e:\reactos\gcc\bin\..\lib\gcc-lib\i386-mingw32\2.95.3-6\cpp0.exe -lang-c -v -iprefix
e:\reactos\gcc\bin/../lib/gcc-lib/
<loads of command-line options>
GNU CPP version 2.95.3-6 (mingw special) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
e:/reactos/gcc/bin/../lib/gcc-lib/i386-mingw32/2.95.3-6/../../../../include
e:/reactos/gcc/bin/../lib/gcc-lib/i386-mingw32/2.95.3-6/../../../../i386-mingw32/include
e:/reactos/gcc/bin/../lib/gcc-lib/i386-mingw32/2.95.3-6/include
End of search list.
The following default directories have been omitted from the search path:
/usr/local/lib/gcc-lib/i386-mingw32/2.95.3-6/../../../../include/g++-3
/usr/local/mingw32/include
End of omitted list.
rdel.c:7: dirent.h: No such file or directory
rdel.c:8: errno.h: No such file or directory
rdel.c:10: stdio.h: No such file or directory
rdel.c:11: string.h: No such file or directory
rdel.c:12: stdlib.h: No such file or directory
make: *** [rdel.exe] Error 1
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
====================================================
= To remove yourself from this mailing list, go to =
= http://www.reactos.com/home/mailing.html =
====================================================
|