This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crosstool to MPC5200


You'll find a few programs won't compile because of this problem.
See
http://gcc.gnu.org/PR22541
patches/gcc-4.0.1/fix-fixincl.patch

Alan Carvalho wrote:
Dan,
thanks for crosstool it is very nice (in portuguese "isto é uma mão na roda").


Here compiled fine, just a silly error at end:

+ cd /comum/involve/lite5200/crosstool/crosstool-0.38
+ sh testhello.sh
+ cd /opt/crosstool/gcc-3.4.1-glibc-2.3.3/powerpc-860-linux-gnu
+ test '!' -d tmp
+ mkdir tmp
+ cd tmp
+ test x '!=' x
+ cat
+ /opt/crosstool/gcc-3.4.1-glibc-2.3.3/powerpc-860-linux-gnu/bin/powerpc-860-linux-gnu-gcc -static hello.c -o powerpc-860-linux-gnu-hello-static
hello.c: In function `main':
hello.c:4: error: `PATH_MAX' undeclared (first use in this function)
hello.c:4: error: (Each undeclared identifier is reported only once
hello.c:4: error: for each function it appears in.)


But I ignored it, and create my really "hello world" and tested it, all run fine.

Cheers,

Alan

On 11/11/05, *Alan Carvalho* <acassis@gmail.com <mailto:acassis@gmail.com>> wrote:

    Dan,
    thank you!

Alan


On 11/11/05, *Dan Kegel* <dank@kegel.com <mailto:dank@kegel.com>> wrote:

Alan Carvalho wrote:
 Hi Dan,
 sorry do ask directly to developer.

please ask the crossgcc@sources.redhat.com <mailto:crossgcc@sources.redhat.com> mailing list


-- What does Linux need to succeed on the desktop? See http://kegel.com/linux/comfort





--
What does Linux need to succeed on the desktop?  See http://kegel.com/linux/comfort

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]