f



gcc - ada cross compiler question

Hi:

I've built a couple gcc/ada cross compilers in the past but I'm really 
having trouble with this one.  I have to build a gcc 4.1.2 based Ada 
cross compiler.  The host is Linux.  The target is a 
powerpc-mpc8248-linux-uclibc (PowerPC 603, Linux 2.6.20, uClibc-0.9.29). 
  When building the compiler, I get a message

  cp -p ../../gcc/ada/sinfo.ads ../../gcc/ada/nmake.adt 
.../../gcc/ada/xnmake.adb ada/bldtools/nmake_b
(cd ada/bldtools/nmake_b; gnatmake -q xnmake ; ./xnmake -b ../../nmake.adb )
gnatbind: Cannot find: s-stalib.ali
gnatmake: *** bind failed.

Would anyone know why the error occurs?  Its confusing why s-stalib is 
not being compiled.  I am using gcc 4.4.4 as the host compiler.

Thanks

Mark
0
mark8859 (9)
9/11/2010 10:00:31 PM
comp.lang.ada 8774 articles. 2 followers. Post Follow

3 Replies
949 Views

Similar Articles

[PageSpeed] 6

mark writes on comp.lang.ada:
> I've built a couple gcc/ada cross compilers in the past but I'm really
> having trouble with this one.  I have to build a gcc 4.1.2 based Ada
> cross compiler.  The host is Linux.  The target is a
> powerpc-mpc8248-linux-uclibc (PowerPC 603, Linux 2.6.20,
> uClibc-0.9.29). When building the compiler, I get a message
>
>  cp -p ../../gcc/ada/sinfo.ads ../../gcc/ada/nmake.adt
> ../../gcc/ada/xnmake.adb ada/bldtools/nmake_b
> (cd ada/bldtools/nmake_b; gnatmake -q xnmake ; ./xnmake -b ../../nmake.adb )
> gnatbind: Cannot find: s-stalib.ali
> gnatmake: *** bind failed.
>
> Would anyone know why the error occurs?  Its confusing why s-stalib is
> not being compiled.  I am using gcc 4.4.4 as the host compiler.

IIRC, it is necessary to use the exact same version of GCC for the
native and cross compilers.  You can use GCC 4.4.4 only as the bootstrap
compiler in this case.  What stage does the error happen in?

-- 
Ludovic Brenta.
0
ludovic (1598)
9/12/2010 9:40:06 AM
On 12 Sep., 11:40, Ludovic Brenta <ludo...@ludovic-brenta.org> wrote:
> mark writes on comp.lang.ada:
>
> > I've built a couple gcc/ada cross compilers in the past but I'm really
> > having trouble with this one. =A0I have to build a gcc 4.1.2 based Ada
> > cross compiler. =A0The host is Linux. =A0The target is a
> > powerpc-mpc8248-linux-uclibc (PowerPC 603, Linux 2.6.20,
> > uClibc-0.9.29). When building the compiler, I get a message
>
> > =A0cp -p ../../gcc/ada/sinfo.ads ../../gcc/ada/nmake.adt
> > ../../gcc/ada/xnmake.adb ada/bldtools/nmake_b
> > (cd ada/bldtools/nmake_b; gnatmake -q xnmake ; ./xnmake -b ../../nmake.=
adb )
> > gnatbind: Cannot find: s-stalib.ali
> > gnatmake: *** bind failed.
>
> > Would anyone know why the error occurs? =A0Its confusing why s-stalib i=
s
> > not being compiled. =A0I am using gcc 4.4.4 as the host compiler.
>
> IIRC, it is necessary to use the exact same version of GCC for the
>

GNAT is very picky about the build compiler. Ludovic is right in that
you have to use a 4.1 compiler, better the exact matching version,
i.e. gcc-4.1.2 in your case.

> native and cross compilers. =A0You can use GCC 4.4.4 only as the bootstra=
p
> compiler in this case. =A0What stage does the error happen in?
>

Using a higher version number for bootstrapping older GNAT versions
requires that you don't treat warnings as errors during stage 1. This
is a usability bug in the Makefiles, IMHO.

BTW, there is only a single stage when building cross compilers.

   Rolf
0
9/12/2010 12:26:56 PM
I had deleted the original post.  I was using a wrong adalib.  Problems 
still remain but I'm posting them in gnu.gcc.help.  Thanks for your 
reply anyway.

On 09/12/2010 05:40 AM, Ludovic Brenta wrote:
> mark writes on comp.lang.ada:
>> I've built a couple gcc/ada cross compilers in the past but I'm really
>> having trouble with this one.  I have to build a gcc 4.1.2 based Ada
>> cross compiler.  The host is Linux.  The target is a
>> powerpc-mpc8248-linux-uclibc (PowerPC 603, Linux 2.6.20,
>> uClibc-0.9.29). When building the compiler, I get a message
>>
>>   cp -p ../../gcc/ada/sinfo.ads ../../gcc/ada/nmake.adt
>> ../../gcc/ada/xnmake.adb ada/bldtools/nmake_b
>> (cd ada/bldtools/nmake_b; gnatmake -q xnmake ; ./xnmake -b ../../nmake.adb )
>> gnatbind: Cannot find: s-stalib.ali
>> gnatmake: *** bind failed.
>>
>> Would anyone know why the error occurs?  Its confusing why s-stalib is
>> not being compiled.  I am using gcc 4.4.4 as the host compiler.
>
> IIRC, it is necessary to use the exact same version of GCC for the
> native and cross compilers.  You can use GCC 4.4.4 only as the bootstrap
> compiler in this case.  What stage does the error happen in?
>

0
mark8859 (9)
9/12/2010 5:40:57 PM
Reply:

Similar Artilces:

Cross compiler question
Is there a way to find the number of used bytes in a section? I know that UNUSED returns the number of bytes between HERE and the end of the current section. What I want is the number of bytes between HERE and the beginning of the section. If XCapp5 (proposed cross-compiler standard) doesn't provide a way, what would be common practice? Brad ...

gcc ppc cross compiler
Anyone know of a gcc implementation of a ppc cross compiler running on intel linux?? TKSIA...bob Robert Klungle wrote: > Anyone know of a gcc implementation of a ppc cross compiler running on > intel linux?? Just build it: http://www.objsw.com/CrossGCC/ HTH... Dirk -- Dirk Heinrichs | Tel: +49 (0)151 1513 6954 Configuration Manager | Fax: +49 (0)211 47068 111 Cap Gemini Deutschland | Mail: dirk.heinrichs@capgemini.com Hambornerstra�e 55 | Web: http://www.capgemini.com D-40472 D�sseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net "Robert Klungle" <bklungle@adelphia.net> writes: >Anyone know of a gcc implementation of a ppc cross compiler running on intel >linux?? Sure. Download for free. See http://www.denx.de/ELDK.html Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Web: www.denx.de Things that try to look like things often do look more like things than things. Well-known fact. - Terry Pratchett, _Wyrd Sisters_ Wolfgang Denk wrote: > "Robert Klungle" <bklungle@adelphia.net> writes: > > >>Anyone know of a gcc implementation of a ppc cross compiler running on intel >>linux?? > > > Sure. Download for free. See http://www.denx.de/ELDK.html Or http://kegel.com/crosstool for a different take on things - Dan ...

Building cross-compiler gcc
I'm currently attempting to build gcc-3.4.3 for an embedded PPC405/vxWorks platform. I'm building the cross-compiler on a Linux/i686 running the Debian 3.1 distribution with a 2.6.8 kernel. The problem is that I'm compiling --with-headers={vxworks-path-goes-here} and in order for that to work, it needs several compiler switches added everytime it uses the generated compiler to compile libstdc++, libgcc, libiberty, etc. I cannot find an easy way to do this. I had to modify gcc/Makefile.in for libgcc to compile, now it's complaining about libiberty, and I'm starting to dr...

Cross compiling GCC with DJGPP
Hello everyone, at work I finally received a new PC, powerful enought for compiling the GCC cross compilers I need. I have a fully working DJGPP enviroment and all packages have the latest versions. The operating system is Windows 98. Then I downloaded the GCC complete sources, the binutils and newlib. I unpacked the archives, I opened the DOS prompt, I launched BASH and I started compiling everything. My first targets are for ARM-LINUX-ELF, ARM-WINCE-PE and Hitachi H8300-HMS. I was able to compile Binutils successfully and after few tests I can say they are OK. Then I tried to compile GCC but here I failed. It *seems* that the compiler has been created correctly, but in reality the newly created CC1 says "unknown option" for all options received by GCC. It recognises the file name and few options (for example, it accepts '-g' and '--help' and few others). I can't understand the cause of the problem, because I think I configured it correcly. My steps are described here: 1) unpack the GCC source archive. The result is a directory called "gcc-3.4.2". 2) I created this directory: "gcc-3.4.2-arm-wince-pe" 3) I entered into previous directory and I typed the "configure" command. 4) then, I typed "make". This is the text I wrote: $ mkdir gcc-3.4.2-arm-wince-pe $ cd gcc-3.4.2-arm-wince-pe $ ../gcc-3.4.2/configure --srcdir=../gcc-3.4.2 --target=arm-elf \ --with-cpu=iwmmxt --with-newlib --disable-threads --disabl...

gcc compile / link questions
I compile and link Python extension modules using the script gcc -fPIC -g -I/usr/local/include/python2.3 \ -Wall -Wstrict-prototypes -c mymodule.c g++ -shared mymodule.o -L/usr/local/lib -o mymodule.so It works for me but it isn't pretty. Is there a better way to write it? Gcc finds all the libraries that need to be linked in. For example, "/usr/local/lib/python2.3/site-packages/numarray/libnumarray.so". How does gcc do this? I created a .so file "utilities.so" that contains some C functions that are called in mymodule.c but are not visible from Python. Both &...

Simple question regarding GCC compiler
Hi All, I notice that people are using the gcc compiler. Excuse my ignorance but are you using it as a cross compiler from a Unix/cygwin environment or natively on the Amiga? I notice that there is an old version of gcc (Amiga hosted) on the Aminet. Is there a site somewhere with prebuilt binaries for the amiga? Thanks, Shaun Shaun James <yibbidy@bigpond.net.au> wrote: > I notice that people are using the gcc compiler. Excuse my ignorance but > are you using it as a cross compiler from a Unix/cygwin environment or > natively on the Amiga? Both :) I ...

MCF5223x gcc cross compiler under Linux/x86_64
I'm looking for instructions on how to build a gcc based cross compiler for MCF5223x under Linux/x86_64 (gentoo in my case)? Thanks Petter -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? You might want to check out "crosstools" by Dan Kegel. It is a set of scripts that builds various revisions of gcc toolchains for various architectures. Even if it doesn't do exactly what you want, you could try following the scripts to see how it&#...

