Sign in Join

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

Mailing lists / lazarus / 2011-02

FPC fails to compile if ATI Stream installed.

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Kjow

I was trying to compile FPC 2.5.1 from sources and this was the output:

C:/Develop/fpc/2.5.1/compiler/ppc386.exe -di386 -Ur -Xs -O2 -n -Sg -FuC:/Develop /fpc/2.5.1/rtl/units/i386-win32 -FuC:/Develop/fpc/2.5.1/packages/fv/units/i386-w in32 -FuC:/Develop/fpc/2.5.1/packages/gdbint/units/i386-win32 -FuC:/Develop/fpc/ 2.5.1/packages/regexpr/units/i386-win32 -FuC:/Develop/fpc/2.5.1/packages/fcl-bas e/units/i386-win32 -FuC:/Develop/fpc/2.5.1/packages/fcl-xml/units/i386-win32 -Fu C:/Develop/fpc/2.5.1/packages/chm/units/i386-win32 -FE. -FUunits/i386-win32 -dRE LEASE -dNODEBUG -Xe -k--allow-multiple-definition fp.pas C:\Program Files (x86)\ATI Stream\bin\x86_64\ld.exe: unrecognised emulation mode : i386pe
Supported emulations: i386pep
fp.pas(552,1) Error: Error while linking
fp.pas(552,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted
make[4]: *** [fp.exe] Error 1
make[4]: Leaving directory `C:/Develop/fpc/2.5.1/ide' make[3]: *** [buildfp] Error 2
make[3]: Leaving directory `C:/Develop/fpc/2.5.1/ide' make[2]: *** [gdb] Error 2
make[2]: Leaving directory `C:/Develop/fpc/2.5.1/ide' make[1]: *** [ide_all] Error 2
make[1]: Leaving directory `C:/Develop/fpc/2.5.1'
make: *** [build-stamp.i386-win32] Error 2

C:\Develop\fpc\2.5.1>

Simply removing ATI Stream from Windows, FPC compiled well.

Is it a bug?

Regards,
Kjow

Reply by email

Unknown author
to Kjow
Kjow wrote 30 lines
I was trying to compile FPC 2.5.1 from sources and this was the output: C:/Develop/fpc/2.5.1/compiler/ppc386.exe -di386 -Ur -Xs -O2 -n -Sg -FuC:/Develop /fpc/2.5.1/rtl/units/i386-win32 -FuC:/Develop/fpc/2.5.1/packages/fv/units/i386-w in32 -FuC:/Develop/fpc/2.5.1/packages/gdbint/units/i386-win32 -FuC:/Develop/fpc/ 2.5.1/packages/regexpr/units/i386-win32 -FuC:/Develop/fpc/2.5.1/packages/fcl-bas e/units/i386-win32 -FuC:/Develop/fpc/2.5.1/packages/fcl-xml/units/i386-win32 -Fu C:/Develop/fpc/2.5.1/packages/chm/units/i386-win32 -FE. -FUunits/i386-win32 -dRE LEASE -dNODEBUG -Xe -k--allow-multiple-definition fp.pas C:\Program Files (x86)\ATI Stream\bin\x86_64\ld.exe: unrecognised emulation mode : i386pe Supported emulations: i386pep fp.pas(552,1) Error: Error while linking fp.pas(552,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted make[4]: *** [fp.exe] Error 1 make[4]: Leaving directory `C:/Develop/fpc/2.5.1/ide' make[3]: *** [buildfp] Error 2 make[3]: Leaving directory `C:/Develop/fpc/2.5.1/ide' make[2]: *** [gdb] Error 2 make[2]: Leaving directory `C:/Develop/fpc/2.5.1/ide' make[1]: *** [ide_all] Error 2 make[1]: Leaving directory `C:/Develop/fpc/2.5.1' make: *** [build-stamp.i386-win32] Error 2 C:\Develop\fpc\2.5.1> Simply removing ATI Stream from Windows, FPC compiled well. Is it a bug?

No.
FPC looks in the PATH environment variable for the external tools. Obviously, ATI stream adds something to the path before the FPC path itself.

Just reorder the PATH so the FPC path is before the ATI stream path. Or use the -FD option to set the path where the externa tools are searched.

Michael.

Reply by email

Kjow
to Unknown author

2011/2/7 :

Show quoted text 5 lines
No. FPC looks in the PATH environment variable for the external tools. Obviously, ATI stream adds something to the path before the FPC path itself. Just reorder the PATH so the FPC path is before the ATI stream path. Or use the -FD option to set the path where the externa tools are searched.

Thank you!
Kjow

Reply by email

hector fiandor
to Unknown author: No. FPC looks in the PATH environment variable for the external tools. Obviously, ATI…

Dear Mr. VanCanneyt and others list members:

i am trying to do an app. for my daugther using TDbf, but i dont know if it permits the use of DBCheckbox and DBRadiobuttons. How can i know if it is permitted?

for the radiobuttons i have used a way to convert the radiobutton output in a DBEdit input but for the case of checkbox, where more than one can be selected, i dont know how to do it in an easy way.

thanks in advance

yours truly,

Ing. H?ctor F. Fiandor Rosario

Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/

Reply by email