Sign in Join

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

Mailing lists / lazarus / 2017-05

Compiler errors

5 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Steve Gatenby

I am compiling my project in i386 mode (on an x64 system)

I receive the following error (abridged) related to cross compiling as works ok as 64bit compile

Compile Project, Mode: Lin-Intel-32, CPU: i386, Target: LxAazLMA: Exit code 256, Errors: 1, Warnings: 55, Hints: 204
Error: Error while linking

Are there any logs created by Laz/fpc that would help find what is missing / wrong with my cross compile load ?

Thanks - SteveG

Reply by email

Péter Gábor
to Steve Gatenby

Take a look at "View / Messages" windows where in the last few lines you will see the cause. For example missing libraries or such.

Use the context menu of Messages window to filter (show or hide) some kind of messages....

2017-05-12 11:30 keltezéssel, Steve Gatenby via Lazarus írta:

Show quoted text 13 lines
I am compiling my project in i386 mode (on an x64 system) I receive the following error (abridged) related to cross compiling as works ok as 64bit compile Compile Project, Mode: Lin-Intel-32, CPU: i386, Target: LxAazLMA: Exit code 256, Errors: 1, Warnings: 55, Hints: 204 Error: Error while linking Are there any logs created by Laz/fpc that would help find what is missing / wrong with my cross compile load ? Thanks - SteveG
Péter Gábor

Reply by email

Steve Gatenby
to Péter Gábor
Péter Gábor wrote 21 lines
Take a look at "View / Messages" windows where in the last few lines you will see the cause. For example missing libraries or such. Use the context menu of Messages window to filter (show or hide) some kind of messages.... 2017-05-12 11:30 keltezéssel, Steve Gatenby via Lazarus írta: > I am compiling my project in i386 mode (on an x64 system) > > I receive the following error (abridged) related to cross compiling as > works ok as 64bit compile > > Compile Project, Mode: Lin-Intel-32, CPU: i386, Target: LxAazLMA: Exit > code 256, Errors: 1, Warnings: 55, Hints: 204 > Error: Error while linking > > Are there any logs created by Laz/fpc that would help find what is > missing / wrong with my cross compile load ? > > Thanks - SteveG

Thanks Peter -
the total info available in the msgs window is

Exit code 256, Errors: 1
Error: Error while linking

Hoping to to find a log file from the linker as to what it was trying to do - still looking

Reply by email

Péter Gábor
to Steve Gatenby

It seems that you have hidden the messages (hints, warnings, errors, etc.). Check the -v (verbosity) option in your fpc.cfg (or .fpc.cfg on Linux) and your Project/Compiler options (Verbosity of course) in the IDE.

2017-05-12 21:52 keltezéssel, Steve Gatenby via Lazarus írta:

Show quoted text 33 lines
On 05/12/2017 10:20 PM, Péter Gábor via Lazarus wrote: > Take a look at "View / Messages" windows where in the last few lines you > will see the cause. For example missing libraries or such. > > Use the context menu of Messages window to filter (show or hide) some > kind of messages.... > > 2017-05-12 11:30 keltezéssel, Steve Gatenby via Lazarus írta: >> I am compiling my project in i386 mode (on an x64 system) >> >> I receive the following error (abridged) related to cross compiling as >> works ok as 64bit compile >> >> Compile Project, Mode: Lin-Intel-32, CPU: i386, Target: LxAazLMA: Exit >> code 256, Errors: 1, Warnings: 55, Hints: 204 >> Error: Error while linking >> >> Are there any logs created by Laz/fpc that would help find what is >> missing / wrong with my cross compile load ? >> >> Thanks - SteveG > Thanks Peter - the total info available in the msgs window is Exit code 256, Errors: 1 Error: Error while linking Hoping to to find a log file from the linker as to what it was trying to do - still looking
Péter Gábor

Reply by email

Steve Gatenby
to Péter Gábor

Thanks.

Have now included 'show all' in Lazarus, just need to find where/which fpc.cfg is used/created when using FpcupDeluxe (which is a really handy piece of programming on somebodys part).

Péter Gábor wrote 39 lines
It seems that you have hidden the messages (hints, warnings, errors, etc.). Check the -v (verbosity) option in your fpc.cfg (or .fpc.cfg on Linux) and your Project/Compiler options (Verbosity of course) in the IDE. 2017-05-12 21:52 keltezéssel, Steve Gatenby via Lazarus írta: > > > On 05/12/2017 10:20 PM, Péter Gábor via Lazarus wrote: >> Take a look at "View / Messages" windows where in the last few lines you >> will see the cause. For example missing libraries or such. >> >> Use the context menu of Messages window to filter (show or hide) some >> kind of messages.... >> >> 2017-05-12 11:30 keltezéssel, Steve Gatenby via Lazarus írta: >>> I am compiling my project in i386 mode (on an x64 system) >>> >>> I receive the following error (abridged) related to cross compiling as >>> works ok as 64bit compile >>> >>> Compile Project, Mode: Lin-Intel-32, CPU: i386, Target: LxAazLMA: Exit >>> code 256, Errors: 1, Warnings: 55, Hints: 204 >>> Error: Error while linking >>> >>> Are there any logs created by Laz/fpc that would help find what is >>> missing / wrong with my cross compile load ? >>> >>> Thanks - SteveG >> > > Thanks Peter - > the total info available in the msgs window is > > Exit code 256, Errors: 1 > Error: Error while linking > > Hoping to to find a log file from the linker as to what it was trying to > do - still looking

Reply by email