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]

Re: Using gcc without C librairies


Hello,

> Usually, we don not eed to link C libraries to our target applications.
> Does gcc allow us to use such a configuration?
> If it does not, do we have to downsize ourself a usual library

The linux kernel and the u-boot bootloader are a few examples that are
compiled that way also, thus not linked to any C-libraries, So, to me
it seems possible. Maybe you can look at how those make-environments
look like?
So, even if you have complete toolchain, it does not mean that it is used...

Remy

2007/12/7, Juju Mimi <migounet73@gmail.com>:
> Hi,
>
> I would like to use gcc to cross-compile C language applications to
> bare metal MIPS, ARM or PPC targets.
> Those applications does not use any function provided with the usual C
> libraries (no printf, nor memcpy etc...).
> We just wanna use the cross-compiler as a single C syntax interpreter.
> In case the compiler meets a call to an undefined function, we could
> assume it just warns us.
> Usually, we don not eed to link C libraries to our target applications.
> Does gcc allow us to use such a configuration?
> If it does not, do we have to downsize ourself a usual library
> (assuming it is permitted to modify it)?
>
> thk u all,
>
> julian
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>
>

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