Building 2.7.1 cross compiler

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Building 2.7.1 cross compiler

patspiper
Hi,

Since a few weeks, I have been unable to build the 2.7.1 cross compiler
(from Linux 32 bit to Win32), while the 2.6.1 cross compiler builds
merrily. My OS is Ubuntu 11.04 32 bits.

What could be wrong?

Stephano

Log (partial):
make packages_smart
FPC=/home/me/Programs/fpc/fpsrc/exported/2.7.1/compiler/ppcross386 RELEASE=1
make[1]: Entering directory `/home/me/Programs/fpc/fpsrc/exported/2.7.1'
make -C packages smart
make[2]: Entering directory
`/home/me/Programs/fpc/fpsrc/exported/2.7.1/packages'
make -C fpmkunit bootstrap
make[3]: Entering directory
`/home/me/Programs/fpc/fpsrc/exported/2.7.1/packages/fpmkunit'
/bin/mkdir -p units_bs/i386-linux
/home/me/Programs/fpc/fpsrc/exported/2.7.1/compiler/ppc src/fpmkunit.pp
-n -Fu/home/me/Programs/fpc/fpsrc/exported/2.7.1/rtl/units/i386-linux
-Fu/home/me/Programs/fpc/fpsrc/exported/2.7.1/packages/paszlib
-Fu/home/me/Programs/fpc/fpsrc/exported/2.7.1/packages/fcl-process
-Fu/home/me/Programs/fpc/fpsrc/exported/2.7.1/packages/hash
-FUunits_bs/i386-linux -Fu../paszlib/src -Fu../hash/src
-Fi../paszlib/src  -Fi../fcl-process/src/unix -Fu../fcl-process/src
-Fi../fcl-process/src/linux -Fi../fcl-process/src/dummy -Xd -Xt -gl
make[3]: Leaving directory
`/home/me/Programs/fpc/fpsrc/exported/2.7.1/packages/fpmkunit'
/home/me/Programs/fpc/fpsrc/exported/2.7.1/compiler/ppc fpmake.pp -n
-Fu/home/me/Programs/fpc/fpsrc/exported/2.7.1/packages/fpmkunit/units_bs/i386-linux
-Fu/home/me/Programs/fpc/fpsrc/exported/2.7.1/rtl/units/i386-linux -Xd
-Xt -gl
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
/home/me/Programs/fpc/fpsrc/exported/2.7.1/rtl/units/i386-linux/cthreads.o:
In function `LOADPTHREADS':
/home/me/Programs/fpc/fpsrc/exported/2.7.1/rtl/linux/pthread.inc:261:
warning: Using 'dlopen' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: cannot find -lgcc
fpmake.pp(33,1) Error: Error while linking
fpmake.pp(33,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[2]: *** [fpmake] Error 1
make[2]: Leaving directory
`/home/me/Programs/fpc/fpsrc/exported/2.7.1/packages'
make[1]: *** [packages_smart] Error 2
make[1]: Leaving directory `/home/me/Programs/fpc/fpsrc/exported/2.7.1'
make: *** [build-stamp.i386-win32] Error 2
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Building 2.7.1 cross compiler

patspiper
On 13/11/12 15:04, patspiper wrote:
> Hi,
>
> Since a few weeks, I have been unable to build the 2.7.1 cross
> compiler (from Linux 32 bit to Win32), while the 2.6.1 cross compiler
> builds merrily. My OS is Ubuntu 11.04 32 bits.
>
> What could be wrong?
>
> Stephano
I forgot to mention that this is probably closely related to:
http://comments.gmane.org/gmane.comp.compilers.free-pascal.general/29222
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Building 2.7.1 cross compiler

bsquared
On 11/13/2012 05:16 AM, patspiper wrote:

> On 13/11/12 15:04, patspiper wrote:
>> Hi,
>>
>> Since a few weeks, I have been unable to build the 2.7.1 cross
>> compiler (from Linux 32 bit to Win32), while the 2.6.1 cross compiler
>> builds merrily. My OS is Ubuntu 11.04 32 bits.
>>
>> What could be wrong?
>>
>> Stephano
> I forgot to mention that this is probably closely related to:
> http://comments.gmane.org/gmane.comp.compilers.free-pascal.general/29222
> _______________________________________________
> fpc-pascal maillist  -
> [hidden email]
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>

I have fpc version 2.7.1 with CodeTyphon on Ubuntu 12.04 32 bit.  The
Windows cross compiler built without a problem.

I installed CodeTyphon because I was having trouble cross compiling for
Android.  Unfortunately this is not functional with the current stable
version for Linux, but they report that they are working on it.

--
Regards,
Brian

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Building 2.7.1 cross compiler

valeray12
This post has NOT been accepted by the mailing list yet.
What language would I need to learn to make a cross-platform game?
[url=http://www.barstoolmegastore.com]bar stool[/url]
Reply | Threaded
Open this post in threaded view
|

Re: Building 2.7.1 cross compiler

wallisonline
This post has NOT been accepted by the mailing list yet.
In reply to this post by patspiper
What language would I need to learn to make a cross-platform game?