Search the web
Sign In
New User? Sign Up
amithlondev · Amithlon-Dev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Amithlon x86 cross-compiler   Message List  
Reply | Forward Message #192 of 313 |
Re: [amithlondev] Re: Re: Re: Amithlon x86 cross-compiler

info@... (vmconline) wrote on 05.07.2003:

Hi!

> a.) no file access visible from gcc
>
> Gcc uses ixemul.library that internaly do the things on dos packet
> level, so you will see the ongoing stuff with dos packet sniffer.
> (latest snoopdos can do that fine)

Yes, I forgot about the packet monitor.
Annother reason to avoid ixemul...

And yes, the includes are loaded.

> b.) bsdsocket access from gcc?
>
> That is comming from ixemul also, see in your ixprefs, there is some
> extra checkmark to "enable" ixemul network support. If you disable it
> there, i think you will not see the bsdsocket open anymore in log.

I downloaded ixprefs, set it to "no networking" and it's gone.

> hope this helps a bit :)

Yes, you successfully eliminated the only two "problems"
that were obvious to me. :-)
Now I still don't have a clue why the Amithlon GCC refuses
to compile my source.

Okay, insert coin, try again.

At first I replaced the broken includes with the less broken
includes from the other GCC only keeping the special inlines.

Btw. - does anyone here by chance have the x86 inlines
for Reqtools, XFD and XPK?
When everything else works this must be the next show-stopper...

