"causes a section type conflict"

Ian Lance Taylor iant@google.com
Thu Mar 25 15:34:00 GMT 2010


Dukextra <mahuhta@gmail.com> writes:

> Now I have new problem. How I can make symbols in linker script?
> I want to list many files in one symbol like this:
>
>
> __MY_OBJS = my_file1.o my_file2.o my_file3.o

The linker script doesn't have any feature like this.  You are
permitted to use wildcards, but there is no way to name a list of
files.  Some people do this kind of thing by applying a preprocessor
to the linker script; it can often be as simple as sed.

Ian



More information about the Gcc-help mailing list