* [U-Boot-Users] Compilation Error
@ 2006-08-08 7:25 Ajay Jain
2006-08-08 12:09 ` Paolo Broggini
2006-08-08 16:21 ` Wolfgang Denk
0 siblings, 2 replies; 5+ messages in thread
From: Ajay Jain @ 2006-08-08 7:25 UTC (permalink / raw)
To: u-boot
Hi,
I am taking u-boot to our own arm-based board. Prior to porting, I was
planning to sanitize my tool-chain and I picked up the following test
case.
U-boot version: 1.1.4
Target: arm
GCC: 3.4.1
Steps:
make mrproper
make lpd7a400_config
make dep
arm-linux-gcc -M -g -Os -fno-strict-aliasing -fno-common
-ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0xc1fc0000
-I/home/ajain/u-boot-1.1.4/include -fno-builtin -ffreestanding
-nostdinc -isystem
/tools/gcc/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/include -pipe
-DCONFIG_ARM -D__ARM__ -march=armv4 -mabi=apcs-gnu -Wall
-Wstrict-prototypes cache_8xx.S cache.c codec.c cpu.c dsp.c ether.c
i2c.c memory.c post.c rtc.c spr.c sysmon.c tests.c uart.c usb.c
watchdog.c > .depend
cc1: error: invalid option `abi=apcs-gnu'
cc1: error: invalid option `abi=apcs-gnu'
As I understand, GCC does not support 'abi' option for arm. Where am I wrong?
Thanks & Regards,
Ajay
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] Compilation Error
2006-08-08 7:25 [U-Boot-Users] Compilation Error Ajay Jain
@ 2006-08-08 12:09 ` Paolo Broggini
2006-08-08 16:21 ` Wolfgang Denk
1 sibling, 0 replies; 5+ messages in thread
From: Paolo Broggini @ 2006-08-08 12:09 UTC (permalink / raw)
To: u-boot
Ajay Jain ha scritto:
> cc1: error: invalid option `abi=apcs-gnu'
>
> As I understand, GCC does not support 'abi' option for arm. Where am I wrong?
>
See the following thread http://sourceforge.net/mailarchive/message.php?msg_id=13321341
-Paolo
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] Compilation Error
2006-08-08 7:25 [U-Boot-Users] Compilation Error Ajay Jain
2006-08-08 12:09 ` Paolo Broggini
@ 2006-08-08 16:21 ` Wolfgang Denk
1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2006-08-08 16:21 UTC (permalink / raw)
To: u-boot
In message <b92b327b0608080025h30f175b0i5bc3ae7c51a7d0d1@mail.gmail.com> you wrote:
>
> U-boot version: 1.1.4
...
> As I understand, GCC does not support 'abi' option for arm. Where am I wrong?
Please use current code (top of git tree).
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If you want strict real-time behavior, run in the real time schedu-
ling class. But there are no seatbelts or airbags; main(){for(;;);}
can hard hang your system. -- Bart Smaalders
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] Compilation error
@ 2007-11-21 22:48 Hamid Khalessi
2007-11-21 22:55 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: Hamid Khalessi @ 2007-11-21 22:48 UTC (permalink / raw)
To: u-boot
Hi,
In the process of compiling the u-boot-1.1.6 for MPC8541cds .. i am getting the following error;
Any help is appreciated
KH
---------------------------------------------------------------------------------
make[1]: Leaving directory `/opt/u-boot-1.1.6/common'
powerpc-linux-gcc: CROSS_COMPILE variable is not set or invalid
dirname: missing operand
Try `dirname --help' for more information.
UNDEF_SYM=`powerpc-linux-objdump -x lib_generic/libgeneric.a board/cds/mpc8541cds/libmpc8541cds.a cpu/mpc85xx/libmpc85xx.a lib_ppc/libppc.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/nand/libnand.a drivers/nand_legacy/libnand_legacy.a drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu.a common/libcommon.a |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
cd /opt/u-boot-1.1.6 && powerpc-linux-ld -Bstatic -T /opt/u-boot-1.1.6/board/cds/mpc8541cds/u-boot.lds -Ttext 0xfff80000 -n $UNDEF_SYM cpu/mpc85xx/start.o cpu/mpc85xx/resetvec.o \
--start-group lib_generic/libgeneric.a board/cds/mpc8541cds/libmpc8541cds.a cpu/mpc85xx/libmpc85xx.a lib_ppc/libppc.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/nand/libnand.a drivers/nand_legacy/libnand_legacy.a drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu.a common/libcommon.a --end-group -L -lgcc \
-Map u-boot.map -o u-boot
powerpc-linux-objcopy --gap-fill=0xff -O srec u-boot u-boot.srec
powerpc-linux-objcopy --gap-fill=0xff -O binary u-boot u-boot.bin
---------------------------------
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071121/88eb5090/attachment.htm
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] Compilation error
2007-11-21 22:48 [U-Boot-Users] Compilation error Hamid Khalessi
@ 2007-11-21 22:55 ` Wolfgang Denk
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2007-11-21 22:55 UTC (permalink / raw)
To: u-boot
In message <386725.34064.qm@web53109.mail.re2.yahoo.com> you wrote:
>
> In the process of compiling the u-boot-1.1.6 for MPC8541cds .. i am getting the following error;
Is it any specific archeological interest of you to use such an old
version? Try using current code, i. e. version 1.3.0 instead.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A failure will not appear until a unit has passed final inspection.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-11-21 22:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-08 7:25 [U-Boot-Users] Compilation Error Ajay Jain
2006-08-08 12:09 ` Paolo Broggini
2006-08-08 16:21 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2007-11-21 22:48 [U-Boot-Users] Compilation error Hamid Khalessi
2007-11-21 22:55 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.