First time user - basic question
Rahul Gauba
rahul_gauba@yahoo.com
Mon Mar 14 03:24:00 GMT 2011
Hi! Jim,
Not sure about the ct-ng project. But if you plan to use compiler,
libraries, include paths from the cross-chain tool, you need to:
1 -- Modify the environment variable PATH such that gcc is invoked from the
cross-chain.
2 -- You should be using the shared libraries from cross-chain tool, so you need
to specify using -L<cross-chain-path> when linking. Your cross-chain build area
should have lib and usr/lib directories. So these need to specified with -L.
3 -- Also the include path for C/C++ headers from the cross-chain should be
mentioned using -I<cross-chain include directories>.
Thanks,
Rahul
----- Original Message ----
From: Jim Norton <jimnorton@jimnorton.org>
To: crossgcc@sourceware.org
Sent: Mon, March 14, 2011 3:23:06 AM
Subject: First time user - basic question
Hello,
I've googled around and I'm still a bit unsure about how to use my cross-chain
tool when it's done being built.
I'm in the process of running ct-ng build. When that is finished, what are the
steps to actually compile a project?
I read the docs/5 using.txt file. It is really as simple as adding the cross
compiler bin directory to the path and then setting CROSS_COMPILE env variable?
When those two things are done do I simply invoke gcc or cc as normal and/or use
makefiles as normal? And is it the CROSS_COMPILE env variable that tells gcc/cc
what compiler to actually use?
Sorry if this seems really basic....
Thank you,
Jim
--
For unsubscribe information see http://sourceware.org/lists.html#faq
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list