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]

Re: ldscripts


ok, sometime in life it's just a whitespace! Now it
works! Thank you for this wonderfull service at www.arm.com!!



Jens-Christian Lache
Technische Universitaet Hamburg-Harburg
www.tu-harburg.de/~sejl1601
Mail:
lache@tu-harburg.de
lache@ngi.de
Tel.: 
+0491759610756

On Tue, 14 Nov 2000, Richard Earnshaw wrote:

> 
> 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]