This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


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: Determine target/template at compile time


In gmane.os.ecos.general, you wrote:

>>> Is there a standard way to determine the target/template at
>>> compile time?

>> Don't think so.

> Do I have to create a whole new package with its own directory
> and .cdl file just to define a pre-processor symbol to tell me
> a particular target has been selected?

After looking at things from a different angle, I've decided I
need a separate package anyway, so the code that I was messing
with no longer needs to know the target, just wheter this new
package is included or not.

So, in the words of Emily Latella, "never mind."

-- 
Grant Edwards                   grante             Yow!  I'm having BEAUTIFUL
                                  at               THOUGHTS about the INSIPID
                               visi.com            WIVES of smug and wealthy
                                                   CORPORATE LAWYERS...

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]