gcc cross compiling for the bsvc m68k emulator
Hi: I have been using the bsvc m68k emulator coding my programs in assembly (bsvc brings the 68kasm assembler with it). Now I would like to code in C and compile with gcc. I tried to build a gcc cross compiler using --target=mk68-srec flag when configuring, but it didn't work (the target isn't supported, but as far as I know bsvc, reads only Motorola S-Record binary format files). I have read on previuos posts that objcopy could be used to convert to srecord format, so my questions are: 1) Is there a way to make gcc generate srecord object files directly? (maybe...

Cross Compiling: Compatibility of the versions gcc and glibc for MPC8xx
I am buildinng a cross compiling toolchain # Host = i686, Redhat 9 # Target MPC8xx # binutils: 2.13 # gcc.95.3 # glibc 2.2.3 # Kernel 2.4.20-8 * I successfully build binutils and gcc with newlib and without headers. * I am now trying to build glibc I have the following errors: * The error: ../stdio.texi: 3269: First argument to cross-reference may not be empty ../stdio.texi: 3269: First argument to cross-reference may not be empty makeinfo.Removing output file '/usr/cross/builds/glibc-2.2.3/manual/libc,info' due to errors make[2] ***[libc.info] Error 2 make[1][ **...

GCC-4.7.1 cross-compiler RPMs
For the impatient ones just released GCC-4.7.1 cross-compiler RPM packages (32-bit only built in CentOS-5.8 i386 chroot under Fedora 17 x86_64) are on ftp.delorie.com ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-4.7.1/ No real testing done except from compiling trivial C++ program and running it under DOSBOX. So use at Your own risk. No native compiler yet. It will take much longer time to build rather than cross-compiler RPMs. Editing patch-set and uploading files took noticeably longer time rather than build itself. It needed about 22 min real time including native bootstrap on Linux (C, C++, Ada) and building cross-compiler with freshly built native compiler. Andris ...

cross compile,gcc make error, short of headers
Hello: Everyone! I do the cross compile for arm-linux 2.6.10, when i make arm-linux-gcc i get the following errors: In file included from /home/fanxin/software/gcc-3.4.2/gcc/tsystem.h:79, from /home/fanxin/software/gcc-3.4.2/gcc/crtstuff.c:62: /arm-linux/arm-linux/include/stdio.h:33:18: cstdio: =E6=B2=A1=E6=9C=89=E9=82=A3=E4=B8=AA=E6=96=87=E4=BB=B6=E6=88=96=E7=9B=AE=E5= =BD=95 In file included from /home/fanxin/software/gcc-3.4.2/gcc/tsystem.h:79, from /home/fanxin/software/gcc-3.4.2/gcc/crtstuff.c:62: /arm-linux/arm-linux/include/stdio.h:35: error: parse error before "std" In file included from /home/fanxin/software/gcc-3.4.2/gcc/crtstuff.c:62: /home/fanxin/software/gcc-3.4.2/gcc/tsystem.h:82:23: sys/types.h: =E6=B2=A1=E6=9C=89=E9=82=A3=E4=B8=AA=E6=96=87=E4=BB=B6=E6=88=96=E7=9B=AE=E5= =BD=95 In file included from /home/fanxin/software/gcc-3.4.2/gcc/tsystem.h:93, from /home/fanxin/software/gcc-3.4.2/gcc/crtstuff.c:62: /arm-linux/arm-linux/include/stdlib.h:33:19: cstdlib: =E6=B2=A1=E6=9C=89=E9=82=A3=E4=B8=AA=E6=96=87=E4=BB=B6=E6=88=96=E7=9B=AE=E5= =BD=95 In file included from /home/fanxin/software/gcc-3.4.2/gcc/tsystem.h:93, from /home/fanxin/software/gcc-3.4.2/gcc/crtstuff.c:62: /arm-linux/arm-linux/include/stdlib.h:35: error: parse error before "std" make[1]: *** [crtbegin.o] =E9=94=99=E8=AF=AF 1 make[1]: Leaving directory `/home/fanxin/build/gcc-core/gc...

Migration of GCC cross compiler to 3.4.6
Hello everyone, I am upgrading a cross compiler from 3.2 to 3.4.6 I had to change some of the TARGET description macros in target.h file for otherwise while building i am getting "attempt to use poisoned" errors Presently what is written in target.h is 1. #define CPP_PREDEFINES \ "-Dtargetname -D__targetname__ -Amachine=targetname" corresponding macro in 3.4.6 is "TARGET_CPU_CPP_BUILTINS" 2. #define CONST_COSTS(RTX, CODE, OUTER_CODE) \ case CONST_INT: \ return target_const_costs (RTX, OUTER_CODE); \ case CONST: \ return 5; \ case LABEL_REF: \ return 1; \ case SYMBOL_REF: \ return ((TARGET_SMALL_MODEL)? 2: 3); \ case CONST_DOUBLE: \ return 10; i dont know the corresponding macro in 3.4.6 3. #define ADDRESS_COST(RTX) 1 corresponding macro in 3.4.6 is "int TARGET_ADDRESS_COST (rtx address)" 4. #define RTX_COSTS(X, CODE, OUTER_CODE) \ case MULT: \ return COSTS_N_INSNS (2); \ case DIV: \ case UDIV: \ case MOD: \ case UMOD: \ return COSTS_N_INSNS (30); \ case FLOAT: \ case FIX: \ return COSTS_N_INSNS (100); corresponding macro in 3.4.6 is "bool TARGET_RTX_COSTS (rtx x, int code, int outer_code, int *total)" 5. #define ASM_GLOBALIZE_LABEL(STREAM,NAME) \ do \ ...

Setting up gcc as a cross compiler for mac os x on linux
I have a c program I'd like to compile for mac os x. Sadly I don't have a mac capable of running os x, but a mac user have told me that my program compilesand runs without problems on his machine. I've been cross compiling for windows using mingw (I'm using the latest ubuntu on a pc), but there seems to be no equivalent package for a cross compiler targeting mac os x, and nothing I've found on the web was very helpful thus far. Can anyone here guide me to an easy to follow tutorial/howto? Or suggest any other solution? ...

ANNOUNCE: SRPMS for setting up GCC as Linux to DJGPP cross-compiler
SRPMs for building GCC as Linux to DJGPP cross-compiler (versions 4.1.0 and 4.0.3) and installing it on Linux system are available. I have tested it on Fedora Core 4, but I hope that it should work also on other RPM based Linux distributions. Minor changes to spec files may however be required for other distributions. Files: ====== SRPM for installing djcrx204 CVS version: ftp://ftp.delorie.com/pub/djgpp/rpms/djcrx-2.04pre-4.src.rpm SRPM for building and installing cross-binutils (version 2.16.1) ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-binutils-2.16.1-3.src.rpm SRPM for building and installing GCC-4.1.0 as cross-compiler ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-4.1.0-2.src.rpm SRPM for building and installing GCC-4.0.3 as cross-compiler ftp://ftp.delorie.com/pub/djgpp/rpms/djcross-gcc-4.0.3-1.src.rpm Some notes: =========== You need one of files djcross-gcc-4.1.0-2.src.rpm and djcross-gcc-4.0.3-1.src.rpm, but not both. One needs Ada compile installed or spec file must be edited to remove Ada support. The same scripts from gcc410s2.zip and gcc403s2.zip are used to update original GCC sources. DJGPP source archives gcc410s.zip (or gcc403s.zip) are also generated while building cross-compiler. One can use these source files for building GCC as native compiler for DJGPP (This is how I'm getting GCC source archives for DJGPP) Links: ====== More information about GCC http://www.gcc.org My web page about DJGPP port of GCC: http://www.iki.fi/andr...

GCC-4.2.0 Linux to DJGPP cross-compiler
GCC-4.2.0 Linux to DJGPP cross-compiler SRPPM can be found at http://ap1.pp.fi/djgpp/gcc/4.2.0/gcc420.html I have tested it under Fedora Core 6. There is also binary RPM for Fedora Core 6 (at least as I saw it works also under Fedora 7). No native compiler for DJGPP yet (don't ask when it will be as I don't know) Andris PS. Thanks DJ for patch for fixing warnings about requested alignment being larger than one object file can handle. Andris Pavenis wrote: > GCC-4.2.0 Linux to DJGPP cross-compiler SRPPM can be found at > > http://ap1.pp.fi/djgpp/gcc/4.2.0/gcc420.html Now there is also packages of GCC-4.2.0 as native compiler for DJGPP (both v2.03r2 and v2.04pre). Andris PS: At your homepage the text tells "gcc410b.zip", but the download is correct. Bye Flo On Mon, 11 Jun 2007 05:53:36 +0200, Andris Pavenis <andris.pavenis@iki.fi> wrote: > Andris Pavenis wrote: >> GCC-4.2.0 Linux to DJGPP cross-compiler SRPPM can be found at >> http://ap1.pp.fi/djgpp/gcc/4.2.0/gcc420.html > > Now there is also packages of GCC-4.2.0 as native compiler for DJGPP > (both v2.03r2 and v2.04pre). > > Andris > -- Florian Xaver <http://www.flox.at.tf> oZone GUI, private homepage Dr-DOS <http://www.drdos.org> Florian Xaver wrote: > PS: At your homepage the text tells "gcc410b.zip", but the download is > correct. Typo fixed (both copies). Thanks! A question: Why are this new v...

[tao-users] Installation: Cross-compile problem building TAO on Solaris for VxWorks 5.5.1 (using cross-compiler ccmips)
This is a multi-part message in MIME format. ------_=_NextPart_001_01C976AF.0B363D8C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable ACE VERSION: ACE+TAO-5.6 (ACE 5.6, TAO 1.6) =20 HOST MACHINE and OPERATING SYSTEM: SunOS 5.9(Solaris) =20 TARGET MACHINE and OPERATING SYSTEM, if different from HOST: CPU=3DMIPS64, OS=3DVxWorks 5.5.1 =20 COMPILER NAME AND VERSION (AND PATCHLEVEL): HOST=3Dg++, TARGET=3Dccmips (cross-compiler) =20 THE $ACE_ROOT/ace/config.h FILE: HOST: "ace/config-sunos5.9.h" TARGET: "ace/config-vxworks5.x.h" =20 THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE: HOST:include $(ACE_ROOT)/include/makeinclude/platform_sunos5_g++.GNU static_libs_only=3D1 =20 TARGET: (please see content copied at the end of this e-mail) =20 CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features: NA =20 AREA/CLASS/EXAMPLE AFFECTED: TARGET compile failed =20 DOES THE PROBLEM AFFECT: COMPILATION? Yes LINKING? No On Unix systems, did you run make realclean first? Yes EXECUTION? No =20 SYNOPSIS: HOST build on Solaris using g++ successful with tao_idl, libACE.a, gperf. TARGET compile passed for several files(Local_Name_space.cpp, Name_Proxy, Name_RequestReply, Name_...

GCC 4.4.1 linux to mingw32 cross compiler gnat
Hello All, I'm struggling in getting my GCC 4.4.1 x86_64-pc-linux-gnu to i686-pc- mingw32 cross-compiler to work with Ada; First, I successfully installed and bootstrapped binutils, mingw- runtime and w32api and put those in my PATH I've compiled pristine FSF gcc sources with --enable-threads --enable- languages=c,c++,fortran,java,ada --enable-libada --enable-libgcj -- enable-libgomp --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --target=i686-pc-mingw32 --prefix=/usr/local/cross-tools/i686-pc- mingw32 After installing, i tired test.adb: with Ada.Text_IO; use Ada.Text_IO; Procedure test is Begin Put_Line("Hello world"); End test; i686-pc-mingw32-gnatmake gives me: i686-pc-mingw32-gcc -c test.adb i686-pc-mingw32-gnatmake: "test.ali" incompatible ALI file, please recompile i686-pc-mingw32-gnatmake: "test.adb" compilation error test.ali looks like this (first few lines) V "GNAT Lib v4.4" M P W=b P SS R nnnnnnnnnnnnnnnnnnnnnnvnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn U test%b test.adb 00d000d0 NE OO SU IL KM W ada%s ada.ads ada.ali W ada.text_io%s a-textio.adb a-textio.ali D ada.ads 20070406091342 9c7dd3ea D a-except.ads 20090409232307 b54b55de For comparison, the contents of the installed text_io.ali in the i686- pc-mingw32 dirs is i V "GNAT Lib v4.4" A -gnatwa A -O2 A -W A -Wall A ...

GCC-4.5.2 (currently Linux to DJGPP cross-compiler only)
This is a multi-part message in MIME format. --------------060903080604060202000501 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I'm attaching specs file for building gcc-4.5.2 as Linux to DJGPP cross-compiler (C, C++, Ada, Fortran, Objective-C, Objective-C++). One can use spectool to download required source packages: spectool -g -S djcross-gcc-4.5.spec When all stuff is put into correct places and all required other packages are installed rpmbuild --bb djcross-gcc-4.5.spec for RPM build SPECS directory is expected to build cross-compiler RPM packages. I have only tested building under Fedora 14 x86_64. Hopefully all should work also in other RPM based Linux distributions, but I have not tested it. Also there has been practically no testing for cross-compiler. I may not have time to give much assistance. Build process produces gcc452s.zip in the build directory. It may be possible to build also DJGPP binary packages from it. Some hacking may however be required. Andris PS. I'll hopefully upload source and binary RPM packages after I return next week to Finland. --------------060903080604060202000501 Content-Type: text/plain; name="djcross-gcc-4.5.spec" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="djcross-gcc-4.5.spec" # Specs file to building RPM of Linux to DJGPP cross-compiler # Tested on Fedora Core 4. One may need to modify this file # fo...

Newbie (Ptolemy II that is) Linux compile, cross platform, misc questions
Questions: 1) I cannot get a simple model working with a Linux compile, pre-made demos work fine but nothing new works unless I create them under hyvisual on a windows box and then transfer? 2). Why are there much more actors , particularly with respect to dynamical systems in the windows version than Linux? This seems like a great tool but so far is a bit confusing, is there a stand-alone hyvisual for UNIX? What is the difference between PTII and hyvisual? Can a hy visual file be simulated under vergil and vice versa? Thanks in Advance! ...

best 6502 cross compiler that runs Mac OS X
I have decided to drop my PC/Windows machine and go all Mac except for keeping one of them to run legacy stuff (ISA cards etc.). Mostly because I can't stand trying to do JAVA on the PC anymore. I do not have the Mac yet, though I will probably buy a new notebook or the mini mac if that matters. I have found almost all the software I need on the Mac, except a 6502 cross compiler, I prefer a command line type one. I searched macforge.net and could only find one application. My target machine is going to be the Apple IIgs so support for the 65c816 is needed. I "assume" you can get some form of cc65 somewhere to run on the Mac, but, I was looking more at a dedicated cross assembler then something that supported in-line code. I tried 6502.org and the selections were bare for Mac stuff. Are there any other websites where this kind of stuff is, I tried using Yahoo and didn't come up with much. "rebocardo" <rebocardo@treegone.com> writes: >I have found almost all the software I need on the Mac, except a 6502 cross >compiler, I prefer a command line type one. >I searched macforge.net and could only find one application. My target >machine is going to be the Apple IIgs so support for the 65c816 is needed. I >"assume" you can get some form of cc65 somewhere to run on the Mac, but, I >was looking more at a dedicated cross assembler then something that >supported in-line code. I would imagine that cc65 works just...

Cross compiler GCC-3.2.3 & gnat-5.0
Hi, I'm trying to cross compile a basic MIPS-GNAT compiler. Here is what I've done: tar -xjpf /usr/portage/distfiles/gcc-3.2.3.tar.bz2 cd gcc-3.2.3/gcc/ tar -xjpf /usr/portage/distfiles/gnat-5.0_pre20030822.tar.bz2 mv gnat-5.0_pre20030822 ada cd .. patch -p0 < gcc/ada/gcc-32.dif touch gcc/cstamp-h.in touch gcc/ada/[es]info.h touch gcc/ada/nmake.ad[bs] cd ../build-gcc-3.2.3 .../gcc-3.2.3/configure --prefix=/opt/mips-gnat/ --target=mips-elf --enable-languages=c,c++,ada --disable-nls 2>&1|tee conflog.txt make 2>&1|tee makelog.txt Basically, I've got a bit further, ...

Matlab Compiler cross compile to QNX
Hi, I am trying to generate C code from an M file; I'd like to compile this code on a QNX machine with GCC. I've successfully generated C code, but it seems like the matlab header files are windows specific. Is this possible? Would I have better like trying on linux, since Linux/QNX are both posix compliant? Thanks, Jack ...

building djgpp cross-compiler for gcc-2.95.2 on linux -- where to find build-djgpp.sh
Dear all, I was trying to build the djgpp cross compiler on linux ppc (debian woody). Having followed the instructions at http://users.erols.com/praccompsol/djgpp/linux-x-djgpp-revised.txt I could build gcc-3.2.2 and binutils-2.13.1. The problem is however with using the cross compiler to build C++ programs: even the simplest C++ programs crash. I did some searching and this looks like a known problem, but doesn't have a workaround yet. Hence I think switching to gcc-2.95.2 might help. I found at http://sources.redhat.com/ml/crossgcc/2000-q2/msg00255.html the following info: > My efforts toward building a linux-hosted msdosdjgpp targetted > crosscompiler were finally succesfull after I tried the build-djgpp.sh > script with > > djcrx202.zip > gcc-2.95.2.tar.gz > binutils-2.9.1.tar.gz However I cannot find the script build-djgpp.sh mentioned above. Can someone please give me a hint where I can get it? I also tried to apply the instructions for buiding gcc-3.2.2 to gcc-2.95.2. However I cannot find the script unpack-gcc.sh for gcc-2.95.2. I used the script distributed with gcc322s2.zip, and I could build the cross compiler. The "Hello, world!" example in C++ also works. However I am a little bit worried, because the unpack-gcc.sh script didn't apply any patch to the gcc sources, as shown in the log file (unpack-040523): ... /unpack-gcc.sh: cd: diffs/source: No such file or directory /unpack-gcc.sh: cd: diffs/build.gcc: No such file ...

Cross-compilation errors using 2.6.14 + arm-linux-gcc 3.4.1
Hi all I am trying to port 2.6.14 to my smdk2410-like custom board. So I downloaded cross toolchain arm-linux-gcc 3.4.1 on Handhelds.org's FTP and linux-2.6.14.tar.bz2 from the Kernel.org. Then I did following steps after I installed the cross toolchain: # tar jxf linux-2.6.14 # cd linux-2.6.14 # make mrproper # make ARCH=arm CROSS_COMPILE=arm-linux- menuconfig I chose "Load an Alternate Configuration File" and arch/arm/configs/ smdk2410_defconfig, then I saved & exited. #make However, two errors prompted: include/asm/processor.h:69: error: `CONFIG_X8...

Newbie question: What is the importance for a compiler to be able to compile itself?
HI all, What is the importance with a compiler that is able to compile itself? As far as I can see from my limited wisdom, it is not a requirement and perhaps does not even prove anything substantial about the compiler? I mean, a C/C++ compiler may be written in Java and so will at most be compiled by a Java compiler, and vice versa, right? Also, assemblers do not assemble themselves for the most part, and XSLT transformers do not transform themselves either. Just curius. On May 19, 1:01 pm, armen...@gmail.com wrote: > What is the importance with a compiler that is able to compile itself? Let us define the "intended application domain" of a language as the set of applications the language designer intended the language to be used for. Some languages include compilers as part of their intended application domain (for example C), and some do not (for example XSLT). If the intended application domain of a language X includes a compiler for language X, than it is a good demonstration and test to implement one. It demonstrates that the language can "eat its own dog food". It tests many language features such as reading and writing to secondary storage, string handling, complex data structures and intensive algorithms. -Andrew. On 2009-05-19, armencho@gmail.com <armencho@gmail.com> wrote: > What is the importance with a compiler that is able to compile itself? > As far as I can see from my limited wisdom, it is not a requirement > ...

Web resources about - gcc - ada cross compiler question - comp.lang.ada

Compiler - Wikipedia, the free encyclopedia
... , or external linking . The most common reason for wanting to transform source code is to create an executable program. The name "compiler" ...

Compiler - Wikipedia, the free encyclopedia
"Compile" and "compiling" redirect here. For the software company, see Compile (publisher) . For other uses, see Compilation . This article has ...

Facebook Open-Sources HipHop PHP Compiler Software
Earlier this morning, Facebook officially made their new PHP “compiler,” called HipHop, available as open source software. In the blog post by ...

Mobile C ( Offline Compiler ) on the App Store
Read reviews, compare customer ratings, see screenshots, and learn more about Mobile C ( Offline Compiler ). Download Mobile C ( Offline Compiler ...

Art in the Age of Matter Compilers
jurvetson posted a photo: Sheba may be the harbinger of art in the digital age — a mathematical sculptor with digital matter. She manipulates ...

Interpreters and Compilers (Bits and Bytes, Episode 6) - YouTube
This animation explains the difference between interpreters and compilers. It is from Episode 6 of the classic 1983 television series, Bits and ...

Typesafe cofounder forking Scala compiler
The main contributor to the Scala compiler, Paul Phillips, has announced on GitHub that he is forking the compiler to “fix some of the innumerable ...

Does Apple's new developer agreement ban Adobe's Flash-to-iPhone compiler?
Given that any kind of formal truce between Apple and Adobe was essentially blown out of the water by Steve Job's very public slating of Flash ...

Xcode 5.0 released with iOS 7 SDK, 64-bit app compiler
... has just pushed out Xcode 5.0 to the Mac App Store. The free app includes the SDKs for iOS 7 and Mountain Lion as well as the 64-bit app compiler: ...

NVIDIA and Continuum Analytics Announce NumbaPro, A Python CUDA Compiler
... are announcing that they are bringing Python support to CUDA. Specifically, Continuum Analytics’ will be introducing a new Python CUDA compiler, ...

Resources last updated: 3/23/2016 2:56:58 AM