public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* makefiles
@ 2002-11-14  3:28 EPoersel
  2002-11-14  5:59 ` makefiles Buddy Lott
  0 siblings, 1 reply; 4+ messages in thread
From: EPoersel @ 2002-11-14  3:28 UTC (permalink / raw)
  To: gcc-help

Hi all!

After a few days trying to create the gcc compiler for my m68k target, it
works now. Now i have a problem to compile something.
At the moment we use the diab data compiler for compiling our projects. I
changed a makefile from a present project  that it should work with gcc,
but unfortunatley it doesn`t work.
The problem is that i cannot run gcc under windows and so i need a
possibility to use my makefile under cygwin. But the make from cygwin
doesn`t understood
my makefile. My question is now, how can i gerenate makefiles for the
cygwin-make? Or is there a possibility to use my present makefile under
windows?

My configuration is:
target = m68k-elf
host = i686 pc (WinNT4.0)
gcc-version = 3.2.2
binutils-version = 20021107-2
newlib-version = 1.10.0

Thanks a lot for your help!

Eric Pörsel
Atronic International GmbH - Germany

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: makefiles
  2002-11-14  3:28 makefiles EPoersel
@ 2002-11-14  5:59 ` Buddy Lott
  0 siblings, 0 replies; 4+ messages in thread
From: Buddy Lott @ 2002-11-14  5:59 UTC (permalink / raw)
  To: gcc-help


You can run make and diab (sort of) from dos. The biggest problem that
comes out is the dos command line length limitation. I have yet to find
a solution I totally like for this problem. The one I am currently using
involves redirecting the commands to a batch file and then running the
batch file.

If you are getting a lot of error code 1's, then you are running into
the command line length problem. Using GCC you should not run into this.
Using diab you will run into this (at least I did).

If it is syntax problems, then you would do better to post the make file
(or the errors) so that people can see the errors and offer specific
advice.

You can get the Make for DOS by going to
http://www.delorie.com/djgpp/zip-picker.html. I wanted all of DJGPP but
you can actually download just the make files by click on the "Show me"
button at the bottom and downloading mak3791b.zip



> -----Original Message-----
> From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org]
On
> Behalf Of EPoersel@atronic.com
> Sent: Thursday, November 14, 2002 6:30 AM
> To: gcc-help@gcc.gnu.org
> Subject: makefiles
> 
> Hi all!
> 
> After a few days trying to create the gcc compiler for my m68k target,
it
> works now. Now i have a problem to compile something.
> At the moment we use the diab data compiler for compiling our
projects. I
> changed a makefile from a present project  that it should work with
gcc,
> but unfortunatley it doesn`t work.
> The problem is that i cannot run gcc under windows and so i need a
> possibility to use my makefile under cygwin. But the make from cygwin
> doesn`t understood
> my makefile. My question is now, how can i gerenate makefiles for the
> cygwin-make? Or is there a possibility to use my present makefile
under
> windows?
> 
> My configuration is:
> target = m68k-elf
> host = i686 pc (WinNT4.0)
> gcc-version = 3.2.2
> binutils-version = 20021107-2
> newlib-version = 1.10.0
> 
> Thanks a lot for your help!
> 
> Eric Pörsel
> Atronic International GmbH - Germany

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Makefiles
  2000-08-26  1:59 Makefiles lauris
