This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

gdb problem


Hello

The 2nd gdb problem I have and which I can't fix is weird:

(build.log)
x86_64-build_apple-darwin10.8.0-gcc ../objects/tic.o
../objects/dump_entry.o -Wl,-search_paths_first -I../progs
-I/Volumes/Crosstools/crosstool-ng/.build/src/ncurses-5.7/progs
-DHAVE_CONFIG_H
-I/Volumes/Crosstools/crosstool-ng/.build/src/ncurses-5.7/progs/../include
-I. -I../include  -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28
-DNDEBUG -O2 --param max-inline-insns-single=1200  -no-cpp-precomp
-static -L../lib -lncurses -L../lib -lncurses -dynamic   -o tic
[ALL  ]    ld: library not found for -lcrt0.o
[ALL  ]    collect2: ld returned 1 exit status
[ERROR]    make[1]: *** [tic] Error 1
[ERROR]
[ERROR]    >>  Build failed in step 'Installing native gdb'
[ERROR]    >>
[ERROR]    >>  Error happened in: CT_DoExecLog[scripts/functions]

I don't understand why gcc fails with this error now, especially on
tic (part of ncurses) while I asked for a static native gdb.

It is as if it was mistakenly using the host compiler with the target
parameters.

-- 
vCard: http://guylhem.tel

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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