Sign in Join

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

Mailing lists / lazarus / 2014-02

Error dialog in freshly built Lazarus

8 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Lubos Pintes

Hi again,
Sorry for noise, but "interesting" things are happening to me now. I successfully built the Lazarus, and when I run it, I receive this dialog: Error
Compiler "C:\FPC\2.6.2\bin\i386-Win32\fpc.exe" does not support target i386-win32

I really don't understand this...

Reply by email

Mattias Gaertner
to Lubos Pintes
Show quoted text 8 lines
Hi again, Sorry for noise, but "interesting" things are happening to me now. I successfully built the Lazarus, and when I run it, I receive this dialog: Error Compiler "C:\FPC\2.6.2\bin\i386-Win32\fpc.exe" does not support target i386-win32 I really don't understand this...

Can you post output of View / IDE Internals / About FPC?

Mattias

Reply by email

Lubos Pintes
to Mattias Gaertner

Attached contents of both tabs.

D?a 17. 2. 2014 14:17 Mattias Gaertner wrote / nap?sal(a):

Show quoted text 22 lines
On Mon, 17 Feb 2014 14:04:12 +0100 Lubos Pintes wrote: > Hi again, > Sorry for noise, but "interesting" things are happening to me now. > I successfully built the Lazarus, and when I run it, I receive this dialog: > Error > Compiler "C:\FPC\2.6.2\bin\i386-Win32\fpc.exe" does not support target > i386-win32 > > I really don't understand this... Can you post output of View / IDE Internals / About FPC? Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: AboutFPC.zip
Type: application/zip
Size: 6849 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140217/943a1150/attachment.zip>

Reply by email

Mattias Gaertner
to Lubos Pintes: Attached contents of both tabs. D?a 17. 2. 2014 14:17 Mattias Gaertner wrote /…
Attached contents of both tabs.

Thanks.

Show quoted text 14 lines
D?a 17. 2. 2014 14:17 Mattias Gaertner wrote / nap?sal(a): > On Mon, 17 Feb 2014 14:04:12 +0100 > Lubos Pintes wrote: > >> Hi again, >> Sorry for noise, but "interesting" things are happening to me now. >> I successfully built the Lazarus, and when I run it, I receive this dialog: >> Error >> Compiler "C:\FPC\2.6.2\bin\i386-Win32\fpc.exe" does not support target >> i386-win32 >> >> I really don't understand this... > > Can you post output of View / IDE Internals / About FPC?

The IDE message "does not support target" comes because RealCompiler is empty. That is the backend compiler, here: ppc386.exe. The IDE grabs that from the line "Compiler: ".
The strange thing is, that your output contains the line:

[0.890] Compiler: C:\FPC\2.6.2\bin\i386-Win32\ppc386.exe

A lot of macros are missing too.
It seems that everything behind 'found source file name "compilertest.pas"' was not seen.

Please try a Tools / Rescan FPC source directory.

Mattias

Reply by email

Lubos Pintes
to Mattias Gaertner

Hello,
So now it looks like this: someone mentioned that I have a path of old 2.6.0 compiler in mi "PATH" variable. That was true, I removed the directory from the "PATH", and also removed whole Lazarus configuration from mi users folder. Just FYI, the 2.6.0 dir was in the path, but I uninstalled old FPC a long time ago. Maybe this caused some troubles. Now when I run Lazarus, it says "OK" for FPC installation. But when I try to define FPC source, it fails with another weird error. I have FPC trunk in
c:\vcs\fpc directory. So I add it, and I see this in the information memo: Directory: circularmacroerror

Error: directory not found
You can download FPC and the FPC sources from
http://sourceforge.net/projects/lazarus/?source=directory

D?a 18. 2. 2014 0:17 Mattias Gaertner wrote / nap?sal(a):

Show quoted text 46 lines
On Mon, 17 Feb 2014 15:59:00 +0100 Lubos Pintes wrote: > Attached contents of both tabs. Thanks. > D?a 17. 2. 2014 14:17 Mattias Gaertner wrote / nap?sal(a): >> On Mon, 17 Feb 2014 14:04:12 +0100 >> Lubos Pintes wrote: >> >>> Hi again, >>> Sorry for noise, but "interesting" things are happening to me now. >>> I successfully built the Lazarus, and when I run it, I receive this dialog: >>> Error >>> Compiler "C:\FPC\2.6.2\bin\i386-Win32\fpc.exe" does not support target >>> i386-win32 >>> >>> I really don't understand this... >> >> Can you post output of View / IDE Internals / About FPC? The IDE message "does not support target" comes because RealCompiler is empty. That is the backend compiler, here: ppc386.exe. The IDE grabs that from the line "Compiler: ". The strange thing is, that your output contains the line: [0.890] Compiler: C:\FPC\2.6.2\bin\i386-Win32\ppc386.exe A lot of macros are missing too. It seems that everything behind 'found source file name "compilertest.pas"' was not seen. Please try a Tools / Rescan FPC source directory. Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

patspiper
to Lubos Pintes
Lubos Pintes wrote 17 lines
Hello, So now it looks like this: someone mentioned that I have a path of old 2.6.0 compiler in mi "PATH" variable. That was true, I removed the directory from the "PATH", and also removed whole Lazarus configuration from mi users folder. Just FYI, the 2.6.0 dir was in the path, but I uninstalled old FPC a long time ago. Maybe this caused some troubles. Now when I run Lazarus, it says "OK" for FPC installation. But when I try to define FPC source, it fails with another weird error. I have FPC trunk in c:\vcs\fpc directory. So I add it, and I see this in the information memo: Directory: circularmacroerror Error: directory not found You can download FPC and the FPC sources from http://sourceforge.net/projects/lazarus/?source=directory

What are your exact settings for 'compiler path' and 'fpc sources'?

Post our updated about FPC and IDE.

Stephano

Reply by email

Mattias Gaertner
to Lubos Pintes: So now it looks like this: someone mentioned that I have a path of old 2.6.0 compiler in…
Show quoted text 6 lines
Hello, So now it looks like this: someone mentioned that I have a path of old 2.6.0 compiler in mi "PATH" variable. That was true, I removed the directory from the "PATH", and also removed whole Lazarus configuration from mi users folder. Just FYI, the 2.6.0 dir was in the path, but I uninstalled old FPC a long time ago. Maybe this caused some troubles.

Yes, if the directory still exists.

Show quoted text 5 lines
Now when I run Lazarus, it says "OK" for FPC installation. But when I try to define FPC source, it fails with another weird error. I have FPC trunk in c:\vcs\fpc directory. So I add it, and I see this in the information memo: Directory: circularmacroerror

Maybe you put the right value at the wrong place.

For example you can not use the macro FPCVer in the compiler field.

Mattias

Reply by email