This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more infromation.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
lache@tu-harburg.de said: > It is still a bit clumsy to make first object files and than link them > by hand. I tried to use > test :hello.world.c > $(CC) -g -v $(LIBDIRS) $(INCLUDEDIRS) -o hello.world.test \ > -Wl, -T$(LINKER_SCRIPT) hello.world.c I think there mustn't be any white space between -Wl, and -T... Try: $(CC) -g -v $(LIBDIRS) $(INCLUDEDIRS) -o hello.world.test \ -Wl,-T$(LINKER_SCRIPT) hello.world.c Or, if that doesn't work: $(CC) -g -v $(LIBDIRS) $(INCLUDEDIRS) -o hello.world.test \ "-Wl, -T$(LINKER_SCRIPT)" hello.world.c Richard. ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |