| delorie.com/archives/browse.cgi | search |
| From: | "Ya'qub" <rg3 AT ic DOT ac DOT uk> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Using different compiler in DJGPP make utility |
| Date: | Thu, 17 Jun 1999 11:43:52 +0100 |
| Lines: | 52 |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 5.00.2014.211 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2014.211 |
| NNTP-Posting-Host: | 193.123.236.199 |
| Message-ID: | <3768d057.0@nnrp1.news.uk.psi.net> |
| X-Trace: | 17 Jun 1999 11:39:19 GMT, 193.123.236.199 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Greetings,
I'm reposting this since I did not see any reply to my first post.
I have a makefile which compiles my application for the PC correctly.
However, I also want to build the application to run on the SHARC DSP from
Analog Devices. In my makefile I've replaced the line that says 'cc=gcc' by
'cc=g21k' where g21k is AD C compiler for the SHARC processor. When I now
run my makefile I get the following:
--------
C:\apps\arch\sharc>make
c:/djgpp/bin/make.exe app1 "FRC=force_rebuild"
make.exe[1]: Entering directory `c:/apps/arch/sharc'
c:/djgpp/bin/make.exe mostlyclean
make.exe[2]: Entering directory `c:/apps/arch/sharc'
erase *.o
File not found
make.exe[2]: Leaving directory `c:/apps/arch/sharc'
c:/djgpp/bin/make.exe app1.exe "cflags=-DSWITCH1 -DSWITCH2
@includes -DSWITCH3" "frc="
make.exe[2]: Entering directory `c:/apps/arch/sharc'
g21k -DSWITCH1 -DSWITCH2 @includes -DSWITCH3 -c ../../app1/src/file1.
c
DOS/16M error: [32] DPMI host error (possibly insufficient memory)
make.exe[2]: *** [file1.o] Error 1
make.exe[2]: Leaving directory `c:/apps/arch/sharc'
make.exe[1]: *** [app1] Error 2
make.exe[1]: Leaving directory `c:/apps/arch/sharc'
make.exe: *** [all] Error 2
C:\apps\arch\sharc>
------------------
go32-v2 output is
go32/v2 version 2.0 built Nov 15 1998 14:36:43
Usage: go32 coff-image [args]
Rename this to go32.exe only if you need a go32 that can run v2 binaries as
well as v1 binaries (old makefiles). Put ahead of the old go32 in your
PATH
but do not delete your old go32 - leave it in the PATH after this one.
Set GO32_V2_DEBUG=y in the environment to get verbose output.
DPMI memory available: 85692 Kb
DPMI swap space available: 41652 Kb
Can anyone help? Thanks.
Regards
Ya'qub
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |