Re: gcc cross-compiler for linux

2008-11-27 Thread Lowell Gilbert
be handled by the port itself. What options do I have to use when building the linux gcc cross-compiler? I use I don't know; all I can tell you is that you seem to be on the right path here. make TGTARCH=i386 TGTABI=linux install clean Thanks a lot for your help Cheers Xavier On Tue, 25

Re: gcc cross-compiler for linux

2008-11-27 Thread Tijl Coosemans
On Wednesday 26 November 2008 18:48:39 Xavier Otazu wrote: On Tue, 25 Nov 2008 23:31:10 +0100 Tijl Coosemans [EMAIL PROTECTED] wrote: From that error message I'd say you probably need to populate /usr/local/i386-linux/include with glibc and linux kernel headers. How can I populate it with

Re: gcc cross-compiler for linux

2008-11-26 Thread Xavier Otazu
On Tue, 25 Nov 2008 23:31:10 +0100 Tijl Coosemans [EMAIL PROTECTED] wrote: From that error message I'd say you probably need to populate /usr/local/i386-linux/include with glibc and linux kernel headers. How can I populate it with them? Manually installing them in this directory? May be the

Re: gcc cross-compiler for linux

2008-11-25 Thread Lowell Gilbert
Xavier Otazu [EMAIL PROTECTED] writes: I would like to compile a C++ code to be executed within the linux emulator. http://wiki.freebsd.org/linux-xdev -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/

Re: gcc cross-compiler for linux

2008-11-25 Thread Xavier Otazu
code? What options do I have to use when building the linux gcc cross-compiler? I use make TGTARCH=i386 TGTABI=linux install clean Thanks a lot for your help Cheers Xavier On Tue, 25 Nov 2008 15:04:27 -0500 Lowell Gilbert [EMAIL PROTECTED] wrote: Xavier Otazu [EMAIL PROTECTED] writes: I

Re: gcc cross-compiler for linux

2008-11-25 Thread Tijl Coosemans
On Monday 24 November 2008 18:19:23 Xavier Otazu wrote: When building, I get the following error message: /usr/ports/devel/cross-gcc/work/gcc-4.2.3/host-i386-portbld-freebsd7.1/gcc/xgcc -B/usr/ports/devel/cross-gcc/work/gcc-4.2.3/host-i386-portbld-freebsd7.1/gcc/ -B/usr/local/i386-linux/bin/

gcc cross-compiler for linux

2008-11-24 Thread Xavier Otazu
Hello, I would like to compile a C++ code to be executed within the linux emulator. I tried to install the cross-gcc port, but when building I always receive the same compilation error related to gthreads. I use the following options when compiling the cross-gcc port: make TGTARCH=i386