All of lore.kernel.org
 help / color / mirror / Atom feed
* [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
@ 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

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.