Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2021-01

Difficulty building i386-win32

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

J. Gareth Moreton

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

Reply by email

Florian Klämpfl
to J. Gareth Moreton
Show quoted text 16 lines
Am 04.01.2021 um 11:34 schrieb J. Gareth Moreton via fpc-devel : 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"

Update your working copy, I fixed this last night.

Reply by email

J. Gareth Moreton
to Florian Klämpfl

Ah, thank you Florian.

Gareth aka. Kit

Florian Klämpfl wrote 23 lines
> Am 04.01.2021 um 11:34 schrieb J. Gareth Moreton via fpc-devel : > > 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" Update your working copy, I fixed this last night. _______________________________________________ fpc-devel maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

Reply by email