Neuer Shell-Prozess 9
9.BSE:DM2_at_work/DM2source> make -f makefile_x86
GG:bin/i686be-amithlon-gcc -noixemul -r -O1 -fomit-frame-pointer -W -Wall
-Wstrict-prototypes -Wshadow -Werror-im
plicit-function-declaration -c DMLocale.c -o obj_x86/DMLocale.o
In file included from DMLocale.c:10:
DM.h:711: parse error before `StringHook'
DM.h:711: warning: type defaults to `int' in declaration of `StringHook'
DM.h:711: warning: data definition has no type or storage class
DMLocale.c: In function `OpenDM2Catalog':
DMLocale.c:97: warning: initialization makes integer from pointer without a cast
make: *** [obj_x86/DMLocale.o] Error 1
9.BSE:DM2_at_work/DM2source>

Line 711 of DM.h:

ULONG SAVEDS StringHook(struct Hook *hk,struct SGWork *swork,ULONG *msg);

Line 96ff of DMLocale.c:

if ((DM2Catalog = OpenCatalog(NULL, (STRPTR) "DM2.catalog",
OC_BuiltInLanguage, "english",
OC_Version, 1,
TAG_DONE)))

I just don't get it.
SAS-C compiles it.
GCC for 68k compiles it.
Even VBCC compiles it.
All three without warning.

And DMLocale.c is only my flexcat-generated locales source-file.

Now I could start to toy around with my source to make it
compatible with this GCC.
But I prefer to believe that something is missing in my
compiler enviroment, something vital...

Regards - Rudolph



Sun Jul 6, 2003 3:10 pm

rudolph_riedel
Offline Offline
Send Email Send Email

Forward
Message #192 of 313 |
Expand Messages Author Sort by Date

Hi! I just unpacked x86-ami-gcc.lha from Aminet. My question is now - where do I get AmigaOS includes for it or rather how do I convert the includes from...
rudolph-riedel@...
rudolph_riedel
Offline Send Email
Jan 17, 2003
12:43 pm

... You use the gg-fix-includes script that is included in the fd2inline package. I don't know if it's been ported to AmigaOS, though. If not, you'll have to...
Martin Blom
leviticus_mb
Offline Send Email
Jan 23, 2003
9:16 am

... all fixed includes are on my homepage http://www.fighter.w.pl/FFF_HP/ regards <sb>.oO #Fighter# o #http://www.fighter.w.pl# o #mailto:fighter@...# Oo. ...
Fighter For Future
qrwamaca@...
Send Email
Jun 26, 2003
11:11 am

qrwamaca@... (Fighter For Future) wrote on 26.06.2003: Hello! ... I just tried it, had a hard time finding it, your page is not English... You should...
rudolph-riedel@...
rudolph_riedel
Offline Send Email
Jun 26, 2003
10:09 pm

Hello! rudolph-riedel@... On 26.06.03 i got a letter with subject Re: [amithlondev] Re: Amithlon x86 cross-compiler ... sorry for that, i just put it...
Fighter For Future
qrwamaca
Offline Send Email
Jun 26, 2003
10:36 pm

qrwamaca@... (Fighter For Future) wrote on 27.06.2003: Hi! ... Don't feel sorry, I found it anyways as your page is well structured. :-) ... The includes,...
rudolph-riedel@...
rudolph_riedel
Offline Send Email
Jun 27, 2003
10:26 pm

... You need to use the '-r' flag too. -- ... Eccl 1:18 http://martin.blom.org/...
Martin Blom
leviticus_mb
Offline Send Email
Jun 27, 2003
6:15 am

martin@... (Martin Blom) wrote on 27.06.2003: Hi! ... Thank you. I don't know if the binary works but I get one now. So I created an adapted makefile_x86...
rudolph-riedel@...
rudolph_riedel
Offline Send Email
Jun 27, 2003
10:26 pm

... Well, yes, an ix86 CPU has no Dx/Ax registers ... ... Most of the time, it's enough to use the HookEntry function from libamiga.a. -- ... Eccl 1:18...
Martin Blom
leviticus_mb
Offline Send Email
Jul 1, 2003
10:56 am

martin@... (Martin Blom) wrote on 01.07.2003: Hello! ... Yes, thank you, I did not know this function. With this it's a compiler problem - nice. :-) But I...
rudolph-riedel@...
rudolph_riedel
Offline Send Email
Jul 1, 2003
9:20 pm

amithlondev@yahoogroups.com wrote on 01.07.2003: Hi! ... Problem is, the GCC_x86 does not even try to open any includes. SnoopDos reveils that there is not...
rudolph-riedel@...
rudolph_riedel
Offline Send Email
Jul 2, 2003
9:54 pm

... qsort is in stdlib.h. Perhaps some other SAS/C include file is including stdlib.h "automatically" for you and you didn't notice? -- ... Eccl 1:18...
Martin Blom
leviticus_mb
Offline Send Email
Jul 5, 2003
2:28 pm

martin@... (Martin Blom) wrote on 05.07.2003: Hello! ... Nope, I have one single .h file for my whole project and the includes go like this: #include...
rudolph-riedel@...
rudolph_riedel
Offline Send Email
Jul 5, 2003
7:15 pm

... Hello Rudolph, ok i think i can help you somewhat with your questions: a.) no file access visible from gcc Gcc uses ixemul.library that internaly do the...
vmconline
Offline Send Email
Jul 5, 2003
9:50 pm

info@... (vmconline) wrote on 05.07.2003: Hi! ... Yes, I forgot about the packet monitor. Annother reason to avoid ixemul... And yes, the includes are...
rudolph-riedel@...
rudolph_riedel
Offline Send Email
Jul 6, 2003
10:18 am

Hello rudolph-riedel@..., ... SAVEDS is not defined or wrong. ... (ULONG) "english" Regards. -- Stephan Rupprecht - Dortmund, Germany ...
mail@...
Send Email
Jul 6, 2003
10:51 am

... Oh. Note to self: read all messages before answering one. :-) -- ... Eccl 1:18 http://martin.blom.org/...
Martin Blom
leviticus_mb
Offline Send Email
Jul 6, 2003
11:58 am

mail@... wrote on 06.07.2003: Hi! ... No, at first this would affect the other compilers, too. I have this at the top of DM.h: #ifdef __SASC #...
rudolph-riedel@...
rudolph_riedel
Offline Send Email
Jul 6, 2003
12:51 pm

Hello rudolph-riedel@..., ... Then the keyword is not supported by your version of gcc (as Martin already pointed out). ... Wrong prototype or missing...
mail@...
Send Email
Jul 6, 2003
1:16 pm

... What is SAVEDS defined to? The ix86be version of gcc cannot handle base relative or resident code at all, so make sure SAVEDS is defined as nothing. ... If...
Martin Blom
leviticus_mb
Offline Send Email
Jul 6, 2003
11:57 am

martin@... (Martin Blom) wrote on 06.07.2003: Hi! ... Ah, so indeed it was defined wrong. Thank you. Now it looks like this: #ifdef __SASC # define...
rudolph-riedel@...
rudolph_riedel
Offline Send Email
Jul 6, 2003
4:04 pm

Wazzup! rudolph-riedel@... ... Can I find an updated version with this fixes ? With regards -- All wiyht. Rho sritched mg kegtops awound?...
TigerGutt
tigergud
Offline Send Email
Jul 6, 2003
7:34 pm

Wazzup! Fighter ... How about an simpel install package ? With regards...
TigerGutt
tigergud
Offline Send Email
Jul 2, 2003
9:38 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help