* compiling withoug glibc
@ 2007-03-12 4:29 David H. Lynch Jr
2007-03-12 6:42 ` Grant Likely
2007-03-12 6:42 ` Benjamin Krill
0 siblings, 2 replies; 3+ messages in thread
From: David H. Lynch Jr @ 2007-03-12 4:29 UTC (permalink / raw)
To: linuxppc-embedded
I have several projects that need to be built using GCC but
absolutely no external libraries, headers etc.
not glibc, not uClibc, nothing.
I also need to do this under both windows and Linux.
I have been somewhat successful by renaming directories inside the
crosscompiler subdirectory so that gcc, ... can't find any standard
libraries etc.
But I can not get this to work uniformly accross platforms, and I
can not trivially reverse it when I do need glibc.
I have the vaguest clue that doing this has something to do with
triggering gcc to run through different peices of the "specs" file,
but what I can find of documentation is opaque too me.
A clue would be greatly appreciated.
--
Dave Lynch DLA Systems
Software Development: Embedded Linux
717.627.3770 dhlii@dlasys.net http://www.dlasys.net
fax: 1.253.369.9244 Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too numerous to list.
"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: compiling withoug glibc
2007-03-12 4:29 compiling withoug glibc David H. Lynch Jr
@ 2007-03-12 6:42 ` Grant Likely
2007-03-12 6:42 ` Benjamin Krill
1 sibling, 0 replies; 3+ messages in thread
From: Grant Likely @ 2007-03-12 6:42 UTC (permalink / raw)
To: David H. Lynch Jr; +Cc: linuxppc-embedded
On 3/11/07, David H. Lynch Jr <dhlii@comcast.net> wrote:
>
> I have several projects that need to be built using GCC but
> absolutely no external libraries, headers etc.
> not glibc, not uClibc, nothing.
David,
You should probably post this question to the crossgcc mailing list:
mailto:crossgcc@sources.redhat.com
Cheers,
g.
--
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: compiling withoug glibc
2007-03-12 4:29 compiling withoug glibc David H. Lynch Jr
2007-03-12 6:42 ` Grant Likely
@ 2007-03-12 6:42 ` Benjamin Krill
1 sibling, 0 replies; 3+ messages in thread
From: Benjamin Krill @ 2007-03-12 6:42 UTC (permalink / raw)
To: David H. Lynch Jr; +Cc: linuxppc-embedded
Hey,
did you try the options "-nostdlib -nostdinc"?
cheers
ben
* David H. Lynch Jr | 2007-03-11 23:29:35 [-0500]:
>
> I have several projects that need to be built using GCC but
>absolutely no external libraries, headers etc.
> not glibc, not uClibc, nothing.
>
> I also need to do this under both windows and Linux.
>
> I have been somewhat successful by renaming directories inside the
>crosscompiler subdirectory so that gcc, ... can't find any standard
>libraries etc.
>
> But I can not get this to work uniformly accross platforms, and I
>can not trivially reverse it when I do need glibc.
>
> I have the vaguest clue that doing this has something to do with
>triggering gcc to run through different peices of the "specs" file,
> but what I can find of documentation is opaque too me.
>
> A clue would be greatly appreciated.
>
>
>
>
>
>--
>Dave Lynch DLA Systems
>Software Development: Embedded Linux
>717.627.3770 dhlii@dlasys.net http://www.dlasys.net
>fax: 1.253.369.9244 Cell: 1.717.587.7774
>Over 25 years' experience in platforms, languages, and technologies too numerous to list.
>
>"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
>Albert Einstein
>
>_______________________________________________
>Linuxppc-embedded mailing list
>Linuxppc-embedded@ozlabs.org
>https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
--
[ Benjamin Krill ][ ben(@)codiert(.)org ][ http://codiert.org ]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-03-12 7:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-12 4:29 compiling withoug glibc David H. Lynch Jr
2007-03-12 6:42 ` Grant Likely
2007-03-12 6:42 ` Benjamin Krill
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.