Re: help in linking standard libraries please

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tamamontu M <tamamontu@xxxxxxxxxxxx> writes:

> This file has got a option -r "$(CC) $(CFLAGS) -o mainrom.o
>  $(OBJ_y)"
>  
>  This option is causing the problem. If i take out this
>  option i dont get a segfault linking error. I am not a
>  advance c user.
>  
>  If i take -r option along with -nostdlib options. I can compile and link the source code but itis not executing. I searched for this
>  option on google and its something to do partial linking.
>  Couldn't get more info on this option. 

The details are really going to depend on the target board you are
using.  Your Makefile is using a bunch of target board specific options.
I have no way to know whether they are correct for your target board or
not.  They appear to be aimed at building a boot loader rather than,
say, a program which is run after the GNU/Linux system has booted.

If the linker segfaults, then it sounds like there is a bug in the
linker.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux