summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5ade385)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1307
4a8a32a2-be11-0410-ad9d-
d568d2c75423
{ 'Y', NULL, "use -I instead" }
};
{ 'Y', NULL, "use -I instead" }
};
+/** List of all default constant macros.
+ */
static const char *_baseValues[] = {
static const char *_baseValues[] = {
- "cpp", "{bindir}/sdcpp",
+ "cpp", "{bindir}{sep}sdcpp",
+ /* Path seperator character */
+ "sep", DIR_SEPARATOR_STRING,
buildCmdLine2 (buffer, port->linker.mcmd);
}
buildCmdLine2 (buffer, port->linker.mcmd);
}
{
if (options.nostdlib == FALSE)
{
{
if (options.nostdlib == FALSE)
{
- setMainValue ("z80libspec", "-k{libdir}/{port} -l{port}.lib");
- setMainValue ("z80crt0", "{libdir}/{port}/crt0{objext}");
+ setMainValue ("z80libspec", "-k{libdir}{sep}{port} -l{port}.lib");
+ setMainValue ("z80crt0", "{libdir}{sep}{port}{sep}crt0{objext}");
- "{bindir}/link-{port} -n -c -- {z80bases} -m -j" \
+ "{bindir}{sep}link-{port} -n -c -- {z80bases} -m -j" \
" {z80libspec}" \
" {z80extralibfiles} {z80extralibpaths}" \
" {z80outputtypeflag} {srcfilename}{z80outext}" \
" {z80libspec}" \
" {z80extralibfiles} {z80extralibpaths}" \
" {z80outputtypeflag} {srcfilename}{z80outext}" \
" {z80extraobj}"
#define ASMCMD \
" {z80extraobj}"
#define ASMCMD \
- "{bindir}/as-{port} -plosgff {srcfilename}{objext} {srcfilename}{asmext}"
+ "{bindir}{sep}as-{port} -plosgff {srcfilename}{objext} {srcfilename}{asmext}"
/* Globals */
PORT z80_port =
/* Globals */
PORT z80_port =