compiler error with i486-elf-gcc

25 views
Skip to first unread message

Foximulder

unread,
Jul 1, 2011, 11:31:10 AM7/1/11
to Embox
Hi,

now i have i486-elf compiler, but...

gcc -E -Wp, -P -undef -nostdinc -iquote ./conf/ -iquote ./conf -
D__CONFIG_LDS_H__ \
-MMD -MT build/base/codegen/config.lds.h -MF build/base/codegen/
config.lds.h.d ./mk/confmacro.S \
| sed -e 's/$N/\n/g' -e 's/$define/#define/g' > build/base/codegen/
config.lds.h

i486-elf-gcc -E -Wp, -P -undef -D__EMBOX__ -D"__impl(path)=<impl/
path>" -D"__impl_x(path)=<../path>" -imacros ./build/base/codegen/
config.h -I./src/include -I./src/arch/x86/include -nostdinc -MMD -MP
\
-imacros ./build/base/codegen/config.lds.h -MMD -MT build/
base/obj/embox.lds -MF build/base/obj/embox.lds.d -o build/base/obj/
embox.lds src/arch/x86/embox.lds.S

cc1: error: too many filenames given. Type cc1 --help for usage

Is ist correct assemble embox.lds.S and output to embox.lds?

Something wrong in the makefiles?
( I have made an update of the svn last hour...)

:)
Gerald

Anton Bondarev

unread,
Jul 1, 2011, 3:30:59 PM7/1/11
to Embox
Hello.

What is your host OS where you build the project?
Have you simple gcc compiler?
What template are you using?

Anton

Foximulder

unread,
Jul 2, 2011, 3:10:59 AM7/2/11
to Embox
Windows7(64),

I have cross compiled the i486-elf compiler Version: i486-elf-gcc
build 4.6.0,

I am using the bifferboard template...

make PROJECT=x86 PROFILE=bifferboard
make all

Gerald
> > Gerald- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -

Anton Kozlov

unread,
Jul 2, 2011, 4:49:15 AM7/2/11
to em...@googlegroups.com
Hi!

Strict earlier than 4.6.0 is known to work. And 4.6.0 is seems to not =(

I've added issue. So, come back in a few days, we'll try to fix it. Generally, using issue tracker is faster to respond.

2011/7/2 Foximulder <geral...@aon.at>

Anton Kozlov

unread,
Jul 4, 2011, 3:17:47 AM7/4/11
to em...@googlegroups.com
Hi.

Fixed in rev 2765

2011/7/2 Anton Kozlov <drako...@gmail.com>
Reply all
Reply to author
Forward
0 new messages