@ 2000-08-26  5:21 ` Russ.Shaw
  0 siblings, 0 replies; 4+ messages in thread
From: Russ.Shaw @ 2000-08-26  5:21 UTC (permalink / raw)
  To: lauris; +Cc: gcc-help

It means all the targets are upto date, so there's nothing to make.


lauris@inbox.lv wrote:
> 
> I have makefile (c:\atlantis\makefile):
> ----------------------
> CFLAGS = -g -I. -I..
> 
> RULESET_OBJECTS = extra.o rules.o skillshows.o specials.o spells.o world.o
> 
> ENGINE_OBJECTS = alist.o aregion.o army.o astring.o battle.o faction.o \
>   fileio.o game.o gamedefs.o gameio.o items.o main.o \
>   market.o monthorders.o npc.o object.o orders.o \
>   parseorders.o production.o runorders.o shields.o skills.o \
>   unit.o
> 
> OBJECTS = $(patsubst %.o,obj/%.o,$(RULESET_OBJECTS)) \
>   $(patsubst %.o,obj/%.o,$(ENGINE_OBJECTS)) \
>   obj/i_rand.o
> 
> game31: $(OBJECTS)
>         g++ $(CFLAGS) -o standard $(OBJECTS)
> 
> clean:
>         rm -f $(OBJECTS)
>         rm -f standard
> 
> $(patsubst %.o,obj/%.o,$(RULESET_OBJECTS)): obj/%.o: %.cpp
>         g++ $(CFLAGS) -c -o $@ $<
> 
> $(patsubst %.o,obj/%.o,$(ENGINE_OBJECTS)): obj/%.o: ../%.cpp
>         g++ $(CFLAGS) -c -o $@ $<
> 
> obj/i_rand.o: ../i_rand.c
>         gcc $(CFLAGS) -c -o $@ $<
> --------------------------
> when compiling with gcc 2.6.3
> make says:
> make.exe: nothing to be done for 'C:\atlantis\makefile'
> Where is the problem, please help me!
> Lauris
> 
> -- Tavs bezmaksas pasts Inbox.lv

-- 
*******************************************
*   Russell Shaw, B.Eng, M.Eng(Research)  *
*      email: russell@webaxs.net          *
*      Victoria, Australia                *
*******************************************

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Makefiles
@ 2000-08-26  1:59 lauris
  2000-08-26  5:21 ` Makefiles Russ.Shaw
  0 siblings, 1 reply; 4+ messages in thread
From: lauris @ 2000-08-26  1:59 UTC (permalink / raw)
  To: gcc-help

I have makefile (c:\atlantis\makefile):
----------------------
CFLAGS = -g -I. -I..

RULESET_OBJECTS = extra.o rules.o skillshows.o specials.o spells.o world.o

ENGINE_OBJECTS = alist.o aregion.o army.o astring.o battle.o faction.o \
  fileio.o game.o gamedefs.o gameio.o items.o main.o \
  market.o monthorders.o npc.o object.o orders.o \
  parseorders.o production.o runorders.o shields.o skills.o \
  unit.o

OBJECTS = $(patsubst %.o,obj/%.o,$(RULESET_OBJECTS)) \
  $(patsubst %.o,obj/%.o,$(ENGINE_OBJECTS)) \
  obj/i_rand.o

game31: $(OBJECTS)
	g++ $(CFLAGS) -o standard $(OBJECTS)

clean:
	rm -f $(OBJECTS)
	rm -f standard

$(patsubst %.o,obj/%.o,$(RULESET_OBJECTS)): obj/%.o: %.cpp
	g++ $(CFLAGS) -c -o $@ $<

$(patsubst %.o,obj/%.o,$(ENGINE_OBJECTS)): obj/%.o: ../%.cpp
	g++ $(CFLAGS) -c -o $@ $<

obj/i_rand.o: ../i_rand.c
	gcc $(CFLAGS) -c -o $@ $<
--------------------------
when compiling with gcc 2.6.3
make says:
make.exe: nothing to be done for 'C:\atlantis\makefile'
Where is the problem, please help me!
Lauris


-- Tavs bezmaksas pasts Inbox.lv

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-11-14 13:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-14  3:28 makefiles EPoersel
2002-11-14  5:59 ` makefiles Buddy Lott
  -- strict thread matches above, loose matches on Subject: below --
2000-08-26  1:59 Makefiles lauris
2000-08-26  5:21 ` Makefiles Russ.Shaw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).