This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


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

[Bug build/20721] Cross-compiling glibc with CFLAGS option -march fails


https://sourceware.org/bugzilla/show_bug.cgi?id=20721

--- Comment #3 from Nam-goo Lee <devnglee at gmail dot com> ---
Thanks for the replies.

Putting -march in CC instead of CFLAGS, as Joseph commented, did the job for
me.

The following command lines resulted in a successful build:

1) export CC="arm-linux-gnueabi-gcc -march=armv7-a"
2) CC=$CC ../glibc/configure --prefix=[some_directory_path]
--host=arm-linux-gnueabi
3) make

I've also attached config.log which Carlos asked for, just in case it might be
of some use. (the config.log that failed to build glibc) 
I've also attached config.log for the successful build.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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