Problems about CROSSTOOL for ARM architecture on Linux Ubuntu
Sat May 30 12:07:00 GMT 2009
> ... working on a workstation that runs an Ubuntu 8.10. I
> was trying to use your crosstool for ARM architecture (ARM9), but it’s
> presenting some problems in the compilation process.
> $ sh demo-arm.sh
> ... /opt/crosstool/build/arm-linux/gcc-3.4.5-glibc-2.3.6/gcc-3.4.5/gcc/collect2.c
> -o collect2.o
> In function open:
> inlined from collect_execute at
> /usr/include/bits/fcntl2.h:51: error: call to __open_missing_mode
> declared with attribute error: open with O_CREAT in second argument needs 3
I guess you'd need to drop a patch into patches/gcc-3.4.5 containing
something like the patch in
> I clean the line 1537 but the file returns without modifications!
That's because when you rerun demo.sh, it unpacks the source
and applies all patches again, overwriting any changes you made.
That's why you have to put a patch into the patches/gcc-3.4.5 directory
where it can be picked up by the script.
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc