Hi everyone,

I'm having a bit of difficulty building i386-win32 from my win64 workstation (building under -CriotR -O4 because of my work on optimisation):

[ 43%] Compiled package fv
Start compiling package gdbint for target i386-win32.
File libgdb.a not found
Warning: Unable to determine the libgcc path.
       Compiling gdbint\src\gdbint.pp
The installer encountered the following error:
External command "C:/Users/garet/Documents/programming/fpc/compiler/ppc386.exe -Twin32 -FUgdbint\units\i386-win32\ -FuC:\Users\garet\Documents\programming\fpc\rtl\units\i386-win32\ -Figdbint\src -Fl -Ur -Xs -O2 -n -CriotR -O4 -di386 -dRELEASE -XX -CX -Sc -viq gdbint\src\gdbint.pp" failed with exit code 1. Console output:
Target OS: Win32 for i386
Compiling gdbint\src\gdbint.pp
gdbint.pp(25,4) Fatal: Cannot open include file "gdbver.inc"
Fatal: Compilation aborted

make[2]: *** [smart] Error 1
make[2]: Leaving directory `C:/Users/garet/Documents/programming/fpc/packages'
make[1]: *** [packages_smart] Error 2
make[1]: Leaving directory `C:/Users/garet/Documents/programming/fpc'
make: *** [build-stamp.i386-win32] Error 2

Now the errors make it clear that it's something not configured properly with libgcc, so my first port of call was to install MinGW (for 32-bit) and restart the computer, but the above error still appears.  Is there anything in particular that I need to do? There seems to be no trace of gdbver.inc.

Gareth aka. Kit


--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to