Recent

Author Topic: Errors with Cross compling installation  (Read 2578 times)

CreativeMD

  • New member
  • *
  • Posts: 5
Errors with Cross compling installation
« on: July 10, 2013, 09:52:31 am »
Hi,
I say, i want to compile on Windows 7 64-Bit for linux.
But i'm too stupid to install the linux compiler.
I followed this manual:
http://www.stack.nl/~marcov/crossnotes.txt
It stops working at point 4). I don't know what "make clean" means,
so i start the console, went to the bla...\fpc\2.6.2\source\ and typed in "make clean".
Then this beautiful error comes to my eyes:
"Make Version 5.4 Copyright (c) 1987, 2010 Embarcadero Technologies, Inc.
Fatal: Unable to open makefile"
 :o
I tried to copy the makefile from rtl and packages, that works but has a lot of erros and it don't generates a folder like this: "<fpcbindir>\units\i386-linux\rtl"
Also the needed files for step 8 "" and "" doesn't exits in any of these folders.

I'm at the end of my power :(, can someone please help me, that would be very cool. :'(
Thanks previously.

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8887
  • FPC developer.
Re: Errors with Cross compling installation
« Reply #1 on: July 10, 2013, 11:49:39 am »

For more info about make see http://www.stack.nl/~marcov/buildfaq/#toc-Subsection-1.2.4

e.g.
"Note that some other development tools (Borland, Microsoft, java) might also package a make version. Always put FPC as the first directory in the PATH."

CreativeMD

  • New member
  • *
  • Posts: 5
Re: Errors with Cross compling installation
« Reply #2 on: July 10, 2013, 12:01:11 pm »
sorry,
but it didn't get it. Please, can someone really show me how to do it %)

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8887
  • FPC developer.
Re: Errors with Cross compling installation
« Reply #3 on: July 10, 2013, 01:34:52 pm »


Try google, it has examples for various windows versions how to edit the path: https://www.google.com/search?q=change+path+windows

Leledumbo

  • Hero Member
  • *****
  • Posts: 8279
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Errors with Cross compling installation
« Reply #4 on: July 10, 2013, 01:42:31 pm »
You are not using GNU makefile executable which is shipped with FPC, but rather a make program shipped with Delphi (could be seen from the make signature).

Follow marco's suggestion to edit your PATH environment variable such that FPC's make is the first one to be found.

 

TinyPortal © 2005-2018