Sign in Join

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

Mailing lists / fpc-devel / 2008-11

Rebuild FPC and RTL with custom switches

8 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Fabio Dell'Aria

Hi to all,

how I can rebuild the FPC and RTL with custom switches?

I wont to uses -CX -XX -U3 -Ur

Best regards... Fabio Dell'Aria.

Reply by email

Fabio Dell'Aria
to Jonas Maebe

Hi Jonas,

Jonas Maebe wrote 12 lines
On 11 Nov 2008, at 11:03, Fabio Dell'Aria wrote: > how I can rebuild the FPC and RTL with custom switches? > > I wont to uses -CX -XX -U3 -Ur Execute the following in the top FPC source directory: make clean all OPT="-CX -XX -U3 -Ur" Jonas

After some times I receive the following error message:

make.exe: *** [build-stamp.i386-win32] Error 2

Why?

Best regards... Fabio Dell'Aria.

Reply by email

Jonas Maebe
to Fabio Dell'Aria
Fabio Dell'Aria wrote 15 lines
Hi Jonas, On Tue, Nov 11, 2008 at 12:15 PM, Jonas Maebe < > wrote: > > Execute the following in the top FPC source directory: > > make clean all OPT="-CX -XX -U3 -Ur" > After some times I receive the following error message: make.exe: *** [build-stamp.i386-win32] Error 2 Why?

I can't tell if you just post this one line. It's like saying "My program crashed. Why?"

Jonas

Reply by email

Fabio Dell'Aria
to Jonas Maebe

Hi,

Jonas Maebe wrote 24 lines
On 11 Nov 2008, at 12:34, Fabio Dell'Aria wrote: > Hi Jonas, > > On Tue, Nov 11, 2008 at 12:15 PM, Jonas Maebe > wrote: >> >> Execute the following in the top FPC source directory: >> >> make clean all OPT="-CX -XX -U3 -Ur" >> > > After some times I receive the following error message: > > make.exe: *** [build-stamp.i386-win32] Error 2 > > Why? I can't tell if you just post this one line. It's like saying "My program crashed. Why?" Jonas

My last error is:

C:/Programmi/Lazarus/fpc/2.2.2/bin/i386-win32/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE.
-FUC:/fpcbuild-2.2.2/fpcsrcrtl/units/i386-win32 -CX -XX -U3 -Ur -di386 -dRELEASE -Us -Sg system.pp -Fi../win
Error: Illegal parameter: -U3

Best regards... Fabio Dell'Aria.

Reply by email

Jonas Maebe
to Fabio Dell'Aria
Fabio Dell'Aria wrote 7 lines
My last error is: C:/Programmi/Lazarus/fpc/2.2.2/bin/i386-win32/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/fpcbuild-2.2.2/fpcsrcrtl/units/i386-win32 -CX -XX -U3 -Ur -di386 -dRELEASE -Us -Sg system.pp -Fi../win Error: Illegal parameter: -U3

Well, the reason is that I just copy-pasted the command line options that you provided, and it contained an error. -U3 is not a valid FPC option. Maybe you meant -O3?

Jonas

Reply by email

Fabio Dell'Aria
to Jonas Maebe: I can't tell if you just post this one line. It's like saying "My program crashed. Why?"…

OK, I found the error (wrong switches). ;)

Jonas Maebe wrote 28 lines
On 11 Nov 2008, at 12:34, Fabio Dell'Aria wrote: > Hi Jonas, > > On Tue, Nov 11, 2008 at 12:15 PM, Jonas Maebe > wrote: >> >> Execute the following in the top FPC source directory: >> >> make clean all OPT="-CX -XX -U3 -Ur" >> > > After some times I receive the following error message: > > make.exe: *** [build-stamp.i386-win32] Error 2 > > Why? I can't tell if you just post this one line. It's like saying "My program crashed. Why?" Jonas _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel
Best regards... Fabio Dell'Aria.

Reply by email

Fabio Dell'Aria
to Jonas Maebe: Well, the reason is that I just copy-pasted the command line options that you provided,…

Yes, exactly! ;)

Thank you for your support! :)

Jonas Maebe wrote 21 lines
On 11 Nov 2008, at 12:50, Fabio Dell'Aria wrote: > My last error is: > > C:/Programmi/Lazarus/fpc/2.2.2/bin/i386-win32/ppc386.exe -Ur -Xs -O2 > -n -Fi../inc -Fi../i386 -Fi../win -FE. > -FUC:/fpcbuild-2.2.2/fpcsrcrtl/units/i386-win32 -CX -XX -U3 -Ur -di386 > -dRELEASE -Us -Sg system.pp -Fi../win > Error: Illegal parameter: -U3 Well, the reason is that I just copy-pasted the command line options that you provided, and it contained an error. -U3 is not a valid FPC option. Maybe you meant -O3? Jonas _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel
Best regards... Fabio Dell'Aria.

Reply by email