Recent

Author Topic: Units Unix &BaseUnix missing  (Read 3772 times)

havander

  • Newbie
  • Posts: 3
Units Unix &BaseUnix missing
« on: January 16, 2015, 04:40:36 pm »
1. Hope this item is right here.
2. Compiling now in fpc both units are reported missing. So looking in the fpc.cfg file the rtl package should be present as mentioned in the Fu statement.
Checking the 'Unit system not found errors' wiki all three possible causes are correct.
So I finally did the ppc386 check which gave the same correct presence result.
Are the unix units not available any more? Who can help me further?

Henk


marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Units Unix &BaseUnix missing
« Reply #1 on: January 16, 2015, 05:02:58 pm »
Print a lot of output with -va and see where it goes wrong?

Usually it is misconfiguration or mixing of versions (e.g. by left over PPUs somewhere)

havander

  • Newbie
  • Posts: 3
Re: Units Unix &BaseUnix missing
« Reply #2 on: January 17, 2015, 02:38:11 pm »
I executed the -va print as proposed and found that the unit Unix is searched for in many ordners among which is the rtl one.
But it is not searched for in the unterordner Unix and that is where the necessary BaseUnix.pp and Unix.pp are present.
So how do I hove to rearrange that?

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Units Unix &BaseUnix missing
« Reply #3 on: January 18, 2015, 04:12:10 pm »
You clipped a lot of information, and it is hard to see what is going on.

I do notice you use a win32 compiler, while you are searching for units to do with unix. These units are not available on Windows.

If you are attempting to crosscompile, you must first do a full crosscompile of FPC, and only then start compiling for target X. Just including the unix dirs doesn't make a windows compiler suddenly unix.

havander

  • Newbie
  • Posts: 3
Re: Units Unix &BaseUnix missing
« Reply #4 on: January 22, 2015, 05:24:58 pm »
Thanks, that is a understandible answer, so I am going to follow your advice.

 

TinyPortal © 2005-2018