Sign in Join

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

Mailing lists / fpc-devel / 2001-12

Compiling problems

9 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Sasu Purola/Dosesoft Oy

Has anybody succeeded to compile compiler in win32 environment? I have tried it with both 1.0.5 and 1.1 versions many times with out luck. If I install everything and go compiler source directory and type "make cycle" it usually stops with some include missing. If I add rtl+other sources to compiler search path it stop in one include with error code 216 which is protection fault.

If somebody has compiled compiler in win32 environment, could you tell me how to do it?

Or maybe I shoud RTFM? :)

Thanks in advance,

Sasu

Reply by email

Marco van de Voort
to Sasu Purola/Dosesoft Oy
Show quoted text 11 lines
Has anybody succeeded to compile compiler in win32 environment? I have tried it with both 1.0.5 and 1.1 versions many times with out luck. If I install everything and go compiler source directory and type "make cycle" it usually stops with some include missing. If I add rtl+other sources to compiler search path it stop in one include with error code 216 which is protection fault. If somebody has compiled compiler in win32 environment, could you tell me how to do it? Or maybe I shoud RTFM? :)

I ran it last night, and it ran fine.

There are several possibilities:

- Your start compilers are out of date. The best thing to start with is a recent (till about 1.5 month old is fine) 1.0.5 snapshot compiler.

- Your run a NT-based system: check RTFF (the FAQ that is). You need newer GNU utils, and adjust your path to be uppercase. Go to the site, select more information and then FAQ

Reply by email

Sasu Purola/Dosesoft Oy
Show quoted text 33 lines
-----Original Message----- From: Sent: 3. joulukuuta 2001 10:15 To: Subject: Re: [fpc-devel]Compiling problems > Has anybody succeeded to compile compiler in win32 environment? I have tried > it with both 1.0.5 and 1.1 versions many times with out luck. If I install > everything and go compiler source directory and type "make cycle" it usually > stops with some include missing. If I add rtl+other sources to compiler > search path it stop in one include with error code 216 which is protection > fault. > > If somebody has compiled compiler in win32 environment, could you tell me > how to do it? > > Or maybe I shoud RTFM? :) I ran it last night, and it ran fine. There are several possibilities: - Your start compilers are out of date. The best thing to start with is a recent (till about 1.5 month old is fine) 1.0.5 snapshot compiler.

Can't be! Both were latest snapshots! (I can compile 1.0.4 examples with them)

Show quoted text 6 lines
- Your run a NT-based system: check RTFF (the FAQ that is). You need newer GNU utils, and adjust your path to be uppercase. Go to the site, select more information and then FAQ

Maybe problems were wrong directory structure, or ppc386.cfg. Can you do 'dir c:\pp > dirstruct' and send it to me and your ppc386.cfg also. GNU tools which I have are from 1.0.4 distribution... Are they too old? I have done everything what "Make cycle" faq says.

Reply by email

Peter Vreman
Show quoted text 6 lines
> > Has anybody succeeded to compile compiler in win32 > environment? I have tried > > it with both 1.0.5 and 1.1 versions many times with out > luck. If I install > > everything and go compiler source directory and type "make > cycle" it usually

Here it works under Windows 2000

Maybe problems were wrong directory structure, or ppc386.cfg. Can you do 'dir c:\pp > dirstruct' and send it to me and your ppc386.cfg also. GNU tools which I have are from 1.0.4 distribution... Are they too old? I have done everything what "Make cycle" faq says.

Yes, your tools are too old. For Windows 2000 you need to use the latest makew32.zip that can be found here:

ftp://ftp.freepascal.org/pub/fpc/dist/win32-1.0.6/separate/makew32.zip

Reply by email

Lee, John

I regularly make win32 v11 & v10 with the latest sources for the daily snapshots, under 4dos under win95 & it's ok for both, most evenings, unless there is a specific problem- ok mostly recently tho' eg v11 failed last night. I use released 1.0.4 win32 for v10 makes & the day before's v1.0.5 win32 for the v11 makes...Making under win2000 (because of known gnu utiliies problems and the fact that it's M$!!) is problem unless you use the make32.zip stuff that Marco mentioned, or it might work as well/better according to Peter's recent email) with the ming32 utilities... not sure where these are on ftp site(s)... Peter?

Regards J

