Sign in Join

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

Mailing lists / fpc-pascal / 2001-07

Today snapshot

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Kanzelsberger Pavel

Hi,

I download today's snapshot of FPC/Win32 and encountered problem linkind the final .exe file, seems that bug is in ppas.bat file...

Is the second like OK??

Regards, Pavel Kanzelsberger

@echo off
--include -O coff -o pixel.owr pixres.res
if errorlevel 1 goto linkend
SET THEFILE=pixel.exe
echo Linking %THEFILE%
c:\fpc\bin\win32\ldw.exe --subsystem windows -b base.$$$ -o pixel.exe link.res
if errorlevel 1 goto linkend
c:\fpc\bin\win32\dlltool.exe -S c:\fpc\bin\win32\asw.exe -D pixel.exe -e exp.$$$ -b base.$$$ -d pixel.def
if errorlevel 1 goto linkend
c:\fpc\bin\win32\ldw.exe --subsystem windows -o pixel.exe link.res exp.$$$
if errorlevel 1 goto linkend
c:\fpc\bin\win32\postw32.exe --subsystem gui --input pixel.exe --stack 65536 if errorlevel 1 goto linkend
goto end
:asmend
echo An error occured while assembling %THEFILE%
goto end
:linkend
echo An error occured while linking %THEFILE%
:end

Reply by email

Pierre Muller
to Kanzelsberger Pavel
Kanzelsberger Pavel wrote 11 lines
Hi, I download today's snapshot of FPC/Win32 and encountered problem linkind the final .exe file, seems that bug is in ppas.bat file... Is the second like OK?? Regards, Pavel Kanzelsberger @echo off --include -O coff -o pixel.owr pixres.res

Off course not, seems like the resource compiler exe is missing... Is this with 1.0.5 or 1.1 snapshot ?

Reply by email

Kanzelsberger Pavel

It's v1.1 snapshot, but I solved the problem by setting -FD switch... Anyway I had setup path to FPC bin directory...

Thanks for info anyway, regards, Pavel Kanzelsberger

Earlier message 25 lines
-----Original Message----- From: Pierre Muller Sent: Tuesday, July 24, 2001 10:17 AM To: '' Subject: Re: [fpc-pascal]Today snapshot At 08:59 24/07/01 , Kanzelsberger Pavel a écrit: >Hi, > >I download today's snapshot of FPC/Win32 and encountered problem >linkind >the final .exe file, seems that bug is in ppas.bat file... > >Is the second like OK?? > >Regards, Pavel Kanzelsberger > >@echo off > --include -O coff -o pixel.owr pixres.res Off course not, seems like the resource compiler exe is missing... Is this with 1.0.5 or 1.1 snapshot ?

Reply by email