Earlier message 34 lines
-----Original Message----- From: Sent: Monday, December 03, 2001 08:15 To: Subject: Re: [fpc-devel]Compiling problems > Has anybody succeeded to compile compiler in win32 environment? I have tried > it with both 1.0.5 and 1.1 versions many times with out luck. If I install > everything and go compiler source directory and type "make cycle" it usually > stops with some include missing. If I add rtl+other sources to compiler > search path it stop in one include with error code 216 which is protection > fault. > > If somebody has compiled compiler in win32 environment, could you tell me > how to do it? > > Or maybe I shoud RTFM? :) I ran it last night, and it ran fine. There are several possibilities: - Your start compilers are out of date. The best thing to start with is a recent (till about 1.5 month old is fine) 1.0.5 snapshot compiler. - Your run a NT-based system: check RTFF (the FAQ that is). You need newer GNU utils, and adjust your path to be uppercase. Go to the site, select more information and then FAQ

Reply by email

Marco van de Voort
to Lee, John
Show quoted text 9 lines
I regularly make win32 v11 & v10 with the latest sources for the daily snapshots, under 4dos under win95 & it's ok for both, most evenings, unless there is a specific problem- ok mostly recently tho' eg v11 failed last night. I use released 1.0.4 win32 for v10 makes & the day before's v1.0.5 win32 for the v11 makes...Making under win2000 (because of known gnu utiliies problems and the fact that it's M$!!) is problem unless you use the make32.zip stuff that Marco mentioned, or it might work as well/better according to Peter's recent email) with the ming32 utilities... not sure where these are on ftp site(s)... Peter?

That makew32.zip _WAS_ uploaded by Peter, after IIRC he applied some fixes of his own. I just tested them (and found out the PATH thingy), and put

Today I experienced how accidents lead to inventions, I accidentally killed my binary directory, and had to restart from 1.0.4 and that makew32 (on a 2000 system)

I found out that I also needed dlltool.exe from the latest mingw distro.

Peter, should I add that to makew32.zip?

Reply by email

Peter Vreman
to Marco van de Voort
That makew32.zip _WAS_ uploaded by Peter, after IIRC he applied some fixes of his own. I just tested them (and found out the PATH thingy), and put

The new makew32.zip should contain the original make.exe from mingw without my changes.

Show quoted text 8 lines
Today I experienced how accidents lead to inventions, I accidentally killed my binary directory, and had to restart from 1.0.4 and that makew32 (on a 2000 system) I found out that I also needed dlltool.exe from the latest mingw distro. Peter, should I add that to makew32.zip?

No, the file is already in asldw32.zip

Reply by email

Marco van de Voort
to Peter Vreman
Show quoted text 5 lines
> That makew32.zip _WAS_ uploaded by Peter, after IIRC he applied some fixes > of his own. I just tested them (and found out the PATH thingy), and put The new makew32.zip should contain the original make.exe from mingw without my changes.

Hmmm, then that is maybe the reason that I now can't use the dlltool packaged with 1.0.4

Show quoted text 9 lines
> Today I experienced how accidents lead to inventions, I accidentally killed > my binary directory, and had to restart from 1.0.4 and that makew32 (on a > 2000 system) > > I found out that I also needed dlltool.exe from the latest mingw distro. > > Peter, should I add that to makew32.zip? No, the file is already in asldw32.zip

If that one is updated (with respect to 1.0.4) then there is no problem, except that the faq should maybe get updated.

Reply by email

Sasu Purola/Dosesoft Oy

So what do I need? Where to find? Or maybe, could somebody make working setup packed in one zip file which just has to be unistalled for example in c:\pp1.0 directory. After that just adding correct path to pathenv variable should be enough. And then upload it somewhere where I can download it.

I littlebit tired to just RTFM:ing old FAQ:s and trying to get every single peace together. :(

Earlier message 33 lines
-----Original Message----- From: Sent: Tuesday, December 04, 2001 10:19 AM To: Subject: Re: [fpc-devel]Compiling problems\ > > That makew32.zip _WAS_ uploaded by Peter, after IIRC he applied some fixes > > of his own. I just tested them (and found out the PATH thingy), and put > > The new makew32.zip should contain the original make.exe from mingw > without my changes. Hmmm, then that is maybe the reason that I now can't use the dlltool packaged with 1.0.4 > > Today I experienced how accidents lead to inventions, I accidentally killed > > my binary directory, and had to restart from 1.0.4 and that makew32 (on a > > 2000 system) > > > > I found out that I also needed dlltool.exe from the latest mingw distro. > > > > Peter, should I add that to makew32.zip? > > No, the file is already in asldw32.zip If that one is updated (with respect to 1.0.4) then there is no problem, except that the faq should maybe get updated.

Reply by email